|
| BinLayout (BinLayout&& src) noexcept |
|
BinLayout& | operator= (BinLayout&& src) noexcept |
|
| ~BinLayout () noexcept override |
|
GtkBinLayout* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GtkBinLayout* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GtkBinLayout* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. 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 GtkWidget using the given GtkLayoutManager . More...
|
|
const Widget* | get_widget () const |
| Retrieves the GtkWidget using the given GtkLayoutManager . More...
|
|
void | layout_changed () |
| Queues a resize on the GtkWidget using manager, if any. More...
|
|
Glib::RefPtr< LayoutChild > | get_layout_child (Widget& child) |
| Retrieves a GtkLayoutChild instance for the GtkLayoutManager , creating one if necessary. More...
|
|
Glib::RefPtr< const LayoutChild > | get_layout_child (Widget& child) const |
| Retrieves a GtkLayoutChild instance for the GtkLayoutManager , creating one if necessary. More...
|
|
A layout manager for bin-like widgets.
Gtk::BinLayout is a Gtk::LayoutManager subclass useful for creating "bins" of widgets. Gtk::BinLayout will stack each child of a widget on top of each other, using Gtk::Widget::property_hexpand(), Gtk::Widget::property_vexpand(), Gtk::Widget::property_halign(), and Gtk::Widget::property_valign() of each child to determine where they should be positioned.
- Since gtkmm 3.96: