mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:00:07 +00:00
b1165617b7
Fri Nov 8 20:14:52 2002 Soeren Sandmann <sandmann@daimi.au.dk> * docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml docs/reference/gdk/tmpl/gdk-unused.sgml docs/reference/gdk/tmpl/gdkdisplay.sgml docs/reference/gdk/tmpl/general.sgml docs/reference/gdk/tmpl/input_devices.sgml docs/reference/gdk/tmpl/selections.sgml docs/reference/gtk/tmpl/gtkcellrenderer.sgml docs/reference/gtk/tmpl/gtkcurve.sgml docs/reference/gtk/tmpl/gtkdnd.sgml docs/reference/gtk/tmpl/gtkitemfactory.sgml docs/reference/gtk/tmpl/gtkmenu.sgml docs/reference/gtk/tmpl/gtkoldeditable.sgml docs/reference/gtk/tmpl/gtkoptionmenu.sgml docs/reference/gtk/tmpl/gtkpreview.sgml docs/reference/gtk/tmpl/gtkselection.sgml docs/reference/gtk/tmpl/gtksocket.sgml docs/reference/gtk/tmpl/gtkstyle.sgml docs/reference/gtk/tmpl/gtktextbuffer.sgml docs/reference/gtk/tmpl/gtktreemodel.sgml docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c gtk/gtktreemodel.h gtk/gtkwidget.h Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow without warnings. (#91680)
86 lines
2.6 KiB
C
86 lines
2.6 KiB
C
#ifndef __GDK_SELECTION_H__
|
|
#define __GDK_SELECTION_H__
|
|
|
|
#include <gdk/gdktypes.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
/* Predefined atoms relating to selections. In general, one will need to use
|
|
* gdk_intern_atom
|
|
*/
|
|
#define GDK_SELECTION_PRIMARY _GDK_MAKE_ATOM (1)
|
|
#define GDK_SELECTION_SECONDARY _GDK_MAKE_ATOM (2)
|
|
#define GDK_SELECTION_CLIPBOARD _GDK_MAKE_ATOM (69)
|
|
#define GDK_TARGET_BITMAP _GDK_MAKE_ATOM (5)
|
|
#define GDK_TARGET_COLORMAP _GDK_MAKE_ATOM (7)
|
|
#define GDK_TARGET_DRAWABLE _GDK_MAKE_ATOM (17)
|
|
#define GDK_TARGET_PIXMAP _GDK_MAKE_ATOM (20)
|
|
#define GDK_TARGET_STRING _GDK_MAKE_ATOM (31)
|
|
#define GDK_SELECTION_TYPE_ATOM _GDK_MAKE_ATOM (4)
|
|
#define GDK_SELECTION_TYPE_BITMAP _GDK_MAKE_ATOM (5)
|
|
#define GDK_SELECTION_TYPE_COLORMAP _GDK_MAKE_ATOM (7)
|
|
#define GDK_SELECTION_TYPE_DRAWABLE _GDK_MAKE_ATOM (17)
|
|
#define GDK_SELECTION_TYPE_INTEGER _GDK_MAKE_ATOM (19)
|
|
#define GDK_SELECTION_TYPE_PIXMAP _GDK_MAKE_ATOM (20)
|
|
#define GDK_SELECTION_TYPE_WINDOW _GDK_MAKE_ATOM (33)
|
|
#define GDK_SELECTION_TYPE_STRING _GDK_MAKE_ATOM (31)
|
|
|
|
#ifndef GDK_DISABLE_DEPRECATED
|
|
|
|
typedef GdkAtom GdkSelection;
|
|
typedef GdkAtom GdkTarget;
|
|
typedef GdkAtom GdkSelectionType;
|
|
|
|
#endif /* GDK_DISABLE_DEPRECATED */
|
|
|
|
/* Selections
|
|
*/
|
|
|
|
#ifndef GDK_MULTIHEAD_SAFE
|
|
gboolean gdk_selection_owner_set (GdkWindow *owner,
|
|
GdkAtom selection,
|
|
guint32 time_,
|
|
gboolean send_event);
|
|
GdkWindow* gdk_selection_owner_get (GdkAtom selection);
|
|
#endif/* GDK_MULTIHEAD_SAFE */
|
|
|
|
gboolean gdk_selection_owner_set_for_display (GdkDisplay *display,
|
|
GdkWindow *owner,
|
|
GdkAtom selection,
|
|
guint32 time_,
|
|
gboolean send_event);
|
|
GdkWindow *gdk_selection_owner_get_for_display (GdkDisplay *display,
|
|
GdkAtom selection);
|
|
|
|
void gdk_selection_convert (GdkWindow *requestor,
|
|
GdkAtom selection,
|
|
GdkAtom target,
|
|
guint32 time_);
|
|
gboolean gdk_selection_property_get (GdkWindow *requestor,
|
|
guchar **data,
|
|
GdkAtom *prop_type,
|
|
gint *prop_format);
|
|
|
|
#ifndef GDK_MULTIHEAD_SAFE
|
|
void gdk_selection_send_notify (guint32 requestor,
|
|
GdkAtom selection,
|
|
GdkAtom target,
|
|
GdkAtom property,
|
|
guint32 time_);
|
|
#endif /* GDK_MULTIHEAD_SAFE */
|
|
|
|
void gdk_selection_send_notify_for_display (GdkDisplay *display,
|
|
guint32 requestor,
|
|
GdkAtom selection,
|
|
GdkAtom target,
|
|
GdkAtom property,
|
|
guint32 time_);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __GDK_SELECTION_H__ */
|