Method: Gtk::Table#attach

Defined in:
lib/gtk3/table.rb

#attach(child, left, right, top, bottom, x_options = nil, y_options = nil, x_space = nil, y_space = nil) ⇒ Object



33
34
35
36
37
38
39
40
41
# File 'lib/gtk3/table.rb', line 33

def attach(child, left, right, top, bottom,
           x_options=nil, y_options=nil,
           x_space=nil, y_space=nil)
  attach_raw(child, left, right, top, bottom,
             x_options || [:expand, :fill],
             y_options || [:expand, :fill],
             x_space || 0,
             y_space || 0)
end