|
| ConstraintLayout (ConstraintLayout &&src) noexcept |
|
ConstraintLayout & | operator= (ConstraintLayout &&src) noexcept |
|
| ~ConstraintLayout () noexcept override |
|
GtkConstraintLayout * | gobj () |
| Provides access to the underlying C GObject.
|
|
const GtkConstraintLayout * | gobj () const |
| Provides access to the underlying C GObject.
|
|
GtkConstraintLayout * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
void | add_constraint (const Glib::RefPtr< Constraint > &constraint) |
| Adds a constraint to the layout manager.
|
|
void | remove_constraint (const Glib::RefPtr< Constraint > &constraint) |
| Removes constraint from the layout manager, so that it no longer influences the layout.
|
|
void | remove_all_constraints () |
| Removes all constraints from the layout manager.
|
|
void | add_guide (const Glib::RefPtr< ConstraintGuide > &guide) |
| Adds a guide to layout .
|
|
void | remove_guide (const Glib::RefPtr< ConstraintGuide > &guide) |
| Removes guide from the layout manager, so that it no longer influences the layout.
|
|
std::vector< Glib::RefPtr< Constraint > > | add_constraints_from_description (const std::vector< Glib::ustring > &lines, int hspacing, int vspacing, const VFLmap &views) |
| Creates a list of constraints from a formal description using a compact description syntax called VFL, or "Visual Format Language".
|
|
Glib::RefPtr< Gio::ListModel > | observe_constraints () |
| Returns a Gio::ListModel to track the constraints that are part of the layout.
|
|
Glib::RefPtr< const Gio::ListModel > | observe_constraints () const |
| Returns a Gio::ListModel to track the constraints that are part of the layout.
|
|
Glib::RefPtr< Gio::ListModel > | observe_guides () |
| Returns a Gio::ListModel to track the guides that are part of the layout.
|
|
Glib::RefPtr< const Gio::ListModel > | observe_guides () const |
| Returns a Gio::ListModel to track the guides that are part of the layout.
|
|
| 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 |
|
| Buildable (Buildable &&src) noexcept |
|
Buildable & | operator= (Buildable &&src) noexcept |
|
| ~Buildable () noexcept override |
|
GtkBuildable * | gobj () |
| Provides access to the underlying C GObject.
|
|
const GtkBuildable * | gobj () const |
| Provides access to the underlying C GObject.
|
|
Glib::ustring | get_buildable_id () const |
| Gets the ID of the buildable object.
|
|
| 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 |
|
A layout manager using constraints.
ConstraintLayout is a layout manager that uses relations between widget attributes, expressed via Gtk::Constraint instances, to measure and allocate widgets.
See the description of GtkConstraintLayout in GTK for a detailed description of how constraints work.
- Since gtkmm 3.96: