gdkproperty-win32.c File Reference

#include "config.h"
#include <string.h>
#include "gdkproperty.h"
#include "gdkselection.h"
#include "gdkprivate.h"
#include "gdkwin32.h"

Go to the source code of this file.

Functions

GdkAtom gdk_atom_intern (const gchar *atom_name, gint only_if_exists)
gchargdk_atom_name (GdkAtom atom)
gint gdk_property_get (GdkWindow *window, GdkAtom property, GdkAtom type, gulong offset, gulong length, gint pdelete, GdkAtom *actual_property_type, gint *actual_format_type, gint *actual_length, guchar **data)
void gdk_property_change (GdkWindow *window, GdkAtom property, GdkAtom type, gint format, GdkPropMode mode, const guchar *data, gint nelements)
void gdk_property_delete (GdkWindow *window, GdkAtom property)


Function Documentation

GdkAtom gdk_atom_intern ( const gchar atom_name,
gint  only_if_exists 
)

Definition at line 36 of file gdkproperty-win32.c.

References g_hash_table_insert(), g_hash_table_lookup(), g_hash_table_new(), g_str_equal(), g_str_hash(), g_strdup(), GDK_SELECTION_PRIMARY, GDK_SELECTION_SECONDARY, GDK_SELECTION_TYPE_ATOM, GDK_SELECTION_TYPE_BITMAP, GDK_SELECTION_TYPE_COLORMAP, GDK_SELECTION_TYPE_DRAWABLE, GDK_SELECTION_TYPE_INTEGER, GDK_SELECTION_TYPE_PIXMAP, GDK_SELECTION_TYPE_STRING, GDK_SELECTION_TYPE_WINDOW, GPOINTER_TO_UINT, GUINT_TO_POINTER, NULL, and retval.

gchar* gdk_atom_name ( GdkAtom  atom  ) 

Definition at line 80 of file gdkproperty-win32.c.

References g_strdup(), g_strdup_printf(), gchar, GDK_SELECTION_PRIMARY, GDK_SELECTION_SECONDARY, GDK_SELECTION_TYPE_ATOM, GDK_SELECTION_TYPE_BITMAP, GDK_SELECTION_TYPE_COLORMAP, GDK_SELECTION_TYPE_DRAWABLE, GDK_SELECTION_TYPE_INTEGER, GDK_SELECTION_TYPE_PIXMAP, GDK_SELECTION_TYPE_STRING, GDK_SELECTION_TYPE_WINDOW, name, and NULL.

Referenced by gdk_property_change(), gdk_property_delete(), gdk_selection_convert(), gdk_selection_owner_get(), gdk_selection_owner_set(), and gdk_selection_send_notify().

void gdk_property_change ( GdkWindow window,
GdkAtom  property,
GdkAtom  type,
gint  format,
GdkPropMode  mode,
const guchar data,
gint  nelements 
)

Definition at line 136 of file gdkproperty-win32.c.

References g_free(), g_print(), g_return_if_fail, g_warning(), gchar, gdk_atom_name(), GDK_DRAWABLE_DESTROYED, GDK_DRAWABLE_XID, GDK_IS_WINDOW, GDK_NOTE, GDK_PROP_MODE_APPEND, GDK_PROP_MODE_PREPEND, GDK_PROP_MODE_REPLACE, gdk_selection_property, GDK_TARGET_STRING, i, length, NULL, ptr, and WIN32_API_FAILED.

Referenced by TGWin32::ChangeProperty().

void gdk_property_delete ( GdkWindow window,
GdkAtom  property 
)

Definition at line 209 of file gdkproperty-win32.c.

References g_free(), g_print(), g_return_if_fail, g_warning(), gchar, gdk_atom_name(), GDK_DRAWABLE_XID, GDK_IS_WINDOW, GDK_NOTE, gdk_selection_property, gdk_selection_property_delete(), and NULL.

Referenced by TGWin32::GetPasteBuffer().

gint gdk_property_get ( GdkWindow window,
GdkAtom  property,
GdkAtom  type,
gulong  offset,
gulong  length,
gint  pdelete,
GdkAtom actual_property_type,
gint actual_format_type,
gint actual_length,
guchar **  data 
)

Definition at line 114 of file gdkproperty-win32.c.

References FALSE, g_return_val_if_fail, g_warning(), GDK_DRAWABLE_DESTROYED, GDK_IS_WINDOW, and NULL.


Generated on Tue Jul 5 15:58:42 2011 for ROOT_528-00b_version by  doxygen 1.5.1