Class: Gtk::ConstraintGuide
- Inherits:
-
Object
- Object
- Gtk::ConstraintGuide
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#get_max_size(width, height) ⇒ nil
Gets the maximum size of guide.
-
#get_min_size(width, height) ⇒ nil
Gets the minimum size of guide.
-
#get_nat_size(width, height) ⇒ nil
Gets the natural size of guide.
-
#initialize ⇒ Gtk::ConstraintGuide
constructor
Creates a new
GtkConstraintGuideobject. -
#max_height ⇒ Integer
The maximum height of the guide.
-
#max_height=(max_height) ⇒ Integer
The maximum height of the guide.
-
#max_width ⇒ Integer
The maximum width of the guide.
-
#max_width=(max_width) ⇒ Integer
The maximum width of the guide.
-
#min_height ⇒ Integer
The minimum height of the guide.
-
#min_height=(min_height) ⇒ Integer
The minimum height of the guide.
-
#min_width ⇒ Integer
The minimum width of the guide.
-
#min_width=(min_width) ⇒ Integer
The minimum width of the guide.
-
#name ⇒ String
A name that identifies the
GtkConstraintGuide, for debugging. -
#name=(name) ⇒ String
A name that identifies the
GtkConstraintGuide, for debugging. -
#nat_height ⇒ Integer
The preferred, or natural, height of the guide.
-
#nat_height=(nat_height) ⇒ Integer
The preferred, or natural, height of the guide.
-
#nat_width ⇒ Integer
The preferred, or natural, width of the guide.
-
#nat_width=(nat_width) ⇒ Integer
The preferred, or natural, width of the guide.
-
#set_max_size(width, height) ⇒ nil
Sets the maximum size of guide.
-
#set_min_size(width, height) ⇒ nil
Sets the minimum size of guide.
-
#set_nat_size(width, height) ⇒ nil
Sets the natural size of guide.
-
#strength ⇒ Gtk::ConstraintStrength
The
GtkConstraintStrengthto be used for the constraint on the natural size of the guide. -
#strength=(strength) ⇒ Gtk::ConstraintStrength
The
GtkConstraintStrengthto be used for the constraint on the natural size of the guide.
Constructor Details
#initialize ⇒ Gtk::ConstraintGuide
Creates a new GtkConstraintGuide object.
Instance Method Details
#get_max_size(width, height) ⇒ nil
Gets the maximum size of guide.
#get_min_size(width, height) ⇒ nil
Gets the minimum size of guide.
#get_nat_size(width, height) ⇒ nil
Gets the natural size of guide.
#max_height ⇒ Integer
The maximum height of the guide.
#max_height=(max_height) ⇒ Integer
The maximum height of the guide.
#max_width ⇒ Integer
The maximum width of the guide.
#max_width=(max_width) ⇒ Integer
The maximum width of the guide.
#min_height ⇒ Integer
The minimum height of the guide.
#min_height=(min_height) ⇒ Integer
The minimum height of the guide.
#min_width ⇒ Integer
The minimum width of the guide.
#min_width=(min_width) ⇒ Integer
The minimum width of the guide.
#name ⇒ String
A name that identifies the GtkConstraintGuide, for debugging.
#name=(name) ⇒ String
A name that identifies the GtkConstraintGuide, for debugging.
#nat_height ⇒ Integer
The preferred, or natural, height of the guide.
#nat_height=(nat_height) ⇒ Integer
The preferred, or natural, height of the guide.
#nat_width ⇒ Integer
The preferred, or natural, width of the guide.
#nat_width=(nat_width) ⇒ Integer
The preferred, or natural, width of the guide.
#set_max_size(width, height) ⇒ nil
Sets the maximum size of guide.
If guide is attached to a GtkConstraintLayout,
the constraints will be updated to reflect the new size.
#set_min_size(width, height) ⇒ nil
Sets the minimum size of guide.
If guide is attached to a GtkConstraintLayout,
the constraints will be updated to reflect the new size.
#set_nat_size(width, height) ⇒ nil
Sets the natural size of guide.
If guide is attached to a GtkConstraintLayout,
the constraints will be updated to reflect the new size.
#strength ⇒ Gtk::ConstraintStrength
The GtkConstraintStrength to be used for the constraint on
the natural size of the guide.
#strength=(strength) ⇒ Gtk::ConstraintStrength
The GtkConstraintStrength to be used for the constraint on
the natural size of the guide.