Defines | Functions

xap_Gtk2Compat.h File Reference

#include "ut_types.h"
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>

Go to the source code of this file.

Defines

#define GDK_KEY_3270_Enter   GDK_3270_Enter
#define GDK_KEY_BackSpace   GDK_BackSpace
#define GDK_KEY_Delete   GDK_Delete
#define GDK_KEY_Down   GDK_Down
#define GDK_KEY_Escape   GDK_Escape
#define GDK_KEY_F1   GDK_F1
#define GDK_KEY_Help   GDK_Help
#define GDK_KEY_ISO_Enter   GDK_ISO_Enter
#define GDK_KEY_KP_0   GDK_KP_0
#define GDK_KEY_KP_9   GDK_KP_9
#define GDK_KEY_KP_Down   GDK_KP_Down
#define GDK_KEY_KP_Enter   GDK_KP_Enter
#define GDK_KEY_KP_Escape   GDK_KP_Escape
#define GDK_KEY_KP_Left   GDK_KP_Left
#define GDK_KEY_KP_Right   GDK_KP_Right
#define GDK_KEY_KP_Space   GDK_KP_Space
#define GDK_KEY_KP_Up   GDK_KP_Up
#define GDK_KEY_Left   GDK_Left
#define GDK_KEY_Return   GDK_Return
#define GDK_KEY_Right   GDK_Right
#define GDK_KEY_space   GDK_space
#define GDK_KEY_Tab   GDK_Tab
#define GDK_KEY_ISO_Left_Tab   GDK_ISO_Left_Tab
#define GDK_KEY_Up   GDK_Up
#define GDK_KEY_VoidSymbol   GDK_VoidSymbol

Functions

void XAP_gtk_color_button_set_rgba (GtkColorButton *colorbtn, const GdkRGBA *color)
void XAP_gtk_color_button_get_rgba (GtkColorButton *colorbtn, GdkRGBA *color)
GdkGrabStatus XAP_gdk_keyboard_grab (GdkWindow *window, gboolean owner_events, guint32 time_)
GdkGrabStatus XAP_gdk_pointer_grab (GdkWindow *window, gboolean owner_events, GdkEventMask event_mask, GdkWindow *confine_to, GdkCursor *cursor, guint32 time_)
void XAP_gdk_keyboard_ungrab (guint32 t)
void XAP_gdk_pointer_ungrab (guint32 t)

Define Documentation

#define GDK_KEY_3270_Enter   GDK_3270_Enter

Referenced by on_key_event().

#define GDK_KEY_BackSpace   GDK_BackSpace

Referenced by __onKeyPressed().

#define GDK_KEY_Delete   GDK_Delete

Referenced by __onKeyPressed().

#define GDK_KEY_Down   GDK_Down
#define GDK_KEY_Escape   GDK_Escape

Referenced by fsel_key_event(), and on_key_event().

#define GDK_KEY_F1   GDK_F1
#define GDK_KEY_Help   GDK_Help
#define GDK_KEY_ISO_Enter   GDK_ISO_Enter

Referenced by on_key_event().

#define GDK_KEY_ISO_Left_Tab   GDK_ISO_Left_Tab
#define GDK_KEY_KP_0   GDK_KP_0

Referenced by s_isVirtualKeyCode().

#define GDK_KEY_KP_9   GDK_KP_9

Referenced by s_isVirtualKeyCode().

#define GDK_KEY_KP_Down   GDK_KP_Down

Referenced by on_key_event().

#define GDK_KEY_KP_Enter   GDK_KP_Enter

Referenced by on_key_event(), and s_isVirtualKeyCode().

#define GDK_KEY_KP_Escape   GDK_KP_Escape
#define GDK_KEY_KP_Left   GDK_KP_Left

Referenced by on_key_event().

#define GDK_KEY_KP_Right   GDK_KP_Right

Referenced by on_key_event().

#define GDK_KEY_KP_Space   GDK_KP_Space

Referenced by on_key_event().

#define GDK_KEY_KP_Up   GDK_KP_Up

Referenced by on_key_event().

#define GDK_KEY_Left   GDK_Left
#define GDK_KEY_Return   GDK_Return
#define GDK_KEY_Right   GDK_Right
#define GDK_KEY_space   GDK_space

Referenced by on_key_event().

#define GDK_KEY_Tab   GDK_Tab
#define GDK_KEY_Up   GDK_Up
#define GDK_KEY_VoidSymbol   GDK_VoidSymbol

Function Documentation

GdkGrabStatus XAP_gdk_keyboard_grab ( GdkWindow *  window,
gboolean  owner_events,
guint32  time_ 
) [inline]

Referenced by popup_grab_on_window().

void XAP_gdk_keyboard_ungrab ( guint32  t  )  [inline]
GdkGrabStatus XAP_gdk_pointer_grab ( GdkWindow *  window,
gboolean  owner_events,
GdkEventMask  event_mask,
GdkWindow *  confine_to,
GdkCursor *  cursor,
guint32  time_ 
) [inline]

References UT_UNUSED.

Referenced by popup_grab_on_window().

void XAP_gdk_pointer_ungrab ( guint32  t  )  [inline]

Referenced by popup_grab_on_window().

void XAP_gtk_color_button_get_rgba ( GtkColorButton *  colorbtn,
GdkRGBA *  color 
) [inline]
void XAP_gtk_color_button_set_rgba ( GtkColorButton *  colorbtn,
const GdkRGBA *  color 
) [inline]