Class: Gtk::Border

Inherits:
Object
  • Object
show all
Defined in:
lib/gtk3/border.rb

Instance Method Summary collapse

Constructor Details

#initialize(left, right, top, bottom) ⇒ Border

Returns a new instance of Border.



20
21
22
23
24
25
26
# File 'lib/gtk3/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_rawObject



19
# File 'lib/gtk3/border.rb', line 19

alias_method :initialize_raw, :initialize