Class: TkComponent::Builder::HScrollbar

Inherits:
ScrollBar show all
Defined in:
lib/tk_component/builder/tk_item.rb

Instance Attribute Summary

Attributes inherited from TkItem

#native_item

Instance Method Summary collapse

Methods inherited from ScrollBar

#apply_option, #apply_options, #bind_linked_to, #set_event_handler, #set_event_handlers

Methods inherited from TkItem

#apply_internal_grid, #apply_option, #apply_options, #built, create, #create_native_item, #focus, #initialize, #native_item_class, #remove, #set_event_handler, #set_event_handlers, #set_grid

Constructor Details

This class inherits a constructor from TkComponent::Builder::TkItem

Instance Method Details

#linked_scroll_commandObject



413
414
415
# File 'lib/tk_component/builder/tk_item.rb', line 413

def linked_scroll_command
  :xscrollcommand
end

#linked_scroll_eventObject



417
418
419
# File 'lib/tk_component/builder/tk_item.rb', line 417

def linked_scroll_event
  :set
end

#orientObject



405
406
407
# File 'lib/tk_component/builder/tk_item.rb', line 405

def orient
  'horizontal'
end

#scroll_commandObject



409
410
411
# File 'lib/tk_component/builder/tk_item.rb', line 409

def scroll_command
  :xview
end