![]() |
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 | |
| void | get_alignment (float& xalign, float& yalign) const |
| Gets the X and Y alignment of the widget within its allocation. | |
| void | get_padding (int& xpad, int& ypad) const |
| Gets the padding in the X and Y directions of the widget. | |
| const GtkMisc* | gobj () const |
| Provides access to the underlying C GtkObject. | |
| GtkMisc* | gobj () |
| Provides access to the underlying C GtkObject. | |
| Glib::PropertyProxy_ReadOnly< float > | property_xalign () const |
| The horizontal alignment. | |
| Glib::PropertyProxy<float> | property_xalign () |
| The horizontal alignment. | |
| Glib::PropertyProxy_ReadOnly< int > | property_xpad () const |
| The amount of space to add on the left and right of the widget. | |
| Glib::PropertyProxy<int> | property_xpad () |
| The amount of space to add on the left and right of the widget. | |
| Glib::PropertyProxy_ReadOnly< float > | property_yalign () const |
| The vertical alignment. | |
| Glib::PropertyProxy<float> | property_yalign () |
| The vertical alignment. | |
| Glib::PropertyProxy_ReadOnly< int > | property_ypad () const |
| The amount of space to add on the top and bottom of the widget. | |
| Glib::PropertyProxy<int> | property_ypad () |
| The amount of space to add on the top and bottom of the widget. | |
| void | set_alignment (AlignmentEnum xalign=Gtk::ALIGN_LEFT, AlignmentEnum yalign=Gtk::ALIGN_CENTER) |
| void | set_alignment (float xalign=0.0, float yalign=0.5) |
| void | set_padding (int xpad, int ypad) |
| virtual | ~Misc () |
Protected Member Functions | |
| Misc () | |
Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::Misc* | wrap (GtkMisc* object, bool take_copy=false) |
|
|
|
|
|
|
|
||||||||||||
|
Gets the X and Y alignment of the widget within its allocation. See set_alignment().
|
|
||||||||||||
|
Gets the padding in the X and Y directions of the widget. See set_padding().
|
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Widget. Reimplemented in Gtk::AccelLabel, Gtk::Arrow, Gtk::Image, and Gtk::Label. |
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Widget. Reimplemented in Gtk::AccelLabel, Gtk::Arrow, Gtk::Image, and Gtk::Label. |
|
|
The horizontal alignment. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
The horizontal alignment. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
The amount of space to add on the left and right of the widget. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
The amount of space to add on the left and right of the widget. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
The vertical alignment. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
The vertical alignment. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
The amount of space to add on the top and bottom of the widget. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
The amount of space to add on the top and bottom of the widget. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|