#include <widget.h>
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< Widget > | create (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::Widget > | wrap (GooCanvasWidget *object, bool take_copy=false) |
A Glib::wrap() method for this object. |
virtual Goocanvas::Widget::~Widget | ( | ) | [virtual] |
Goocanvas::Widget::Widget | ( | Gtk::Widget & | widget, | |
double | x, | |||
double | y, | |||
double | width = -1 , |
|||
double | height = -1 | |||
) | [protected] |
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] |
const GooCanvasWidget* Goocanvas::Widget::gobj | ( | ) | const [inline] |
GooCanvasWidget* Goocanvas::Widget::gobj | ( | ) | [inline] |
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Glib::RefPtr< Goocanvas::Widget > wrap | ( | GooCanvasWidget * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
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. |