Package application :: Package dialogs :: Module RecurrenceDialog
[hide private]
[frames] | no frames]

Module RecurrenceDialog

source code

Classes [hide private]
  RecurrenceDialog
  ChandlerProxy
Functions [hide private]
 
getProxy(context, obj, createNew=True, cancelCallback=<Locale: en_US>)
Return a proxy for obj, reusing cached proxies in the same context.
source code
 
delayForRecurrenceDialog(item, callback, *args, **kwargs)
If the given item has a current UI proxy with changes, delay calling callback(*args, **kwargs) until the recurrence dialog is answered positively.
source code
Variables [hide private]
  logger = logging.getLogger(__name__)
  _proxies = {}
  REMOVE_ALL_MSG = u'"%(displayName)s" is a recurring event. Cha...
Function Details [hide private]

getProxy(context, obj, createNew=True, cancelCallback=<Locale: en_US>)

source code 

Return a proxy for obj, reusing cached proxies in the same context.

Return obj if obj doesn't support the changeThis and changeThisAndFuture interface.

In a given context, getting a proxy for a different object removes the reference to the old proxy, which should end its life.

If createNew is False, never create a new proxy, return obj unless there is already a cached proxy for obj.

delayForRecurrenceDialog(item, callback, *args, **kwargs)

source code 

If the given item has a current UI proxy with changes, delay calling callback(*args, **kwargs) until the recurrence dialog is answered positively.

If the recurrence dialog is cancelled, the callback will never be called.

Identical callbacks won't be queued more than once.

Block.finishEdits() should be called before delayForRecurrenceDialog, or the proxy may not see changes about to be set by edited widgets.

Variables Details [hide private]

REMOVE_ALL_MSG

Value:
u'"%(displayName)s" is a recurring event. Changing the occurrence rule\
 to 'Once' will delete all occurrences except for the first one. Do yo\
u want to change:'