Top | ![]() |
![]() |
![]() |
![]() |
void | (*MxClipboardCallbackFunc) () |
MxClipboard * | mx_clipboard_get_default () |
void | mx_clipboard_get_text () |
void | mx_clipboard_set_text () |
MxClipboard is a very simple object representation of the clipboard available to applications. Text is always assumed to be UTF-8 and non-text items are not handled.
void (*MxClipboardCallbackFunc) (MxClipboard *clipboard
,const gchar *text
,gpointer user_data
);
Callback function called when text is retrieved from the clipboard.
MxClipboard *
mx_clipboard_get_default (void
);
Get the global MxClipboard object that represents the clipboard.
void mx_clipboard_get_text (MxClipboard *clipboard
,MxClipboardCallbackFunc callback
,gpointer user_data
);
Request the data from the clipboard in text form. callback
is executed
when the data is retreived.
void mx_clipboard_set_text (MxClipboard *clipboard
,const gchar *text
);
Sets text as the current contents of the clipboard.