Goocanvas::Widget Class Reference

#include <widget.h>

Inheritance diagram for Goocanvas::Widget:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~Widget ()
GooCanvasWidget * gobj ()
 Provides access to the underlying C GObject.
const GooCanvasWidget * gobj () const
 Provides access to the underlying C GObject.
GooCanvasWidget * 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
< Gtk::Widget * > 
property_widget ()
 The widget to place in the canvas.
Glib::PropertyProxy_ReadOnly
< Gtk::Widget * > 
property_widget () const
 The widget to place in the canvas.
Glib::PropertyProxy< double > property_x ()
 The x coordinate of the widget.
Glib::PropertyProxy_ReadOnly
< double > 
property_x () const
 The x coordinate of the widget.
Glib::PropertyProxy< double > property_y ()
 The y coordinate of the widget.
Glib::PropertyProxy_ReadOnly
< double > 
property_y () const
 The y coordinate of the widget.
Glib::PropertyProxy< double > property_width ()
 The width of the widget.
Glib::PropertyProxy_ReadOnly
< double > 
property_width () const
 The width of the widget.
Glib::PropertyProxy< double > property_height ()
 The height of the widget.
Glib::PropertyProxy_ReadOnly
< double > 
property_height () const
 The height of the widget.
Glib::PropertyProxy
< Gtk::AnchorType > 
property_anchor ()
 How to position the widget relative to the item's x and y coordinate settings.
Glib::PropertyProxy_ReadOnly
< Gtk::AnchorType > 
property_anchor () const
 How to position the widget relative to the item's x and y coordinate settings.

Static Public Member Functions

static Glib::RefPtr< Widgetcreate (Gtk::Widget &widget, double x=0.0, double y=0.0, double width=0.0, double height=0.0)

Protected Member Functions

 Widget (Gtk::Widget &widget, double x, double y, double width=-1, double height=-1)

Related Functions

(Note that these are not member functions.)

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


Constructor & Destructor Documentation

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

Goocanvas::Widget::Widget ( Gtk::Widget &  widget,
double  x,
double  y,
double  width = -1,
double  height = -1 
) [protected]


Member Function Documentation

GooCanvasWidget* Goocanvas::Widget::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Goocanvas::ItemSimple.

const GooCanvasWidget* Goocanvas::Widget::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Goocanvas::ItemSimple.

GooCanvasWidget* Goocanvas::Widget::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::ItemSimple.

static Glib::RefPtr<Widget> Goocanvas::Widget::create ( Gtk::Widget &  widget,
double  x = 0.0,
double  y = 0.0,
double  width = 0.0,
double  height = 0.0 
) [static]

Glib::PropertyProxy<Gtk::Widget*> Goocanvas::Widget::property_widget (  ) 

The widget to place in the canvas.

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<Gtk::Widget*> Goocanvas::Widget::property_widget (  )  const

The widget to place in the canvas.

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::Widget::property_x (  ) 

The x coordinate of the widget.

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::Widget::property_x (  )  const

The x coordinate of the widget.

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::Widget::property_y (  ) 

The y coordinate of the widget.

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::Widget::property_y (  )  const

The y coordinate of the widget.

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::Widget::property_width (  ) 

The width of the widget.

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::Widget::property_width (  )  const

The width of the widget.

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::Widget::property_height (  ) 

The height of the widget.

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::Widget::property_height (  )  const

The height of the widget.

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<Gtk::AnchorType> Goocanvas::Widget::property_anchor (  ) 

How to position the widget relative to the item's x and y coordinate settings.

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<Gtk::AnchorType> Goocanvas::Widget::property_anchor (  )  const

How to position the widget relative to the item's x and y coordinate settings.

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::Widget > wrap ( GooCanvasWidget *  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 Wed Sep 3 02:53:30 2008 for goocanvasmm by  doxygen 1.5.6