pyface.i_clipboard module¶
The interface for manipulating the toolkit clipboard.
-
class pyface.
i_clipboard. IClipboard(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]¶ Bases:
Interface
The interface for manipulating the toolkit clipboard.
- data_type = Property¶
The type of data in the clipboard (string)
- data = Property¶
Arbitrary Python data stored in the clipboard
- has_data = Property¶
Arbitrary Python data is available in the clipboard
- object_type = Property¶
Name of the class of object in the clipboard
- object_data = Property¶
Python object data
- has_object_data = Property¶
Python object data is available
- text_data = Property¶
Text data
- has_text_data = Property¶
Text data is available
- file_data = Property¶
File name data
- has_file_data = Property¶
File name data is available
-
class pyface.
i_clipboard. BaseClipboard[source]¶ Bases:
HasStrictTraits
An abstract base class that contains common code for toolkit specific implementations of IClipboard.
- data_type = Property¶
The type of data in the clipboard (string)
- data = Property¶
Arbitrary Python data stored in the clipboard
- has_data = Property¶
Arbitrary Python data is available in the clipboard
- object_type = Property¶
Name of the class of object in the clipboard
- object_data = Property¶
Python object data
- has_object_data = Property¶
Python object data is available
- text_data = Property¶
Text data
- has_text_data = Property¶
Text data is available
- file_data = Property¶
File name data
- has_file_data = Property¶
File name data is available