Class: Gtk::ScrolledWindow

Inherits:
Object
  • Object
show all
Defined in:
lib/gtk4/scrolled-window.rb

Instance Method Summary collapse

Constructor Details

#initialize(hadjustment = nil, vadjustment = nil) ⇒ ScrolledWindow

Returns a new instance of ScrolledWindow.



20
21
22
23
24
# File 'lib/gtk4/scrolled-window.rb', line 20

def initialize(hadjustment=nil, vadjustment=nil)
  initialize_raw
  set_hadjustment(hadjustment) if hadjustment
  set_vadjustment(vadjustment) if vadjustment
end

Instance Method Details

#initialize_rawObject



19
# File 'lib/gtk4/scrolled-window.rb', line 19

alias_method :initialize_raw, :initialize