Package wx :: Class ClipboardLocker
[frames | no frames]

Type ClipboardLocker

object --+
         |
        ClipboardLocker


A helpful class for opening the clipboard and automatically closing it when the locker is destroyed.


Method Summary
ClipboardLocker __init__(self, clipboard)
A helpful class for opening the clipboard and automatically closing it when the locker is destroyed.
  __del__(self)
bool __nonzero__(self)
A ClipboardLocker instance evaluates to True if the clipboard was successfully opened.
  __repr__(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Method Details

__init__(self, clipboard=None)
(Constructor)

A helpful class for opening the clipboard and automatically closing it when the locker is destroyed.

Parameters:
clipboard
           (type=Clipboard)

Returns:
ClipboardLocker
Overrides:
__builtin__.object.__init__

__nonzero__(self)
(Boolean test operator)

A ClipboardLocker instance evaluates to True if the clipboard was successfully opened.

Returns:
bool

Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:52:44 2007 http://epydoc.sf.net