| gtkmm 4.18.0
    | 
An invisible constraint target. More...
#include <gtkmm/constraintguide.h>

| Public Member Functions | |
| ConstraintGuide (ConstraintGuide && src) noexcept | |
| ConstraintGuide & | operator= (ConstraintGuide && src) noexcept | 
| ~ConstraintGuide () noexcept override | |
| GtkConstraintGuide * | gobj () | 
| Provides access to the underlying C GObject. | |
| const GtkConstraintGuide * | gobj () const | 
| Provides access to the underlying C GObject. | |
| GtkConstraintGuide * | 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_min_size (int width, int height) | 
| Sets the minimum size of guide. | |
| void | get_min_size (int & width, int & height) const | 
| Gets the minimum size of guide. | |
| void | set_nat_size (int width, int height) | 
| Sets the natural size of guide. | |
| void | get_nat_size (int & width, int & height) const | 
| Gets the natural size of guide. | |
| void | set_max_size (int width, int height) | 
| Sets the maximum size of guide. | |
| void | get_max_size (int & width, int & height) const | 
| Gets the maximum size of guide. | |
| void | set_strength (Constraint::Strength strength) | 
| Sets the strength of the constraint on the natural size of the given Gtk::ConstraintGuide. | |
| Constraint::Strength | get_strength () const | 
| Retrieves the strength set using set_strength(). | |
| void | set_name (const Glib::ustring & name) | 
| Sets a name for the given Gtk::ConstraintGuide. | |
| Glib::ustring | get_name () const | 
| Retrieves the name set using set_name(). | |
| Glib::PropertyProxy< int > | property_min_width () | 
| The minimum width of the guide. | |
| Glib::PropertyProxy_ReadOnly< int > | property_min_width () const | 
| The minimum width of the guide. | |
| Glib::PropertyProxy< int > | property_min_height () | 
| The minimum height of the guide. | |
| Glib::PropertyProxy_ReadOnly< int > | property_min_height () const | 
| The minimum height of the guide. | |
| Glib::PropertyProxy< int > | property_nat_width () | 
| The preferred, or natural, width of the guide. | |
| Glib::PropertyProxy_ReadOnly< int > | property_nat_width () const | 
| The preferred, or natural, width of the guide. | |
| Glib::PropertyProxy< int > | property_nat_height () | 
| The preferred, or natural, height of the guide. | |
| Glib::PropertyProxy_ReadOnly< int > | property_nat_height () const | 
| The preferred, or natural, height of the guide. | |
| Glib::PropertyProxy< int > | property_max_width () | 
| The maximum width of the guide. | |
| Glib::PropertyProxy_ReadOnly< int > | property_max_width () const | 
| The maximum width of the guide. | |
| Glib::PropertyProxy< int > | property_max_height () | 
| The maximum height of the guide. | |
| Glib::PropertyProxy_ReadOnly< int > | property_max_height () const | 
| The maximum height of the guide. | |
| Glib::PropertyProxy< Constraint::Strength > | property_strength () | 
| The Gtk::ConstraintStrengthto be used for the constraint on the natural size of the guide. | |
| Glib::PropertyProxy_ReadOnly< Constraint::Strength > | property_strength () const | 
| The Gtk::ConstraintStrengthto be used for the constraint on the natural size of the guide. | |
| Glib::PropertyProxy< Glib::ustring > | property_name () | 
| A name that identifies the Gtk::ConstraintGuide, for debugging. | |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_name () const | 
| A name that identifies the Gtk::ConstraintGuide, for debugging. | |
|  Public Member Functions inherited from Glib::Object | |
| 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) | 
|  Public Member Functions inherited from Glib::ObjectBase | |
| 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 | 
|  Public Member Functions inherited from Gtk::ConstraintTarget | |
| ConstraintTarget (ConstraintTarget && src) noexcept | |
| ConstraintTarget & | operator= (ConstraintTarget && src) noexcept | 
| ~ConstraintTarget () noexcept override | |
| GtkConstraintTarget * | gobj () | 
| Provides access to the underlying C GObject. | |
| const GtkConstraintTarget * | gobj () const | 
| Provides access to the underlying C GObject. | |
|  Public Member Functions inherited from Glib::Interface | |
| 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 | 
| Static Public Member Functions | |
| static GType | get_type () | 
| Get the GType for this class, for use with the underlying GObject type system. | |
| static Glib::RefPtr< ConstraintGuide > | create () | 
|  Static Public Member Functions inherited from Gtk::ConstraintTarget | |
| static void | add_interface (GType gtype_implementer) | 
| static GType | get_type () | 
| Get the GType for this class, for use with the underlying GObject type system. | |
| Protected Member Functions | |
| ConstraintGuide () | |
|  Protected Member Functions inherited from Glib::Object | |
| Object () | |
| Object (const Glib::ConstructParams &construct_params) | |
| Object (GObject *castitem) | |
| ~Object () noexcept override | |
|  Protected Member Functions inherited from Glib::ObjectBase | |
| ObjectBase () | |
| ObjectBase (const char *custom_type_name) | |
| ObjectBase (const std::type_info &custom_type_info) | |
| ObjectBase (ObjectBase &&src) noexcept | |
| ObjectBase & | operator= (ObjectBase &&src) noexcept | 
| virtual | ~ObjectBase () noexcept=0 | 
| void | initialize (GObject *castitem) | 
| void | initialize_move (GObject *castitem, Glib::ObjectBase *previous_wrapper) | 
|  Protected Member Functions inherited from Gtk::ConstraintTarget | |
| ConstraintTarget () | |
| You should derive from this class to use it. | |
| Related Symbols | |
| (Note that these are not member symbols.) | |
| Glib::RefPtr< Gtk::ConstraintGuide > | wrap (GtkConstraintGuide * object, bool take_copy=false) | 
| A Glib::wrap() method for this object. | |
|  Related Symbols inherited from Gtk::ConstraintTarget | |
| Glib::RefPtr< Gtk::ConstraintTarget > | wrap (GtkConstraintTarget * object, bool take_copy=false) | 
| A Glib::wrap() method for this object. | |
| Additional Inherited Members | |
|  Public Types inherited from Glib::Object | |
| typedef void(*)(gpointer data | DestroyNotify) | 
An invisible constraint target.
A ConstraintGuide is an invisible layout element that can be used by widgets inside a Gtk::ConstraintLayout as a source or a target of a Gtk::Constraint. Guides can be used like guidelines or as flexible space.
Unlike a Gtk::Widget, a Gtk::ConstraintGuide will not be drawn.
| 
 | noexcept | 
| 
 | overridenoexcept | 
| 
 | protected | 
| 
 | static | 
| void Gtk::ConstraintGuide::get_max_size | ( | int & | width, | 
| int & | height ) const | 
Gets the maximum size of guide.
| width | Return location for the maximum width. | 
| height | Return location for the maximum height. | 
| void Gtk::ConstraintGuide::get_min_size | ( | int & | width, | 
| int & | height ) const | 
Gets the minimum size of guide.
| width | Return location for the minimum width. | 
| height | Return location for the minimum height. | 
| Glib::ustring Gtk::ConstraintGuide::get_name | ( | ) | const | 
Retrieves the name set using set_name().
| void Gtk::ConstraintGuide::get_nat_size | ( | int & | width, | 
| int & | height ) const | 
Gets the natural size of guide.
| width | Return location for the natural width. | 
| height | Return location for the natural height. | 
| Constraint::Strength Gtk::ConstraintGuide::get_strength | ( | ) | const | 
Retrieves the strength set using set_strength().
| 
 | static | 
Get the GType for this class, for use with the underlying GObject type system.
| 
 | inline | 
Provides access to the underlying C GObject.
| 
 | inline | 
Provides access to the underlying C GObject.
| GtkConstraintGuide * Gtk::ConstraintGuide::gobj_copy | ( | ) | 
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| 
 | noexcept | 
| Glib::PropertyProxy< int > Gtk::ConstraintGuide::property_max_height | ( | ) | 
The maximum height of the guide.
Default value: 2147483647
| Glib::PropertyProxy_ReadOnly< int > Gtk::ConstraintGuide::property_max_height | ( | ) | const | 
The maximum height of the guide.
Default value: 2147483647
| Glib::PropertyProxy< int > Gtk::ConstraintGuide::property_max_width | ( | ) | 
The maximum width of the guide.
Default value: 2147483647
| Glib::PropertyProxy_ReadOnly< int > Gtk::ConstraintGuide::property_max_width | ( | ) | const | 
The maximum width of the guide.
Default value: 2147483647
| Glib::PropertyProxy< int > Gtk::ConstraintGuide::property_min_height | ( | ) | 
The minimum height of the guide.
Default value: 0
| Glib::PropertyProxy_ReadOnly< int > Gtk::ConstraintGuide::property_min_height | ( | ) | const | 
The minimum height of the guide.
Default value: 0
| Glib::PropertyProxy< int > Gtk::ConstraintGuide::property_min_width | ( | ) | 
The minimum width of the guide.
Default value: 0
| Glib::PropertyProxy_ReadOnly< int > Gtk::ConstraintGuide::property_min_width | ( | ) | const | 
The minimum width of the guide.
Default value: 0
| Glib::PropertyProxy< Glib::ustring > Gtk::ConstraintGuide::property_name | ( | ) | 
A name that identifies the Gtk::ConstraintGuide, for debugging. 
Default value: ""
| Glib::PropertyProxy_ReadOnly< Glib::ustring > Gtk::ConstraintGuide::property_name | ( | ) | const | 
A name that identifies the Gtk::ConstraintGuide, for debugging. 
Default value: ""
| Glib::PropertyProxy< int > Gtk::ConstraintGuide::property_nat_height | ( | ) | 
The preferred, or natural, height of the guide.
Default value: 0
| Glib::PropertyProxy_ReadOnly< int > Gtk::ConstraintGuide::property_nat_height | ( | ) | const | 
The preferred, or natural, height of the guide.
Default value: 0
| Glib::PropertyProxy< int > Gtk::ConstraintGuide::property_nat_width | ( | ) | 
The preferred, or natural, width of the guide.
Default value: 0
| Glib::PropertyProxy_ReadOnly< int > Gtk::ConstraintGuide::property_nat_width | ( | ) | const | 
The preferred, or natural, width of the guide.
Default value: 0
| Glib::PropertyProxy< Constraint::Strength > Gtk::ConstraintGuide::property_strength | ( | ) | 
The Gtk::ConstraintStrength to be used for the constraint on the natural size of the guide. 
Default value: Gtk::Constraint::Strength::MEDIUM
| Glib::PropertyProxy_ReadOnly< Constraint::Strength > Gtk::ConstraintGuide::property_strength | ( | ) | const | 
The Gtk::ConstraintStrength to be used for the constraint on the natural size of the guide. 
Default value: Gtk::Constraint::Strength::MEDIUM
| void Gtk::ConstraintGuide::set_max_size | ( | int | width, | 
| int | height ) | 
Sets the maximum size of guide.
If guide is attached to a Gtk::ConstraintLayout, the constraints will be updated to reflect the new size.
| width | The new maximum width, or -1 to not change it. | 
| height | The new maximum height, or -1 to not change it. | 
| void Gtk::ConstraintGuide::set_min_size | ( | int | width, | 
| int | height ) | 
Sets the minimum size of guide.
If guide is attached to a Gtk::ConstraintLayout, the constraints will be updated to reflect the new size.
| width | The new minimum width, or -1 to not change it. | 
| height | The new minimum height, or -1 to not change it. | 
| void Gtk::ConstraintGuide::set_name | ( | const Glib::ustring & | name | ) | 
Sets a name for the given Gtk::ConstraintGuide. 
The name is useful for debugging purposes.
| name | A name for the guide. | 
| void Gtk::ConstraintGuide::set_nat_size | ( | int | width, | 
| int | height ) | 
Sets the natural size of guide.
If guide is attached to a Gtk::ConstraintLayout, the constraints will be updated to reflect the new size.
| width | The new natural width, or -1 to not change it. | 
| height | The new natural height, or -1 to not change it. | 
| void Gtk::ConstraintGuide::set_strength | ( | Constraint::Strength | strength | ) | 
Sets the strength of the constraint on the natural size of the given Gtk::ConstraintGuide. 
| strength | The strength of the constraint. | 
| 
 | 
A Glib::wrap() method for this object.
| object | The C instance. | 
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |