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

Go to the source code of this file.

Classes

struct  _GtkSelectionData
 
struct  _GtkTargetEntry
 
struct  _GtkTargetList
 
struct  _GtkTargetPair
 

Macros

#define GTK_TYPE_SELECTION_DATA   (gtk_selection_data_get_type ())
 
#define GTK_TYPE_TARGET_LIST   (gtk_target_list_get_type ())
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GtkTargetList GtkTargetList
 
typedef struct _GtkTargetEntry GtkTargetEntry
 
typedef struct _GtkTargetPair GtkTargetPair
 

Functions

GtkTargetListgtk_target_list_new (const GtkTargetEntry *targets, guint ntargets)
 
GtkTargetListgtk_target_list_ref (GtkTargetList *list)
 
void gtk_target_list_unref (GtkTargetList *list)
 
void gtk_target_list_add (GtkTargetList *list, GdkAtom target, guint flags, guint info)
 
void gtk_target_list_add_text_targets (GtkTargetList *list, guint info)
 
void gtk_target_list_add_rich_text_targets (GtkTargetList *list, guint info, gboolean deserializable, GtkTextBuffer *buffer)
 
void gtk_target_list_add_image_targets (GtkTargetList *list, guint info, gboolean writable)
 
void gtk_target_list_add_uri_targets (GtkTargetList *list, guint info)
 
void gtk_target_list_add_table (GtkTargetList *list, const GtkTargetEntry *targets, guint ntargets)
 
void gtk_target_list_remove (GtkTargetList *list, GdkAtom target)
 
gboolean gtk_target_list_find (GtkTargetList *list, GdkAtom target, guint *info)
 
GtkTargetEntrygtk_target_table_new_from_list (GtkTargetList *list, gint *n_targets)
 
void gtk_target_table_free (GtkTargetEntry *targets, gint n_targets)
 
gboolean gtk_selection_owner_set (GtkWidget *widget, GdkAtom selection, guint32 time_)
 
gboolean gtk_selection_owner_set_for_display (GdkDisplay *display, GtkWidget *widget, GdkAtom selection, guint32 time_)
 
void gtk_selection_add_target (GtkWidget *widget, GdkAtom selection, GdkAtom target, guint info)
 
void gtk_selection_add_targets (GtkWidget *widget, GdkAtom selection, const GtkTargetEntry *targets, guint ntargets)
 
void gtk_selection_clear_targets (GtkWidget *widget, GdkAtom selection)
 
gboolean gtk_selection_convert (GtkWidget *widget, GdkAtom selection, GdkAtom target, guint32 time_)
 
GdkAtom gtk_selection_data_get_selection (GtkSelectionData *selection_data)
 
GdkAtom gtk_selection_data_get_target (GtkSelectionData *selection_data)
 
GdkAtom gtk_selection_data_get_data_type (GtkSelectionData *selection_data)
 
gint gtk_selection_data_get_format (GtkSelectionData *selection_data)
 
const guchar * gtk_selection_data_get_data (GtkSelectionData *selection_data)
 
gint gtk_selection_data_get_length (GtkSelectionData *selection_data)
 
GdkDisplaygtk_selection_data_get_display (GtkSelectionData *selection_data)
 
void gtk_selection_data_set (GtkSelectionData *selection_data, GdkAtom type, gint format, const guchar *data, gint length)
 
gboolean gtk_selection_data_set_text (GtkSelectionData *selection_data, const gchar *str, gint len)
 
guchar * gtk_selection_data_get_text (GtkSelectionData *selection_data)
 
gboolean gtk_selection_data_set_pixbuf (GtkSelectionData *selection_data, GdkPixbuf *pixbuf)
 
GdkPixbuf * gtk_selection_data_get_pixbuf (GtkSelectionData *selection_data)
 
gboolean gtk_selection_data_set_uris (GtkSelectionData *selection_data, gchar **uris)
 
gchar ** gtk_selection_data_get_uris (GtkSelectionData *selection_data)
 
gboolean gtk_selection_data_get_targets (GtkSelectionData *selection_data, GdkAtom **targets, gint *n_atoms)
 
gboolean gtk_selection_data_targets_include_text (GtkSelectionData *selection_data)
 
gboolean gtk_selection_data_targets_include_rich_text (GtkSelectionData *selection_data, GtkTextBuffer *buffer)
 
gboolean gtk_selection_data_targets_include_image (GtkSelectionData *selection_data, gboolean writable)
 
gboolean gtk_selection_data_targets_include_uri (GtkSelectionData *selection_data)
 
gboolean gtk_targets_include_text (GdkAtom *targets, gint n_targets)
 
gboolean gtk_targets_include_rich_text (GdkAtom *targets, gint n_targets, GtkTextBuffer *buffer)
 
gboolean gtk_targets_include_image (GdkAtom *targets, gint n_targets, gboolean writable)
 
gboolean gtk_targets_include_uri (GdkAtom *targets, gint n_targets)
 
void gtk_selection_remove_all (GtkWidget *widget)
 
gboolean gtk_selection_clear (GtkWidget *widget, GdkEventSelection *event)
 
gboolean _gtk_selection_request (GtkWidget *widget, GdkEventSelection *event)
 
gboolean _gtk_selection_incr_event (GdkWindow *window, GdkEventProperty *event)
 
gboolean _gtk_selection_notify (GtkWidget *widget, GdkEventSelection *event)
 
gboolean _gtk_selection_property_notify (GtkWidget *widget, GdkEventProperty *event)
 
GType gtk_selection_data_get_type (void) G_GNUC_CONST
 
GtkSelectionDatagtk_selection_data_copy (GtkSelectionData *data)
 
void gtk_selection_data_free (GtkSelectionData *data)
 
GType gtk_target_list_get_type (void) G_GNUC_CONST
 

Macro Definition Documentation

◆ GTK_TYPE_SELECTION_DATA

#define GTK_TYPE_SELECTION_DATA   (gtk_selection_data_get_type ())

Definition at line 44 of file gtkselection.h.

◆ GTK_TYPE_TARGET_LIST

#define GTK_TYPE_TARGET_LIST   (gtk_target_list_get_type ())

Definition at line 45 of file gtkselection.h.

Typedef Documentation

◆ GtkTargetEntry

Definition at line 39 of file gtkselection.h.

◆ GtkTargetList

typedef typedefG_BEGIN_DECLS struct _GtkTargetList GtkTargetList

Definition at line 39 of file gtkselection.h.

◆ GtkTargetPair

typedef struct _GtkTargetPair GtkTargetPair

Definition at line 39 of file gtkselection.h.

Function Documentation

◆ _gtk_selection_incr_event()

gboolean _gtk_selection_incr_event ( GdkWindow window,
GdkEventProperty event 
)

◆ _gtk_selection_notify()

gboolean _gtk_selection_notify ( GtkWidget widget,
GdkEventSelection event 
)

◆ _gtk_selection_property_notify()

gboolean _gtk_selection_property_notify ( GtkWidget widget,
GdkEventProperty event 
)

◆ _gtk_selection_request()

gboolean _gtk_selection_request ( GtkWidget widget,
GdkEventSelection event 
)

◆ gtk_selection_add_target()

void gtk_selection_add_target ( GtkWidget widget,
GdkAtom  selection,
GdkAtom  target,
guint  info 
)

◆ gtk_selection_add_targets()

void gtk_selection_add_targets ( GtkWidget widget,
GdkAtom  selection,
const GtkTargetEntry targets,
guint  ntargets 
)

◆ gtk_selection_clear()

gboolean gtk_selection_clear ( GtkWidget widget,
GdkEventSelection event 
)

◆ gtk_selection_clear_targets()

void gtk_selection_clear_targets ( GtkWidget widget,
GdkAtom  selection 
)

◆ gtk_selection_convert()

gboolean gtk_selection_convert ( GtkWidget widget,
GdkAtom  selection,
GdkAtom  target,
guint32  time_ 
)

◆ gtk_selection_data_copy()

GtkSelectionData* gtk_selection_data_copy ( GtkSelectionData data)

◆ gtk_selection_data_free()

void gtk_selection_data_free ( GtkSelectionData data)

◆ gtk_selection_data_get_data()

const guchar* gtk_selection_data_get_data ( GtkSelectionData selection_data)

◆ gtk_selection_data_get_data_type()

GdkAtom gtk_selection_data_get_data_type ( GtkSelectionData selection_data)

◆ gtk_selection_data_get_display()

GdkDisplay* gtk_selection_data_get_display ( GtkSelectionData selection_data)

◆ gtk_selection_data_get_format()

gint gtk_selection_data_get_format ( GtkSelectionData selection_data)

◆ gtk_selection_data_get_length()

gint gtk_selection_data_get_length ( GtkSelectionData selection_data)

◆ gtk_selection_data_get_pixbuf()

GdkPixbuf* gtk_selection_data_get_pixbuf ( GtkSelectionData selection_data)

◆ gtk_selection_data_get_selection()

GdkAtom gtk_selection_data_get_selection ( GtkSelectionData selection_data)

◆ gtk_selection_data_get_target()

GdkAtom gtk_selection_data_get_target ( GtkSelectionData selection_data)

◆ gtk_selection_data_get_targets()

gboolean gtk_selection_data_get_targets ( GtkSelectionData selection_data,
GdkAtom **  targets,
gint *  n_atoms 
)

◆ gtk_selection_data_get_text()

guchar* gtk_selection_data_get_text ( GtkSelectionData selection_data)

◆ gtk_selection_data_get_type()

GType gtk_selection_data_get_type ( void  )

◆ gtk_selection_data_get_uris()

gchar** gtk_selection_data_get_uris ( GtkSelectionData selection_data)

◆ gtk_selection_data_set()

void gtk_selection_data_set ( GtkSelectionData selection_data,
GdkAtom  type,
gint  format,
const guchar *  data,
gint  length 
)

◆ gtk_selection_data_set_pixbuf()

gboolean gtk_selection_data_set_pixbuf ( GtkSelectionData selection_data,
GdkPixbuf *  pixbuf 
)

◆ gtk_selection_data_set_text()

gboolean gtk_selection_data_set_text ( GtkSelectionData selection_data,
const gchar *  str,
gint  len 
)

◆ gtk_selection_data_set_uris()

gboolean gtk_selection_data_set_uris ( GtkSelectionData selection_data,
gchar **  uris 
)

◆ gtk_selection_data_targets_include_image()

gboolean gtk_selection_data_targets_include_image ( GtkSelectionData selection_data,
gboolean  writable 
)

◆ gtk_selection_data_targets_include_rich_text()

gboolean gtk_selection_data_targets_include_rich_text ( GtkSelectionData selection_data,
GtkTextBuffer buffer 
)

◆ gtk_selection_data_targets_include_text()

gboolean gtk_selection_data_targets_include_text ( GtkSelectionData selection_data)

◆ gtk_selection_data_targets_include_uri()

gboolean gtk_selection_data_targets_include_uri ( GtkSelectionData selection_data)

◆ gtk_selection_owner_set()

gboolean gtk_selection_owner_set ( GtkWidget widget,
GdkAtom  selection,
guint32  time_ 
)

◆ gtk_selection_owner_set_for_display()

gboolean gtk_selection_owner_set_for_display ( GdkDisplay display,
GtkWidget widget,
GdkAtom  selection,
guint32  time_ 
)

◆ gtk_selection_remove_all()

void gtk_selection_remove_all ( GtkWidget widget)

◆ gtk_target_list_add()

void gtk_target_list_add ( GtkTargetList list,
GdkAtom  target,
guint  flags,
guint  info 
)

◆ gtk_target_list_add_image_targets()

void gtk_target_list_add_image_targets ( GtkTargetList list,
guint  info,
gboolean  writable 
)

◆ gtk_target_list_add_rich_text_targets()

void gtk_target_list_add_rich_text_targets ( GtkTargetList list,
guint  info,
gboolean  deserializable,
GtkTextBuffer buffer 
)

◆ gtk_target_list_add_table()

void gtk_target_list_add_table ( GtkTargetList list,
const GtkTargetEntry targets,
guint  ntargets 
)

◆ gtk_target_list_add_text_targets()

void gtk_target_list_add_text_targets ( GtkTargetList list,
guint  info 
)

◆ gtk_target_list_add_uri_targets()

void gtk_target_list_add_uri_targets ( GtkTargetList list,
guint  info 
)

◆ gtk_target_list_find()

gboolean gtk_target_list_find ( GtkTargetList list,
GdkAtom  target,
guint *  info 
)

◆ gtk_target_list_get_type()

GType gtk_target_list_get_type ( void  )

◆ gtk_target_list_new()

GtkTargetList* gtk_target_list_new ( const GtkTargetEntry targets,
guint  ntargets 
)

◆ gtk_target_list_ref()

GtkTargetList* gtk_target_list_ref ( GtkTargetList list)

◆ gtk_target_list_remove()

void gtk_target_list_remove ( GtkTargetList list,
GdkAtom  target 
)

◆ gtk_target_list_unref()

void gtk_target_list_unref ( GtkTargetList list)

◆ gtk_target_table_free()

void gtk_target_table_free ( GtkTargetEntry targets,
gint  n_targets 
)

◆ gtk_target_table_new_from_list()

GtkTargetEntry* gtk_target_table_new_from_list ( GtkTargetList list,
gint *  n_targets 
)

◆ gtk_targets_include_image()

gboolean gtk_targets_include_image ( GdkAtom targets,
gint  n_targets,
gboolean  writable 
)

◆ gtk_targets_include_rich_text()

gboolean gtk_targets_include_rich_text ( GdkAtom targets,
gint  n_targets,
GtkTextBuffer buffer 
)

◆ gtk_targets_include_text()

gboolean gtk_targets_include_text ( GdkAtom targets,
gint  n_targets 
)

◆ gtk_targets_include_uri()

gboolean gtk_targets_include_uri ( GdkAtom targets,
gint  n_targets 
)