|
| GridLayout (GridLayout &&src) noexcept |
|
GridLayout & | operator= (GridLayout &&src) noexcept |
|
| ~GridLayout () noexcept override |
|
GtkGridLayout * | gobj () |
| Provides access to the underlying C GObject.
|
|
const GtkGridLayout * | gobj () const |
| Provides access to the underlying C GObject.
|
|
GtkGridLayout * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
void | set_row_homogeneous (bool homogeneous=true) |
| Sets whether all rows of grid should have the same height.
|
|
bool | get_row_homogeneous () const |
| Checks whether all rows of grid should have the same height.
|
|
void | set_row_spacing (guint spacing) |
| Sets the amount of space to insert between consecutive rows.
|
|
guint | get_row_spacing () const |
| Retrieves the spacing set with set_row_spacing().
|
|
void | set_column_homogeneous (bool homogeneous=true) |
| Sets whether all columns of grid should have the same width.
|
|
bool | get_column_homogeneous () const |
| Checks whether all columns of grid should have the same width.
|
|
void | set_column_spacing (guint spacing) |
| Sets the amount of space to insert between consecutive columns.
|
|
guint | get_column_spacing () const |
| Retrieves the spacing set with set_column_spacing().
|
|
void | set_row_baseline_position (int row, BaselinePosition pos) |
| Sets how the baseline should be positioned on row of the grid, in case that row is assigned more space than is requested.
|
|
BaselinePosition | get_row_baseline_position (int row) const |
| Returns the baseline position of row.
|
|
void | set_baseline_row (int row) |
| Sets which row defines the global baseline for the entire grid.
|
|
int | get_baseline_row () const |
| Retrieves the row set with set_baseline_row().
|
|
Glib::PropertyProxy< int > | property_row_spacing () |
| The amount of space between to consecutive rows.
|
|
Glib::PropertyProxy_ReadOnly< int > | property_row_spacing () const |
| The amount of space between to consecutive rows.
|
|
Glib::PropertyProxy< int > | property_column_spacing () |
| The amount of space between to consecutive columns.
|
|
Glib::PropertyProxy_ReadOnly< int > | property_column_spacing () const |
| The amount of space between to consecutive columns.
|
|
Glib::PropertyProxy< bool > | property_row_homogeneous () |
| Whether all the rows in the grid have the same height.
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_row_homogeneous () const |
| Whether all the rows in the grid have the same height.
|
|
Glib::PropertyProxy< bool > | property_column_homogeneous () |
| Whether all the columns in the grid have the same width.
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_column_homogeneous () const |
| Whether all the columns in the grid have the same width.
|
|
Glib::PropertyProxy< int > | property_baseline_row () |
| The row to align to the baseline, when GtkWidget:valign is set to Gtk::Align::BASELINE.
|
|
Glib::PropertyProxy_ReadOnly< int > | property_baseline_row () const |
| The row to align to the baseline, when GtkWidget:valign is set to Gtk::Align::BASELINE.
|
|
| LayoutManager (LayoutManager &&src) noexcept |
|
LayoutManager & | operator= (LayoutManager &&src) noexcept |
|
| ~LayoutManager () noexcept override |
|
GtkLayoutManager * | gobj () |
| Provides access to the underlying C GObject.
|
|
const GtkLayoutManager * | gobj () const |
| Provides access to the underlying C GObject.
|
|
GtkLayoutManager * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
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.
|
|
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.
|
|
SizeRequestMode | get_request_mode () const |
| Retrieves the request mode of manager.
|
|
Widget * | get_widget () |
| Retrieves the Gtk::Widget using the given Gtk::LayoutManager .
|
|
const Widget * | get_widget () const |
| Retrieves the Gtk::Widget using the given Gtk::LayoutManager .
|
|
void | layout_changed () |
| Queues a resize on the Gtk::Widget using manager, if any.
|
|
Glib::RefPtr< LayoutChild > | get_layout_child (Widget &child) |
| Retrieves a Gtk::LayoutChild instance for the Gtk::LayoutManager , creating one if necessary.
|
|
Glib::RefPtr< const LayoutChild > | get_layout_child (Widget &child) const |
| Retrieves a Gtk::LayoutChild instance for the Gtk::LayoutManager , creating one if necessary.
|
|
| 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 |
|
Layout manager for grid-like widgets.
Gtk::GridLayout is a layout manager which arranges child widgets in rows and columns, with arbitrary positions and horizontal/vertical spans.
Children have an "attach point" defined by the horizontal and vertical index of the cell they occupy; children can span multiple rows or columns. The layout properties for setting the attach points and spans are set using the Gtk::GridLayoutChild associated to each child widget.
The behaviour of Gtk::Grid when several children occupy the same grid cell is undefined.
Gtk::GridLayout can be used like a Gtk::BoxLayout if all children are attached to the same row or column; however, if you only ever need a single row or column, you should consider using Gtk::BoxLayout.
- Since gtkmm 3.96: