Class: Shoes::Native
Instance Attribute Summary collapse
-
#state ⇒ Object
Returns the value of attribute state.
Attributes inherited from Basic
#args, #cleared, #hided, #initials, #parent, #shows
Attributes included from Mod
#click_proc, #hover_proc, #hovered, #leave_proc, #margin_bottom, #margin_left, #margin_right, #margin_top, #release_proc
Instance Method Summary collapse
Methods inherited from Basic
#clear, #fix_size, #hide, #initialize, #move, #move2, #move3, #positioning, #remove, #show, #style, #toggle
Methods included from Mod
#click, #hover, #leave, #release, #set_margin
Constructor Details
This class inherits a constructor from Shoes::Basic
Instance Attribute Details
#state ⇒ Object
Returns the value of attribute state.
302 303 304 |
# File 'lib/shoes/basic.rb', line 302 def state @state end |
Instance Method Details
#change(obj, &blk) ⇒ Object
293 294 295 |
# File 'lib/shoes/basic.rb', line 293 def change obj, &blk obj.signal_connect "changed", &proc{parent.append{blk[self]}} if blk end |
#focus ⇒ Object
297 298 299 300 |
# File 'lib/shoes/basic.rb', line 297 def focus real.grab_focus @app.focus_ele = self end |