Selections

Name

Selections —

Synopsis


#include <gdk/gdk.h>


enum        GdkSelection;
enum        GdkSelectionType;
gint        gdk_selection_owner_set         (GdkWindow *owner,
                                             GdkAtom selection,
                                             guint32 time,
                                             gint send_event);
GdkWindow*  gdk_selection_owner_get         (GdkAtom selection);
void        gdk_selection_convert           (GdkWindow *requestor,
                                             GdkAtom selection,
                                             GdkAtom target,
                                             guint32 time);
gint        gdk_selection_property_get      (GdkWindow *requestor,
                                             guchar **data,
                                             GdkAtom *prop_type,
                                             gint *prop_format);
void        gdk_selection_send_notify       (guint32 requestor,
                                             GdkAtom selection,
                                             GdkAtom target,
                                             GdkAtom property,
                                             guint32 time);

Description

Details

enum GdkSelection

typedef enum
{
  GDK_SELECTION_PRIMARY = 1,
  GDK_SELECTION_SECONDARY = 2
} GdkSelection;


enum GdkSelectionType

typedef enum
{
  GDK_SELECTION_TYPE_ATOM = 4,
  GDK_SELECTION_TYPE_BITMAP = 5,
  GDK_SELECTION_TYPE_COLORMAP = 7,
  GDK_SELECTION_TYPE_DRAWABLE = 17,
  GDK_SELECTION_TYPE_INTEGER = 19,
  GDK_SELECTION_TYPE_PIXMAP = 20,
  GDK_SELECTION_TYPE_WINDOW = 33,
  GDK_SELECTION_TYPE_STRING = 31
} GdkSelectionType;


gdk_selection_owner_set ()

gint        gdk_selection_owner_set         (GdkWindow *owner,
                                             GdkAtom selection,
                                             guint32 time,
                                             gint send_event);

owner : 
selection : 
time : 
send_event : 
Returns : 


gdk_selection_owner_get ()

GdkWindow*  gdk_selection_owner_get         (GdkAtom selection);

selection : 
Returns : 


gdk_selection_convert ()

void        gdk_selection_convert           (GdkWindow *requestor,
                                             GdkAtom selection,
                                             GdkAtom target,
                                             guint32 time);

requestor : 
selection : 
target : 
time : 


gdk_selection_property_get ()

gint        gdk_selection_property_get      (GdkWindow *requestor,
                                             guchar **data,
                                             GdkAtom *prop_type,
                                             gint *prop_format);

requestor : 
data : 
prop_type : 
prop_format : 
Returns : 


gdk_selection_send_notify ()

void        gdk_selection_send_notify       (guint32 requestor,
                                             GdkAtom selection,
                                             GdkAtom target,
                                             GdkAtom property,
                                             guint32 time);

requestor : 
selection : 
target : 
property : 
time :