Class: Gtk::Alignment
- Inherits:
-
Object
- Object
- Gtk::Alignment
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#bottom_padding ⇒ Integer
The padding to insert at the bottom of the widget.
-
#bottom_padding=(bottom_padding) ⇒ Integer
The padding to insert at the bottom of the widget.
-
#get_padding(padding_top, padding_bottom, padding_left, padding_right) ⇒ nil
Gets the padding on the different sides of the widget.
-
#left_padding ⇒ Integer
The padding to insert at the left of the widget.
-
#left_padding=(left_padding) ⇒ Integer
The padding to insert at the left of the widget.
-
#new(xalign, yalign, xscale, yscale) ⇒ Gtk::Widget
Creates a new Gtk::Alignment.
-
#right_padding ⇒ Integer
The padding to insert at the right of the widget.
-
#right_padding=(right_padding) ⇒ Integer
The padding to insert at the right of the widget.
-
#set(xalign, yalign, xscale, yscale) ⇒ nil
Sets the Gtk::Alignment values.
-
#set_padding(padding_top, padding_bottom, padding_left, padding_right) ⇒ nil
Sets the padding on the different sides of the widget.
-
#top_padding ⇒ Integer
The padding to insert at the top of the widget.
-
#top_padding=(top_padding) ⇒ Integer
The padding to insert at the top of the widget.
-
#xalign ⇒ Gtk::gfloat
Horizontal position of child in available space.
-
#xalign=(xalign) ⇒ Gtk::gfloat
Horizontal position of child in available space.
-
#xscale ⇒ Gtk::gfloat
If available horizontal space is bigger than needed, how much of it to use for the child.
-
#xscale=(xscale) ⇒ Gtk::gfloat
If available horizontal space is bigger than needed, how much of it to use for the child.
-
#yalign ⇒ Gtk::gfloat
Vertical position of child in available space.
-
#yalign=(yalign) ⇒ Gtk::gfloat
Vertical position of child in available space.
-
#yscale ⇒ Gtk::gfloat
If available vertical space is bigger than needed, how much of it to use for the child.
-
#yscale=(yscale) ⇒ Gtk::gfloat
If available vertical space is bigger than needed, how much of it to use for the child.
Instance Method Details
#bottom_padding ⇒ Integer
The padding to insert at the bottom of the widget.
#bottom_padding=(bottom_padding) ⇒ Integer
The padding to insert at the bottom of the widget.
#get_padding(padding_top, padding_bottom, padding_left, padding_right) ⇒ nil
Gets the padding on the different sides of the widget. See gtk_alignment_set_padding ().
#left_padding ⇒ Integer
The padding to insert at the left of the widget.
#left_padding=(left_padding) ⇒ Integer
The padding to insert at the left of the widget.
#new(xalign, yalign, xscale, yscale) ⇒ Gtk::Widget
Creates a new Gtk::Alignment.
#right_padding ⇒ Integer
The padding to insert at the right of the widget.
#right_padding=(right_padding) ⇒ Integer
The padding to insert at the right of the widget.
#set(xalign, yalign, xscale, yscale) ⇒ nil
Sets the Gtk::Alignment values.
#set_padding(padding_top, padding_bottom, padding_left, padding_right) ⇒ nil
Sets the padding on the different sides of the widget. The padding adds blank space to the sides of the widget. For instance, this can be used to indent the child widget towards the right by adding padding on the left.
#top_padding ⇒ Integer
The padding to insert at the top of the widget.
#top_padding=(top_padding) ⇒ Integer
The padding to insert at the top of the widget.
#xalign ⇒ Gtk::gfloat
Horizontal position of child in available space. A value of 0.0 will flush the child left (or right, in RTL locales); a value of 1.0 will flush the child right (or left, in RTL locales).
#xalign=(xalign) ⇒ Gtk::gfloat
Horizontal position of child in available space. A value of 0.0 will flush the child left (or right, in RTL locales); a value of 1.0 will flush the child right (or left, in RTL locales).
#xscale ⇒ Gtk::gfloat
If available horizontal space is bigger than needed, how much of it to use for the child. A value of 0.0 means none; a value of 1.0 means all.
#xscale=(xscale) ⇒ Gtk::gfloat
If available horizontal space is bigger than needed, how much of it to use for the child. A value of 0.0 means none; a value of 1.0 means all.
#yalign ⇒ Gtk::gfloat
Vertical position of child in available space. A value of 0.0 will flush the child to the top; a value of 1.0 will flush the child to the bottom.
#yalign=(yalign) ⇒ Gtk::gfloat
Vertical position of child in available space. A value of 0.0 will flush the child to the top; a value of 1.0 will flush the child to the bottom.
#yscale ⇒ Gtk::gfloat
If available vertical space is bigger than needed, how much of it to use for the child. A value of 0.0 means none; a value of 1.0 means all.
#yscale=(yscale) ⇒ Gtk::gfloat
If available vertical space is bigger than needed, how much of it to use for the child. A value of 0.0 means none; a value of 1.0 means all.