Class: TkComponent::Builder::VScrollbar

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



431
432
433
# File 'lib/tk_component/builder/tk_item.rb', line 431

def linked_scroll_command
  :yscrollcommand
end

#linked_scroll_eventObject



435
436
437
# File 'lib/tk_component/builder/tk_item.rb', line 435

def linked_scroll_event
  :set
end

#orientObject



423
424
425
# File 'lib/tk_component/builder/tk_item.rb', line 423

def orient
  'vertical'
end

#scroll_commandObject



427
428
429
# File 'lib/tk_component/builder/tk_item.rb', line 427

def scroll_command
  :yview
end