mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 01:05:40 +01:00
...
This commit is contained in:
parent
7e004def33
commit
1de1d03aea
1 changed files with 7 additions and 3 deletions
|
|
@ -115,17 +115,21 @@ def __init__(self, parent, site_customization):
|
|||
|
||||
def accept_enter_event(self, event, mime_data):
|
||||
''' This method should return True iff this interface action is capable
|
||||
of handling the drag event. '''
|
||||
of handling the drag event. Do not call accept/ignore on the event,
|
||||
that will be taken care of by the calibre UI.'''
|
||||
return False
|
||||
|
||||
def accept_drag_move_event(self, event, mime_data):
|
||||
''' This method should return True iff this interface action is capable
|
||||
of handling the drag event. '''
|
||||
of handling the drag event. Do not call accept/ignore on the event,
|
||||
that will be taken care of by the calibre UI.'''
|
||||
return False
|
||||
|
||||
def drop_event(self, event, mime_data):
|
||||
''' This method should perform some useful action and return True
|
||||
iff this interface action is capable of handling the drag event. '''
|
||||
iff this interface action is capable of handling the drag event. Do not
|
||||
call accept/ignore on the event, that will be taken care of by the
|
||||
calibre UI.'''
|
||||
return False
|
||||
|
||||
def do_genesis(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue