|
| BoxLayout (BoxLayout && src) noexcept |
|
BoxLayout & | operator= (BoxLayout && src) noexcept |
|
| ~BoxLayout () noexcept override |
|
GtkBoxLayout * | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GtkBoxLayout * | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GtkBoxLayout * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
void | set_homogeneous (bool homogeneous=true) |
| Sets whether the box layout will allocate the same size to all children. More...
|
|
bool | get_homogeneous () const |
| Returns whether the layout is set to be homogeneous. More...
|
|
void | set_spacing (guint spacing) |
| Sets how much spacing to put between children. More...
|
|
guint | get_spacing () const |
| Returns the space that box_layout puts between children. More...
|
|
void | set_baseline_position (BaselinePosition position) |
| Sets the baseline position of a box layout. More...
|
|
BaselinePosition | get_baseline_position () const |
| Gets the value set by set_baseline_position(). More...
|
|
void | set_baseline_child (int child) |
| Sets the index of the child that determines the baseline in vertical layout. More...
|
|
int | get_baseline_child () const |
| Gets the value set by set_baseline_child(). More...
|
|
Glib::PropertyProxy< bool > | property_homogeneous () |
| Whether the box layout should distribute the available space equally among the children. More...
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_homogeneous () const |
| Whether the box layout should distribute the available space equally among the children. More...
|
|
Glib::PropertyProxy< int > | property_spacing () |
| The space to put between the children. More...
|
|
Glib::PropertyProxy_ReadOnly< int > | property_spacing () const |
| The space to put between the children. More...
|
|
Glib::PropertyProxy< int > | property_baseline_child () |
| The child that determines the baseline of the box in vertical layout. More...
|
|
Glib::PropertyProxy_ReadOnly< int > | property_baseline_child () const |
| The child that determines the baseline of the box in vertical layout. More...
|
|
Glib::PropertyProxy< BaselinePosition > | property_baseline_position () |
| The position of the allocated baseline within the extra space allocated to each child. More...
|
|
Glib::PropertyProxy_ReadOnly< BaselinePosition > | property_baseline_position () const |
| The position of the allocated baseline within the extra space allocated to each child. More...
|
|
| LayoutManager (LayoutManager && src) noexcept |
|
LayoutManager & | operator= (LayoutManager && src) noexcept |
|
| ~LayoutManager () noexcept override |
|
GtkLayoutManager * | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GtkLayoutManager * | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GtkLayoutManager * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
void | measure (Widget & widget, Orientation orientation, int for_size, int & minimum, int & natural, int & minimum_baseline, int & natural_baseline) const |
| Measures the size of the widget using manager, for the given orientation and size. More...
|
|
void | allocate (Widget & widget, int width, int height, int baseline) |
| Assigns the given width, height, and baseline to a widget, and computes the position and sizes of the children of the widget using the layout management policy of manager. More...
|
|
SizeRequestMode | get_request_mode () const |
| Retrieves the request mode of manager. More...
|
|
Widget * | get_widget () |
| Retrieves the Gtk::Widget using the given Gtk::LayoutManager . More...
|
|
const Widget * | get_widget () const |
| Retrieves the Gtk::Widget using the given Gtk::LayoutManager . More...
|
|
void | layout_changed () |
| Queues a resize on the Gtk::Widget using manager, if any. More...
|
|
Glib::RefPtr< LayoutChild > | get_layout_child (Widget & child) |
| Retrieves a Gtk::LayoutChild instance for the Gtk::LayoutManager , creating one if necessary. More...
|
|
Glib::RefPtr< const LayoutChild > | get_layout_child (Widget & child) const |
| Retrieves a Gtk::LayoutChild instance for the Gtk::LayoutManager , creating one if necessary. More...
|
|
| Object (const Object &)=delete |
|
Object & | operator= (const Object &)=delete |
|
| Object (Object &&src) noexcept |
|
Object & | operator= (Object &&src) noexcept |
|
void * | get_data (const QueryQuark &key) |
|
void | set_data (const Quark &key, void *data) |
|
void | set_data_with_c_callback (const Quark &key, void *data, GDestroyNotify notify) |
|
void | set_data (const Quark &key, void *data, DestroyNotify notify) |
|
void | remove_data (const QueryQuark &quark) |
|
void * | steal_data (const QueryQuark &quark) |
|
Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false) |
|
| ObjectBase (const ObjectBase &)=delete |
|
ObjectBase & | operator= (const ObjectBase &)=delete |
|
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
|
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
|
void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
|
void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
|
PropertyType | get_property (const Glib::ustring &property_name) const |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void()> &slot) |
|
sigc::connection | connect_property_changed (const Glib::ustring &property_name, sigc::slot< void()> &&slot) |
|
void | freeze_notify () |
|
void | thaw_notify () |
|
virtual void | reference () const |
|
virtual void | unreference () const |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
GObject * | gobj_copy () const |
|
| trackable () noexcept |
|
| trackable (const trackable &src) noexcept |
|
| trackable (trackable &&src) noexcept |
|
| ~trackable () |
|
void | add_destroy_notify_callback (notifiable *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) noexcept |
|
void | remove_destroy_notify_callback (notifiable *data) const |
|
| Orientable (Orientable && src) noexcept |
|
Orientable & | operator= (Orientable && src) noexcept |
|
| ~Orientable () noexcept override |
|
GtkOrientable * | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GtkOrientable * | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
void | set_orientation (Orientation orientation) |
| Sets the orientation of the orientable. More...
|
|
Orientation | get_orientation () const |
| Retrieves the orientation of the orientable. More...
|
|
Glib::PropertyProxy< Orientation > | property_orientation () |
| The orientation of the orientable. More...
|
|
Glib::PropertyProxy_ReadOnly< Orientation > | property_orientation () const |
| The orientation of the orientable. More...
|
|
| Interface () |
|
| Interface (Interface &&src) noexcept |
|
Interface & | operator= (Interface &&src) noexcept |
|
| Interface (const Glib::Interface_Class &interface_class) |
|
| Interface (GObject *castitem) |
|
| ~Interface () noexcept override |
|
| Interface (const Interface &)=delete |
|
Interface & | operator= (const Interface &)=delete |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
Layout manager for placing all children in a single row or column.
A Gtk::BoxLayout is a layout manager that arranges the children of any widget using it into a single row or column, depending on the value of its Gtk::Orientable::property_orientation(). Within the other dimension all children all allocated the same size. The Gtk::BoxLayout will respect Gtk::Widget::property_halign() and Gtk::Widget::property_valign() of each child widget.
If you want all children to be assigned the same size, you can use property_homogeneous().
If you want to specify the amount of space placed between each child, you can use the property_spacing().
- Since gtkmm 3.96: