Class: Gtk::ScrolledWindow
- Inherits:
-
Object
- Object
- Gtk::ScrolledWindow
- Defined in:
- lib/gtk4/scrolled-window.rb
Instance Method Summary collapse
-
#initialize(hadjustment = nil, vadjustment = nil) ⇒ ScrolledWindow
constructor
A new instance of ScrolledWindow.
- #initialize_raw ⇒ Object
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_raw ⇒ Object
19 |
# File 'lib/gtk4/scrolled-window.rb', line 19 alias_method :initialize_raw, :initialize |