Public Member Functions | Static Public Member Functions | Protected Member Functions | Related Functions

Goocanvas::RectModel Class Reference

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_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.

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]
GooCanvasRectModel* Goocanvas::RectModel::gobj (  ) [inline]

Provides access to the underlying C GObject.

Reimplemented from Goocanvas::ItemModelSimple.

const GooCanvasRectModel* Goocanvas::RectModel::gobj (  ) const [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<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_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_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.

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:
objectThe C instance.
take_copyFalse 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: