Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkdevice.h File Reference
#include <gdk/gdktypes.h>
#include <gdk/gdkdevicetool.h>
#include <gdk/gdkenums.h>

Go to the source code of this file.

Data Structures

struct  _GdkTimeCoord
 

Macros

#define GDK_TYPE_DEVICE   (gdk_device_get_type ())
 
#define GDK_DEVICE(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_DEVICE, GdkDevice))
 
#define GDK_IS_DEVICE(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_DEVICE))
 

Typedefs

typedef struct _GdkTimeCoord GdkTimeCoord
 

Enumerations

enum  GdkInputSource {
  GDK_SOURCE_MOUSE , GDK_SOURCE_PEN , GDK_SOURCE_KEYBOARD , GDK_SOURCE_TOUCHSCREEN ,
  GDK_SOURCE_TOUCHPAD , GDK_SOURCE_TRACKPOINT , GDK_SOURCE_TABLET_PAD
}
 

Functions

GDK_AVAILABLE_IN_ALL GType gdk_device_get_type (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL const char * gdk_device_get_name (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL const char * gdk_device_get_vendor_id (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL const char * gdk_device_get_product_id (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL GdkDisplaygdk_device_get_display (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL GdkSeatgdk_device_get_seat (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL GdkDeviceToolgdk_device_get_device_tool (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL GdkInputSource gdk_device_get_source (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL gboolean gdk_device_get_has_cursor (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL guint gdk_device_get_num_touches (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL GdkModifierType gdk_device_get_modifier_state (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL PangoDirection gdk_device_get_direction (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL gboolean gdk_device_has_bidi_layouts (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL gboolean gdk_device_get_caps_lock_state (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL gboolean gdk_device_get_num_lock_state (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL gboolean gdk_device_get_scroll_lock_state (GdkDevice *device)
 
GDK_AVAILABLE_IN_ALL GdkSurfacegdk_device_get_surface_at_position (GdkDevice *device, double *win_x, double *win_y)
 
GDK_AVAILABLE_IN_4_2 guint32 gdk_device_get_timestamp (GdkDevice *device)
 

Macro Definition Documentation

◆ GDK_DEVICE

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

Definition at line 31 of file gdkdevice.h.

◆ GDK_IS_DEVICE

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

Definition at line 32 of file gdkdevice.h.

◆ GDK_TYPE_DEVICE

#define GDK_TYPE_DEVICE   (gdk_device_get_type ())

Definition at line 30 of file gdkdevice.h.

Typedef Documentation

◆ GdkTimeCoord

typedef struct _GdkTimeCoord GdkTimeCoord

Definition at line 34 of file gdkdevice.h.

Enumeration Type Documentation

◆ GdkInputSource

GdkInputSource: @GDK_SOURCE_MOUSE: the device is a mouse. (This will be reported for the core pointer, even if it is something else, such as a trackball.) @GDK_SOURCE_PEN: the device is a stylus of a graphics tablet or similar device. @GDK_SOURCE_KEYBOARD: the device is a keyboard. @GDK_SOURCE_TOUCHSCREEN: the device is a direct-input touch device, such as a touchscreen or tablet @GDK_SOURCE_TOUCHPAD: the device is an indirect touch device, such as a touchpad @GDK_SOURCE_TRACKPOINT: the device is a trackpoint @GDK_SOURCE_TABLET_PAD: the device is a "pad", a collection of buttons, rings and strips found in drawing tablets

An enumeration describing the type of an input device in general terms.

Enumerator
GDK_SOURCE_MOUSE 
GDK_SOURCE_PEN 
GDK_SOURCE_KEYBOARD 
GDK_SOURCE_TOUCHSCREEN 
GDK_SOURCE_TOUCHPAD 
GDK_SOURCE_TRACKPOINT 
GDK_SOURCE_TABLET_PAD 

Definition at line 52 of file gdkdevice.h.

53{
GdkInputSource
Definition gdkdevice.h:53
@ GDK_SOURCE_TABLET_PAD
Definition gdkdevice.h:60
@ GDK_SOURCE_TOUCHSCREEN
Definition gdkdevice.h:57
@ GDK_SOURCE_TRACKPOINT
Definition gdkdevice.h:59
@ GDK_SOURCE_KEYBOARD
Definition gdkdevice.h:56
@ GDK_SOURCE_TOUCHPAD
Definition gdkdevice.h:58
@ GDK_SOURCE_PEN
Definition gdkdevice.h:55
@ GDK_SOURCE_MOUSE
Definition gdkdevice.h:54

Function Documentation

◆ gdk_device_get_caps_lock_state()

GDK_AVAILABLE_IN_ALL gboolean gdk_device_get_caps_lock_state ( GdkDevice * device)

◆ gdk_device_get_device_tool()

GDK_AVAILABLE_IN_ALL GdkDeviceTool * gdk_device_get_device_tool ( GdkDevice * device)

◆ gdk_device_get_direction()

GDK_AVAILABLE_IN_ALL PangoDirection gdk_device_get_direction ( GdkDevice * device)

◆ gdk_device_get_display()

GDK_AVAILABLE_IN_ALL GdkDisplay * gdk_device_get_display ( GdkDevice * device)

◆ gdk_device_get_has_cursor()

GDK_AVAILABLE_IN_ALL gboolean gdk_device_get_has_cursor ( GdkDevice * device)

◆ gdk_device_get_modifier_state()

GDK_AVAILABLE_IN_ALL GdkModifierType gdk_device_get_modifier_state ( GdkDevice * device)

◆ gdk_device_get_name()

GDK_AVAILABLE_IN_ALL const char * gdk_device_get_name ( GdkDevice * device)

◆ gdk_device_get_num_lock_state()

GDK_AVAILABLE_IN_ALL gboolean gdk_device_get_num_lock_state ( GdkDevice * device)

◆ gdk_device_get_num_touches()

GDK_AVAILABLE_IN_ALL guint gdk_device_get_num_touches ( GdkDevice * device)

◆ gdk_device_get_product_id()

GDK_AVAILABLE_IN_ALL const char * gdk_device_get_product_id ( GdkDevice * device)

◆ gdk_device_get_scroll_lock_state()

GDK_AVAILABLE_IN_ALL gboolean gdk_device_get_scroll_lock_state ( GdkDevice * device)

◆ gdk_device_get_seat()

GDK_AVAILABLE_IN_ALL GdkSeat * gdk_device_get_seat ( GdkDevice * device)

◆ gdk_device_get_source()

GDK_AVAILABLE_IN_ALL GdkInputSource gdk_device_get_source ( GdkDevice * device)

◆ gdk_device_get_surface_at_position()

GDK_AVAILABLE_IN_ALL GdkSurface * gdk_device_get_surface_at_position ( GdkDevice * device,
double * win_x,
double * win_y )

◆ gdk_device_get_timestamp()

GDK_AVAILABLE_IN_4_2 guint32 gdk_device_get_timestamp ( GdkDevice * device)

◆ gdk_device_get_type()

GDK_AVAILABLE_IN_ALL GType gdk_device_get_type ( void )

◆ gdk_device_get_vendor_id()

GDK_AVAILABLE_IN_ALL const char * gdk_device_get_vendor_id ( GdkDevice * device)

◆ gdk_device_has_bidi_layouts()

GDK_AVAILABLE_IN_ALL gboolean gdk_device_has_bidi_layouts ( GdkDevice * device)