Goocanvas::RectModel Class Reference

#include <rectmodel.h>

Inheritance diagram for Goocanvas::RectModel:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~RectModel ()
GooCanvasRectModel * gobj ()
 Provides access to the underlying C GObject.
const GooCanvasRectModel * gobj () const
 Provides access to the underlying C GObject.
GooCanvasRectModel * gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::PropertyProxy< double > property_height ()
 The height of the rectangle.
Glib::PropertyProxy_ReadOnly
< double > 
property_height () const
 The height of the rectangle.
Glib::PropertyProxy< double > property_radius_x ()
 The horizontal radius to use for rounded corners.
Glib::PropertyProxy_ReadOnly
< double > 
property_radius_x () const
 The horizontal radius to use for rounded corners.
Glib::PropertyProxy< double > property_radius_y ()
 The vertical radius to use for rounded corners.
Glib::PropertyProxy_ReadOnly
< double > 
property_radius_y () const
 The vertical radius to use for rounded corners.
Glib::PropertyProxy< double > property_width ()
 The width of the rectangle.
Glib::PropertyProxy_ReadOnly
< double > 
property_width () const
 The width of the rectangle.
Glib::PropertyProxy< double > property_x ()
 The x coordinate of the rectangle.
Glib::PropertyProxy_ReadOnly
< double > 
property_x () const
 The x coordinate of the rectangle.
Glib::PropertyProxy< double > property_y ()
 The y coordinate of the rectangle.
Glib::PropertyProxy_ReadOnly
< double > 
property_y () const
 The y coordinate of the rectangle.

Static Public Member Functions

static Glib::RefPtr< RectModelcreate (double x, double y, double width, double height)

Protected Member Functions

 RectModel (double x, double y, double width, double height)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr
< Goocanvas::RectModel
wrap (GooCanvasRectModel *object, bool take_copy=false)
 A Glib::wrap() method for this object.


Constructor & Destructor Documentation

virtual Goocanvas::RectModel::~RectModel (  )  [virtual]

Goocanvas::RectModel::RectModel ( double  x,
double  y,
double  width,
double  height 
) [protected]


Member Function Documentation

static Glib::RefPtr<RectModel> Goocanvas::RectModel::create ( double  x,
double  y,
double  width,
double  height 
) [static]

const GooCanvasRectModel* Goocanvas::RectModel::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Goocanvas::ItemModelSimple.

GooCanvasRectModel* Goocanvas::RectModel::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Goocanvas::ItemModelSimple.

GooCanvasRectModel* Goocanvas::RectModel::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Reimplemented from Goocanvas::ItemModelSimple.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::RectModel::property_height (  )  const

The height of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::RectModel::property_height (  ) 

The height of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::RectModel::property_radius_x (  )  const

The horizontal radius to use for rounded corners.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::RectModel::property_radius_x (  ) 

The horizontal radius to use for rounded corners.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::RectModel::property_radius_y (  )  const

The vertical radius to use for rounded corners.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::RectModel::property_radius_y (  ) 

The vertical radius to use for rounded corners.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::RectModel::property_width (  )  const

The width of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::RectModel::property_width (  ) 

The width of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::RectModel::property_x (  )  const

The x coordinate of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::RectModel::property_x (  ) 

The x coordinate of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::RectModel::property_y (  )  const

The y coordinate of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::RectModel::property_y (  ) 

The y coordinate of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.


Friends And Related Function Documentation

Glib::RefPtr< Goocanvas::RectModel > wrap ( GooCanvasRectModel *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated on Tue Feb 24 19:27:05 2009 for goocanvasmm by  doxygen 1.5.8