Class: Alexandria::TreeViewOverrides::Context
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Alexandria::TreeViewOverrides::Context
 
 
- Defined in:
 - lib/alexandria/ui/multi_drag_treeview.rb,
lib/alexandria/ui/multi_drag_treeview.rb 
Instance Attribute Summary collapse
- 
  
    
      #button_press_handler  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute button_press_handler.
 - 
  
    
      #button_release_handler  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute button_release_handler.
 - 
  
    
      #cell_x  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute cell_x.
 - 
  
    
      #cell_y  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute cell_y.
 - 
  
    
      #drag_context  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute drag_context.
 - 
  
    
      #drag_data_get_handler  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute drag_data_get_handler.
 - 
  
    
      #events  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute events.
 - 
  
    
      #motion_notify_handler  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute motion_notify_handler.
 - 
  
    
      #pending_event  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute pending_event.
 - 
  
    
      #pressed_button  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute pressed_button.
 - 
  
    
      #source_actions  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute source_actions.
 - 
  
    
      #source_start_button_mask  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute source_start_button_mask.
 - 
  
    
      #source_targets  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute source_targets.
 - 
  
    
      #x  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute x.
 - 
  
    
      #y  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute y.
 
Instance Method Summary collapse
- 
  
    
      #initialize(*ary)  ⇒ Context 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Context.
 - #pending_event? ⇒ Boolean
 
Constructor Details
#initialize(*ary) ⇒ Context
Returns a new instance of Context.
      34 35 36 37  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 34 def initialize(*ary) super self.events ||= [] end  | 
  
Instance Attribute Details
#button_press_handler ⇒ Object
Returns the value of attribute button_press_handler
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def @button_press_handler end  | 
  
#button_release_handler ⇒ Object
Returns the value of attribute button_release_handler
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def @button_release_handler end  | 
  
#cell_x ⇒ Object
Returns the value of attribute cell_x
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def cell_x @cell_x end  | 
  
#cell_y ⇒ Object
Returns the value of attribute cell_y
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def cell_y @cell_y end  | 
  
#drag_context ⇒ Object
Returns the value of attribute drag_context
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def drag_context @drag_context end  | 
  
#drag_data_get_handler ⇒ Object
Returns the value of attribute drag_data_get_handler
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def drag_data_get_handler @drag_data_get_handler end  | 
  
#events ⇒ Object
Returns the value of attribute events
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def events @events end  | 
  
#motion_notify_handler ⇒ Object
Returns the value of attribute motion_notify_handler
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def motion_notify_handler @motion_notify_handler end  | 
  
#pending_event ⇒ Object
Returns the value of attribute pending_event
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def pending_event @pending_event end  | 
  
#pressed_button ⇒ Object
Returns the value of attribute pressed_button
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def @pressed_button end  | 
  
#source_actions ⇒ Object
Returns the value of attribute source_actions
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def source_actions @source_actions end  | 
  
#source_start_button_mask ⇒ Object
Returns the value of attribute source_start_button_mask
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def @source_start_button_mask end  | 
  
#source_targets ⇒ Object
Returns the value of attribute source_targets
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def source_targets @source_targets end  | 
  
#x ⇒ Object
Returns the value of attribute x
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def x @x end  | 
  
#y ⇒ Object
Returns the value of attribute y
      17 18 19  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 17 def y @y end  | 
  
Instance Method Details
#pending_event? ⇒ Boolean
      39 40 41  | 
    
      # File 'lib/alexandria/ui/multi_drag_treeview.rb', line 39 def pending_event? pending_event end  |