Ignore:
Timestamp:
07/06/09 17:47:55 (10 years ago)
Author:
bretzel_parpg
Message:

Restructured the dragging and dropping data a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/scripts/drag_drop_data.py

    r181 r185  
    1616#   along with PARPG.  If not, see <http://www.gnu.org/licenses/>. 
    1717 
    18 class DragAndDropData(): 
    19     """ 
    20     This contains the data that tells the GUI whether something is being dragged, dropped etc. 
    21     It is in one place to allow communication between multiple windows 
    22     """ 
    23     def __init___(self): 
    24         """ 
    25         @return: None 
    26         """ 
    27         self.dragging = False 
    28         self.dragged_image = None 
    29         self.dragged_type = None 
    30         self.dragged_item = None 
    31         self.dropped_type = None 
     18""" 
     19This contains the data that tells the GUI whether something is being dragged, dropped etc. 
     20It is in one place to allow communication between multiple windows 
     21""" 
     22dragging = False 
     23dragged_image = None 
     24dragged_type = None 
     25dragged_item = None 
     26dropped_type = None 
Note: See TracChangeset for help on using the changeset viewer.