This is an abstract for a set of utility widgets that lack a physical window. They do have alignment and padding within their defined space.
Without a window, widgets of this type cannot capture events. To capture events place in Gtk::EventBox.
|
Public Member Functions |
virtual | ~Misc () |
GtkMisc* | gobj () |
| Provides access to the underlying C GtkObject.
|
const GtkMisc* | gobj () const |
| Provides access to the underlying C GtkObject.
|
void | set_alignment (float xalign=0.0, float yalign=0.5) |
void | set_alignment (AlignmentEnum xalign=Gtk::ALIGN_LEFT, AlignmentEnum yalign=Gtk::ALIGN_CENTER) |
void | get_alignment (float& xalign, float& yalign) const |
| Gets the X and Y alignment of the widget within its allocation.
|
void | set_padding (int xpad, int ypad) |
void | get_padding (int& xpad, int& ypad) const |
| Gets the padding in the X and Y directions of the widget.
|
Glib::PropertyProxy<float> | property_xalign () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<float> | property_yalign () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<int> | property_xpad () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<int> | property_ypad () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Protected Member Functions |
| Misc () |
Related Functions |
(Note that these are not member functions.)
|
Gtk::Misc* | wrap (GtkMisc* object, bool take_copy=false) |