Ardour  9.0-pre0-582-g084a23a80d
gtkclipboard.h File Reference
#include <gtk/gtkselection.h>
Include dependency graph for gtkclipboard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GTK_TYPE_CLIPBOARD   (gtk_clipboard_get_type ())
 
#define GTK_CLIPBOARD(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CLIPBOARD, GtkClipboard))
 
#define GTK_IS_CLIPBOARD(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CLIPBOARD))
 

Typedefs

typedef void(* GtkClipboardReceivedFunc) (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data)
 
typedef void(* GtkClipboardTextReceivedFunc) (GtkClipboard *clipboard, const gchar *text, gpointer data)
 
typedef void(* GtkClipboardRichTextReceivedFunc) (GtkClipboard *clipboard, GdkAtom format, const guint8 *text, gsize length, gpointer data)
 
typedef void(* GtkClipboardImageReceivedFunc) (GtkClipboard *clipboard, GdkPixbuf *pixbuf, gpointer data)
 
typedef void(* GtkClipboardURIReceivedFunc) (GtkClipboard *clipboard, gchar **uris, gpointer data)
 
typedef void(* GtkClipboardTargetsReceivedFunc) (GtkClipboard *clipboard, GdkAtom *atoms, gint n_atoms, gpointer data)
 
typedef void(* GtkClipboardGetFunc) (GtkClipboard *clipboard, GtkSelectionData *selection_data, guint info, gpointer user_data_or_owner)
 
typedef void(* GtkClipboardClearFunc) (GtkClipboard *clipboard, gpointer user_data_or_owner)
 

Functions

GType gtk_clipboard_get_type (void) G_GNUC_CONST
 
GtkClipboardgtk_clipboard_get_for_display (GdkDisplay *display, GdkAtom selection)
 
GtkClipboardgtk_clipboard_get (GdkAtom selection)
 
GdkDisplaygtk_clipboard_get_display (GtkClipboard *clipboard)
 
gboolean gtk_clipboard_set_with_data (GtkClipboard *clipboard, const GtkTargetEntry *targets, guint n_targets, GtkClipboardGetFunc get_func, GtkClipboardClearFunc clear_func, gpointer user_data)
 
gboolean gtk_clipboard_set_with_owner (GtkClipboard *clipboard, const GtkTargetEntry *targets, guint n_targets, GtkClipboardGetFunc get_func, GtkClipboardClearFunc clear_func, GObject *owner)
 
GObject * gtk_clipboard_get_owner (GtkClipboard *clipboard)
 
void gtk_clipboard_clear (GtkClipboard *clipboard)
 
void gtk_clipboard_set_text (GtkClipboard *clipboard, const gchar *text, gint len)
 
void gtk_clipboard_set_image (GtkClipboard *clipboard, GdkPixbuf *pixbuf)
 
void gtk_clipboard_request_contents (GtkClipboard *clipboard, GdkAtom target, GtkClipboardReceivedFunc callback, gpointer user_data)
 
void gtk_clipboard_request_text (GtkClipboard *clipboard, GtkClipboardTextReceivedFunc callback, gpointer user_data)
 
void gtk_clipboard_request_rich_text (GtkClipboard *clipboard, GtkTextBuffer *buffer, GtkClipboardRichTextReceivedFunc callback, gpointer user_data)
 
void gtk_clipboard_request_image (GtkClipboard *clipboard, GtkClipboardImageReceivedFunc callback, gpointer user_data)
 
void gtk_clipboard_request_uris (GtkClipboard *clipboard, GtkClipboardURIReceivedFunc callback, gpointer user_data)
 
void gtk_clipboard_request_targets (GtkClipboard *clipboard, GtkClipboardTargetsReceivedFunc callback, gpointer user_data)
 
GtkSelectionDatagtk_clipboard_wait_for_contents (GtkClipboard *clipboard, GdkAtom target)
 
gchar * gtk_clipboard_wait_for_text (GtkClipboard *clipboard)
 
guint8 * gtk_clipboard_wait_for_rich_text (GtkClipboard *clipboard, GtkTextBuffer *buffer, GdkAtom *format, gsize *length)
 
GdkPixbuf * gtk_clipboard_wait_for_image (GtkClipboard *clipboard)
 
gchar ** gtk_clipboard_wait_for_uris (GtkClipboard *clipboard)
 
gboolean gtk_clipboard_wait_for_targets (GtkClipboard *clipboard, GdkAtom **targets, gint *n_targets)
 
gboolean gtk_clipboard_wait_is_text_available (GtkClipboard *clipboard)
 
gboolean gtk_clipboard_wait_is_rich_text_available (GtkClipboard *clipboard, GtkTextBuffer *buffer)
 
gboolean gtk_clipboard_wait_is_image_available (GtkClipboard *clipboard)
 
gboolean gtk_clipboard_wait_is_uris_available (GtkClipboard *clipboard)
 
gboolean gtk_clipboard_wait_is_target_available (GtkClipboard *clipboard, GdkAtom target)
 
void gtk_clipboard_set_can_store (GtkClipboard *clipboard, const GtkTargetEntry *targets, gint n_targets)
 
void gtk_clipboard_store (GtkClipboard *clipboard)
 
void _gtk_clipboard_handle_event (GdkEventOwnerChange *event)
 
void _gtk_clipboard_store_all (void)
 

Macro Definition Documentation

◆ GTK_CLIPBOARD

#define GTK_CLIPBOARD (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CLIPBOARD, GtkClipboard))

Definition at line 34 of file gtkclipboard.h.

◆ GTK_IS_CLIPBOARD

#define GTK_IS_CLIPBOARD (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CLIPBOARD))

Definition at line 35 of file gtkclipboard.h.

◆ GTK_TYPE_CLIPBOARD

#define GTK_TYPE_CLIPBOARD   (gtk_clipboard_get_type ())

Definition at line 33 of file gtkclipboard.h.

Typedef Documentation

◆ GtkClipboardClearFunc

typedef void(* GtkClipboardClearFunc) (GtkClipboard *clipboard, gpointer user_data_or_owner)

Definition at line 67 of file gtkclipboard.h.

◆ GtkClipboardGetFunc

typedef void(* GtkClipboardGetFunc) (GtkClipboard *clipboard, GtkSelectionData *selection_data, guint info, gpointer user_data_or_owner)

Definition at line 63 of file gtkclipboard.h.

◆ GtkClipboardImageReceivedFunc

typedef void(* GtkClipboardImageReceivedFunc) (GtkClipboard *clipboard, GdkPixbuf *pixbuf, gpointer data)

Definition at line 48 of file gtkclipboard.h.

◆ GtkClipboardReceivedFunc

typedef void(* GtkClipboardReceivedFunc) (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data)

Definition at line 37 of file gtkclipboard.h.

◆ GtkClipboardRichTextReceivedFunc

typedef void(* GtkClipboardRichTextReceivedFunc) (GtkClipboard *clipboard, GdkAtom format, const guint8 *text, gsize length, gpointer data)

Definition at line 43 of file gtkclipboard.h.

◆ GtkClipboardTargetsReceivedFunc

typedef void(* GtkClipboardTargetsReceivedFunc) (GtkClipboard *clipboard, GdkAtom *atoms, gint n_atoms, gpointer data)

Definition at line 54 of file gtkclipboard.h.

◆ GtkClipboardTextReceivedFunc

typedef void(* GtkClipboardTextReceivedFunc) (GtkClipboard *clipboard, const gchar *text, gpointer data)

Definition at line 40 of file gtkclipboard.h.

◆ GtkClipboardURIReceivedFunc

typedef void(* GtkClipboardURIReceivedFunc) (GtkClipboard *clipboard, gchar **uris, gpointer data)

Definition at line 51 of file gtkclipboard.h.

Function Documentation

◆ _gtk_clipboard_handle_event()

void _gtk_clipboard_handle_event ( GdkEventOwnerChange event)

◆ _gtk_clipboard_store_all()

void _gtk_clipboard_store_all ( void  )

◆ gtk_clipboard_clear()

void gtk_clipboard_clear ( GtkClipboard clipboard)

◆ gtk_clipboard_get()

GtkClipboard* gtk_clipboard_get ( GdkAtom  selection)

◆ gtk_clipboard_get_display()

GdkDisplay* gtk_clipboard_get_display ( GtkClipboard clipboard)

◆ gtk_clipboard_get_for_display()

GtkClipboard* gtk_clipboard_get_for_display ( GdkDisplay display,
GdkAtom  selection 
)

◆ gtk_clipboard_get_owner()

GObject* gtk_clipboard_get_owner ( GtkClipboard clipboard)

◆ gtk_clipboard_get_type()

GType gtk_clipboard_get_type ( void  )

◆ gtk_clipboard_request_contents()

void gtk_clipboard_request_contents ( GtkClipboard clipboard,
GdkAtom  target,
GtkClipboardReceivedFunc  callback,
gpointer  user_data 
)

◆ gtk_clipboard_request_image()

void gtk_clipboard_request_image ( GtkClipboard clipboard,
GtkClipboardImageReceivedFunc  callback,
gpointer  user_data 
)

◆ gtk_clipboard_request_rich_text()

void gtk_clipboard_request_rich_text ( GtkClipboard clipboard,
GtkTextBuffer buffer,
GtkClipboardRichTextReceivedFunc  callback,
gpointer  user_data 
)

◆ gtk_clipboard_request_targets()

void gtk_clipboard_request_targets ( GtkClipboard clipboard,
GtkClipboardTargetsReceivedFunc  callback,
gpointer  user_data 
)

◆ gtk_clipboard_request_text()

void gtk_clipboard_request_text ( GtkClipboard clipboard,
GtkClipboardTextReceivedFunc  callback,
gpointer  user_data 
)

◆ gtk_clipboard_request_uris()

void gtk_clipboard_request_uris ( GtkClipboard clipboard,
GtkClipboardURIReceivedFunc  callback,
gpointer  user_data 
)

◆ gtk_clipboard_set_can_store()

void gtk_clipboard_set_can_store ( GtkClipboard clipboard,
const GtkTargetEntry targets,
gint  n_targets 
)

◆ gtk_clipboard_set_image()

void gtk_clipboard_set_image ( GtkClipboard clipboard,
GdkPixbuf *  pixbuf 
)

◆ gtk_clipboard_set_text()

void gtk_clipboard_set_text ( GtkClipboard clipboard,
const gchar *  text,
gint  len 
)

◆ gtk_clipboard_set_with_data()

gboolean gtk_clipboard_set_with_data ( GtkClipboard clipboard,
const GtkTargetEntry targets,
guint  n_targets,
GtkClipboardGetFunc  get_func,
GtkClipboardClearFunc  clear_func,
gpointer  user_data 
)

◆ gtk_clipboard_set_with_owner()

gboolean gtk_clipboard_set_with_owner ( GtkClipboard clipboard,
const GtkTargetEntry targets,
guint  n_targets,
GtkClipboardGetFunc  get_func,
GtkClipboardClearFunc  clear_func,
GObject *  owner 
)

◆ gtk_clipboard_store()

void gtk_clipboard_store ( GtkClipboard clipboard)

◆ gtk_clipboard_wait_for_contents()

GtkSelectionData* gtk_clipboard_wait_for_contents ( GtkClipboard clipboard,
GdkAtom  target 
)

◆ gtk_clipboard_wait_for_image()

GdkPixbuf* gtk_clipboard_wait_for_image ( GtkClipboard clipboard)

◆ gtk_clipboard_wait_for_rich_text()

guint8* gtk_clipboard_wait_for_rich_text ( GtkClipboard clipboard,
GtkTextBuffer buffer,
GdkAtom format,
gsize *  length 
)

◆ gtk_clipboard_wait_for_targets()

gboolean gtk_clipboard_wait_for_targets ( GtkClipboard clipboard,
GdkAtom **  targets,
gint *  n_targets 
)

◆ gtk_clipboard_wait_for_text()

gchar* gtk_clipboard_wait_for_text ( GtkClipboard clipboard)

◆ gtk_clipboard_wait_for_uris()

gchar** gtk_clipboard_wait_for_uris ( GtkClipboard clipboard)

◆ gtk_clipboard_wait_is_image_available()

gboolean gtk_clipboard_wait_is_image_available ( GtkClipboard clipboard)

◆ gtk_clipboard_wait_is_rich_text_available()

gboolean gtk_clipboard_wait_is_rich_text_available ( GtkClipboard clipboard,
GtkTextBuffer buffer 
)

◆ gtk_clipboard_wait_is_target_available()

gboolean gtk_clipboard_wait_is_target_available ( GtkClipboard clipboard,
GdkAtom  target 
)

◆ gtk_clipboard_wait_is_text_available()

gboolean gtk_clipboard_wait_is_text_available ( GtkClipboard clipboard)

◆ gtk_clipboard_wait_is_uris_available()

gboolean gtk_clipboard_wait_is_uris_available ( GtkClipboard clipboard)