Class: Gtk::Border
- Inherits:
-
Object
- Object
- Gtk::Border
- Defined in:
- lib/gtk4/border.rb
Instance Method Summary collapse
-
#initialize(left, right, top, bottom) ⇒ Border
constructor
A new instance of Border.
- #initialize_raw ⇒ Object
Constructor Details
#initialize(left, right, top, bottom) ⇒ Border
Returns a new instance of Border.
20 21 22 23 24 25 26 |
# File 'lib/gtk4/border.rb', line 20 def initialize(left, right, top, bottom) initialize_raw self.left = left self.right = right self.top = top self.bottom = bottom end |
Instance Method Details
#initialize_raw ⇒ Object
19 |
# File 'lib/gtk4/border.rb', line 19 alias_method :initialize_raw, :initialize |