Class: Wx::FileDropTarget
- Inherits:
 - 
      DropTarget
      
        
- Object
 - DropTarget
 - Wx::FileDropTarget
 
 
- Defined in:
 - lib/wx/doc/gen/drag_drop.rb
 
Overview
This is a drop target which accepts files (dragged from File Manager or Explorer).
Category: Clipboard and Drag & Drop
Instance Method Summary collapse
- 
  
    
      #initialize  ⇒ Wx::FileDropTarget 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Constructor.
 - 
  
    
      #on_drop_files(x, y, filenames)  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    
Override this function to receive dropped files.
 
Methods inherited from DropTarget
#get_data, #get_data_object, #get_default_action, #on_data, #on_drag_over, #on_drop, #on_enter, #on_leave, #set_data_object, #set_default_action
Constructor Details
#initialize ⇒ Wx::FileDropTarget
Constructor.
      290  | 
    
      # File 'lib/wx/doc/gen/drag_drop.rb', line 290 def initialize; end  | 
  
Instance Method Details
#on_drop_files(x, y, filenames) ⇒ Boolean
Override this function to receive dropped files.
Return true to accept the data, or false to veto the operation.
      299  | 
    
      # File 'lib/wx/doc/gen/drag_drop.rb', line 299 def on_drop_files(x, y, filenames) end  |