libgnomecanvasmm
Public Member Functions | Related Functions

Gnome::Canvas::Polygon Class Reference

#include <polygon.h>

Inheritance diagram for Gnome::Canvas::Polygon:
Gnome::Canvas::Shape Gnome::Canvas::Item Object

List of all members.

Public Member Functions

virtual ~Polygon ()
GnomeCanvasPolygon * gobj ()
 Provides access to the underlying C GtkObject.
const GnomeCanvasPolygon * gobj () const
 Provides access to the underlying C GtkObject.
 Polygon (Group &parent, const Points &points)
 Polygon (Group &parent)
Glib::PropertyProxy< Pointsproperty_points ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< Points
property_points () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Related Functions

(Note that these are not member functions.)
Gnome::Canvas::Polygonwrap (GnomeCanvasPolygon *object, bool take_copy=false)
 A Glib::wrap() method for this object.

Constructor & Destructor Documentation

virtual Gnome::Canvas::Polygon::~Polygon ( ) [virtual]
Gnome::Canvas::Polygon::Polygon ( Group parent,
const Points points 
)
Gnome::Canvas::Polygon::Polygon ( Group parent) [explicit]

Member Function Documentation

GnomeCanvasPolygon* Gnome::Canvas::Polygon::gobj ( ) [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gnome::Canvas::Shape.

const GnomeCanvasPolygon* Gnome::Canvas::Polygon::gobj ( ) const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gnome::Canvas::Shape.

Glib::PropertyProxy<Points> Gnome::Canvas::Polygon::property_points ( )

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<Points> Gnome::Canvas::Polygon::property_points ( ) const

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

Gnome::Canvas::Polygon * wrap ( GnomeCanvasPolygon *  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: