![]() |
![]() |
Public Types | |
typedef SigC::Slot2< void, GtkSelectionData*, guint > | SlotGet |
e.g.: void on_get(GtkSelectionData* selection_data, guint info); | |
typedef SigC::Slot0<void> | SlotClear |
e.g.: void on_clear(); | |
typedef SigC::Slot1< void, GtkSelectionData* > | SlotReceived |
e.g.: void on_received(GtkSelectionData* selection_data); | |
typedef SigC::Slot1< void, const Glib::ustring& > | SlotTextReceived |
e.g.: void on_textreceived(const Glib::ustring& text); | |
Public Methods | |
Clipboard (GdkAtom selection=GDK_NONE) | |
Clipboard (GtkClipboard* gobject) | |
Clipboard (const Clipboard& src) | |
virtual | ~Clipboard () |
Clipboard& | operator= (const Clipboard& src) |
bool | operator== (const Clipboard& src) const |
bool | set (const GtkTargetEntry* targets, guint n_targets, const SlotGet& slot_get, const SlotClear& slot_clear) |
Glib::RefPtr<Glib::Object> | get_owner () |
Glib::RefPtr<const Glib::Object> | get_owner () const |
void | clear () |
void | set_text (const Glib::ustring& text) |
void | request_contents (GdkAtom target, const SlotReceived& slot) |
void | request_text (const SlotTextReceived& slot) |
GtkSelectionData* | wait_for_contents (GdkAtom target) |
Glib::ustring | wait_for_text () |
bool | wait_is_text_available () |
GtkClipboard* | gobj () |
const GtkClipboard* | gobj () const |
Protected Attributes | |
GtkClipboard* | gobject_ |
|
e.g.: void on_clear();
|
|
e.g.: void on_get(GtkSelectionData* selection_data, guint info);
|
|
e.g.: void on_received(GtkSelectionData* selection_data);
|
|
e.g.: void on_textreceived(const Glib::ustring& text);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|