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

Go to the source code of this file.

Classes

struct  _GdkDeviceKey
 
struct  _GdkDeviceAxis
 
struct  _GdkDevice
 
struct  _GdkTimeCoord
 

Macros

#define GDK_TYPE_DEVICE   (gdk_device_get_type ())
 
#define GDK_DEVICE(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DEVICE, GdkDevice))
 
#define GDK_DEVICE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DEVICE, GdkDeviceClass))
 
#define GDK_IS_DEVICE(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DEVICE))
 
#define GDK_IS_DEVICE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DEVICE))
 
#define GDK_DEVICE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DEVICE, GdkDeviceClass))
 
#define GDK_MAX_TIMECOORD_AXES   128
 

Typedefs

typedef struct _GdkDeviceKey GdkDeviceKey
 
typedef struct _GdkDeviceAxis GdkDeviceAxis
 
typedef struct _GdkDevice GdkDevice
 
typedef struct _GdkDeviceClass GdkDeviceClass
 
typedef struct _GdkTimeCoord GdkTimeCoord
 

Enumerations

enum  GdkExtensionMode { GDK_EXTENSION_EVENTS_NONE , GDK_EXTENSION_EVENTS_ALL , GDK_EXTENSION_EVENTS_CURSOR }
 
enum  GdkInputSource { GDK_SOURCE_MOUSE , GDK_SOURCE_PEN , GDK_SOURCE_ERASER , GDK_SOURCE_CURSOR }
 
enum  GdkInputMode { GDK_MODE_DISABLED , GDK_MODE_SCREEN , GDK_MODE_WINDOW }
 
enum  GdkAxisUse {
  GDK_AXIS_IGNORE , GDK_AXIS_X , GDK_AXIS_Y , GDK_AXIS_PRESSURE ,
  GDK_AXIS_XTILT , GDK_AXIS_YTILT , GDK_AXIS_WHEEL , GDK_AXIS_LAST
}
 

Functions

GType gdk_device_get_type (void) G_GNUC_CONST
 
GList * gdk_devices_list (void)
 
const gchar * gdk_device_get_name (GdkDevice *device)
 
GdkInputSource gdk_device_get_source (GdkDevice *device)
 
GdkInputMode gdk_device_get_mode (GdkDevice *device)
 
gboolean gdk_device_get_has_cursor (GdkDevice *device)
 
void gdk_device_get_key (GdkDevice *device, guint index, guint *keyval, GdkModifierType *modifiers)
 
GdkAxisUse gdk_device_get_axis_use (GdkDevice *device, guint index)
 
gint gdk_device_get_n_keys (GdkDevice *device)
 
gint gdk_device_get_n_axes (GdkDevice *device)
 
void gdk_device_set_source (GdkDevice *device, GdkInputSource source)
 
gboolean gdk_device_set_mode (GdkDevice *device, GdkInputMode mode)
 
void gdk_device_set_key (GdkDevice *device, guint index_, guint keyval, GdkModifierType modifiers)
 
void gdk_device_set_axis_use (GdkDevice *device, guint index_, GdkAxisUse use)
 
void gdk_device_get_state (GdkDevice *device, GdkWindow *window, gdouble *axes, GdkModifierType *mask)
 
gboolean gdk_device_get_history (GdkDevice *device, GdkWindow *window, guint32 start, guint32 stop, GdkTimeCoord ***events, gint *n_events)
 
void gdk_device_free_history (GdkTimeCoord **events, gint n_events)
 
gboolean gdk_device_get_axis (GdkDevice *device, gdouble *axes, GdkAxisUse use, gdouble *value)
 
void gdk_input_set_extension_events (GdkWindow *window, gint mask, GdkExtensionMode mode)
 
GdkDevicegdk_device_get_core_pointer (void)
 

Macro Definition Documentation

◆ GDK_DEVICE

#define GDK_DEVICE (   object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DEVICE, GdkDevice))

Definition at line 39 of file gdkinput.h.

◆ GDK_DEVICE_CLASS

#define GDK_DEVICE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DEVICE, GdkDeviceClass))

Definition at line 40 of file gdkinput.h.

◆ GDK_DEVICE_GET_CLASS

#define GDK_DEVICE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DEVICE, GdkDeviceClass))

Definition at line 43 of file gdkinput.h.

◆ GDK_IS_DEVICE

#define GDK_IS_DEVICE (   object)    (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DEVICE))

Definition at line 41 of file gdkinput.h.

◆ GDK_IS_DEVICE_CLASS

#define GDK_IS_DEVICE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DEVICE))

Definition at line 42 of file gdkinput.h.

◆ GDK_MAX_TIMECOORD_AXES

#define GDK_MAX_TIMECOORD_AXES   128

Definition at line 118 of file gdkinput.h.

◆ GDK_TYPE_DEVICE

#define GDK_TYPE_DEVICE   (gdk_device_get_type ())

Definition at line 38 of file gdkinput.h.

Typedef Documentation

◆ GdkDevice

typedef struct _GdkDevice GdkDevice

Definition at line 36 of file gdkinput.h.

◆ GdkDeviceAxis

typedef struct _GdkDeviceAxis GdkDeviceAxis

Definition at line 36 of file gdkinput.h.

◆ GdkDeviceClass

Definition at line 36 of file gdkinput.h.

◆ GdkDeviceKey

typedef struct _GdkDeviceKey GdkDeviceKey

Definition at line 36 of file gdkinput.h.

◆ GdkTimeCoord

typedef struct _GdkTimeCoord GdkTimeCoord

Definition at line 36 of file gdkinput.h.

Enumeration Type Documentation

◆ GdkAxisUse

enum GdkAxisUse
Enumerator
GDK_AXIS_IGNORE 
GDK_AXIS_X 
GDK_AXIS_Y 
GDK_AXIS_PRESSURE 
GDK_AXIS_XTILT 
GDK_AXIS_YTILT 
GDK_AXIS_WHEEL 
GDK_AXIS_LAST 

Definition at line 73 of file gdkinput.h.

◆ GdkExtensionMode

Enumerator
GDK_EXTENSION_EVENTS_NONE 
GDK_EXTENSION_EVENTS_ALL 
GDK_EXTENSION_EVENTS_CURSOR 

Definition at line 51 of file gdkinput.h.

◆ GdkInputMode

Enumerator
GDK_MODE_DISABLED 
GDK_MODE_SCREEN 
GDK_MODE_WINDOW 

Definition at line 66 of file gdkinput.h.

◆ GdkInputSource

Enumerator
GDK_SOURCE_MOUSE 
GDK_SOURCE_PEN 
GDK_SOURCE_ERASER 
GDK_SOURCE_CURSOR 

Definition at line 58 of file gdkinput.h.

Function Documentation

◆ gdk_device_free_history()

void gdk_device_free_history ( GdkTimeCoord **  events,
gint  n_events 
)

◆ gdk_device_get_axis()

gboolean gdk_device_get_axis ( GdkDevice device,
gdouble *  axes,
GdkAxisUse  use,
gdouble *  value 
)

◆ gdk_device_get_axis_use()

GdkAxisUse gdk_device_get_axis_use ( GdkDevice device,
guint  index 
)

◆ gdk_device_get_core_pointer()

GdkDevice* gdk_device_get_core_pointer ( void  )

◆ gdk_device_get_has_cursor()

gboolean gdk_device_get_has_cursor ( GdkDevice device)

◆ gdk_device_get_history()

gboolean gdk_device_get_history ( GdkDevice device,
GdkWindow window,
guint32  start,
guint32  stop,
GdkTimeCoord ***  events,
gint *  n_events 
)

◆ gdk_device_get_key()

void gdk_device_get_key ( GdkDevice device,
guint  index,
guint *  keyval,
GdkModifierType modifiers 
)

◆ gdk_device_get_mode()

GdkInputMode gdk_device_get_mode ( GdkDevice device)

◆ gdk_device_get_n_axes()

gint gdk_device_get_n_axes ( GdkDevice device)

◆ gdk_device_get_n_keys()

gint gdk_device_get_n_keys ( GdkDevice device)

◆ gdk_device_get_name()

const gchar* gdk_device_get_name ( GdkDevice device)

◆ gdk_device_get_source()

GdkInputSource gdk_device_get_source ( GdkDevice device)

◆ gdk_device_get_state()

void gdk_device_get_state ( GdkDevice device,
GdkWindow window,
gdouble *  axes,
GdkModifierType mask 
)

◆ gdk_device_get_type()

GType gdk_device_get_type ( void  )

◆ gdk_device_set_axis_use()

void gdk_device_set_axis_use ( GdkDevice device,
guint  index_,
GdkAxisUse  use 
)

◆ gdk_device_set_key()

void gdk_device_set_key ( GdkDevice device,
guint  index_,
guint  keyval,
GdkModifierType  modifiers 
)

◆ gdk_device_set_mode()

gboolean gdk_device_set_mode ( GdkDevice device,
GdkInputMode  mode 
)

◆ gdk_device_set_source()

void gdk_device_set_source ( GdkDevice device,
GdkInputSource  source 
)

◆ gdk_devices_list()

GList* gdk_devices_list ( void  )

◆ gdk_input_set_extension_events()

void gdk_input_set_extension_events ( GdkWindow window,
gint  mask,
GdkExtensionMode  mode 
)