Gtk::Border
Class Methods
Gtk::Border.new(left, right, top, bottom)
-
Creates a new Gtk::Border
- Returns: a new Gtk::Border
Instance Methods
left
-
Gets the left value
- Returns: the left value
left=(val)
-
Sets the left value
- val: the left value(Integer)
- Returns: val
set_left(val)
-
Same as Gtk::Border#left=.
- val: the left value(Integer)
- Returns: self
right
-
Gets the right value
- Returns: the right value
right=(val)
-
Sets the right value
- val: the right value(Integer)
- Returns: val
set_right(val)
-
Same as Gtk::Border#right=.
- val: the right value(Integer)
- Returns: self
top
-
Gets the top value
- Returns: the top value
top=(val)
-
Sets the top value
- val: the top value(Integer)
- Returns: val
set_top(val)
-
Same as Gtk::Border#top=.
- val: the top value(Integer)
- Returns: self
bottom
-
Gets the bottom value
- Returns: the bottom value
bottom=(val)
-
Sets the bottom value
- val: the bottom value(Integer)
- Returns: val
set_bottom(val)
-
Same as Gtk::Border#bottom=.
- val: the bottom value(Integer)
- Returns: self
to_a
-
Gets the border value as an Array: [left, right, top, bottom]
- Returns: [left, right, top, bottom]
Keyword(s):
References:[Gtk::Settings] [api-gtk-index] [Gtk::Border] [Gtk::Entry] [index-ruby-gtk2] [Ruby/GTK]