mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 15:13:41 +02: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):
|
def accept_enter_event(self, event, mime_data):
|
||||||
''' This method should return True iff this interface action is capable
|
''' 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
|
return False
|
||||||
|
|
||||||
def accept_drag_move_event(self, event, mime_data):
|
def accept_drag_move_event(self, event, mime_data):
|
||||||
''' This method should return True iff this interface action is capable
|
''' 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
|
return False
|
||||||
|
|
||||||
def drop_event(self, event, mime_data):
|
def drop_event(self, event, mime_data):
|
||||||
''' This method should perform some useful action and return True
|
''' 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
|
return False
|
||||||
|
|
||||||
def do_genesis(self):
|
def do_genesis(self):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue