Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkseat.h File Reference
#include <glib-object.h>
#include <gdk/gdksurface.h>
#include <gdk/gdkevents.h>
#include <gdk/gdktypes.h>

Go to the source code of this file.

Data Structures

struct  _GdkSeat
 

Macros

#define GDK_TYPE_SEAT   (gdk_seat_get_type ())
 
#define GDK_SEAT(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_SEAT, GdkSeat))
 
#define GDK_IS_SEAT(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_SEAT))
 

Enumerations

enum  GdkSeatCapabilities {
  GDK_SEAT_CAPABILITY_NONE = 0 , GDK_SEAT_CAPABILITY_POINTER = 1 << 0 , GDK_SEAT_CAPABILITY_TOUCH = 1 << 1 , GDK_SEAT_CAPABILITY_TABLET_STYLUS = 1 << 2 ,
  GDK_SEAT_CAPABILITY_KEYBOARD = 1 << 3 , GDK_SEAT_CAPABILITY_TABLET_PAD = 1 << 4 , GDK_SEAT_CAPABILITY_ALL_POINTING = (GDK_SEAT_CAPABILITY_POINTER | GDK_SEAT_CAPABILITY_TOUCH | GDK_SEAT_CAPABILITY_TABLET_STYLUS) , GDK_SEAT_CAPABILITY_ALL = (GDK_SEAT_CAPABILITY_ALL_POINTING | GDK_SEAT_CAPABILITY_KEYBOARD | GDK_SEAT_CAPABILITY_TABLET_PAD)
}
 

Functions

GDK_AVAILABLE_IN_ALL GType gdk_seat_get_type (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL GdkDisplaygdk_seat_get_display (GdkSeat *seat)
 
GDK_AVAILABLE_IN_ALL GdkSeatCapabilities gdk_seat_get_capabilities (GdkSeat *seat)
 
GDK_AVAILABLE_IN_ALL GListgdk_seat_get_devices (GdkSeat *seat, GdkSeatCapabilities capabilities)
 
GDK_AVAILABLE_IN_ALL GListgdk_seat_get_tools (GdkSeat *seat)
 
GDK_AVAILABLE_IN_ALL GdkDevicegdk_seat_get_pointer (GdkSeat *seat)
 
GDK_AVAILABLE_IN_ALL GdkDevicegdk_seat_get_keyboard (GdkSeat *seat)
 

Macro Definition Documentation

◆ GDK_IS_SEAT

#define GDK_IS_SEAT ( o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_SEAT))

Definition at line 35 of file gdkseat.h.

◆ GDK_SEAT

#define GDK_SEAT ( o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_SEAT, GdkSeat))

Definition at line 34 of file gdkseat.h.

◆ GDK_TYPE_SEAT

#define GDK_TYPE_SEAT   (gdk_seat_get_type ())

Definition at line 33 of file gdkseat.h.

Enumeration Type Documentation

◆ GdkSeatCapabilities

GdkSeatCapabilities: @GDK_SEAT_CAPABILITY_NONE: No input capabilities @GDK_SEAT_CAPABILITY_POINTER: The seat has a pointer (e.g. mouse) @GDK_SEAT_CAPABILITY_TOUCH: The seat has touchscreen(s) attached @GDK_SEAT_CAPABILITY_TABLET_STYLUS: The seat has drawing tablet(s) attached @GDK_SEAT_CAPABILITY_KEYBOARD: The seat has keyboard(s) attached @GDK_SEAT_CAPABILITY_TABLET_PAD: The seat has drawing tablet pad(s) attached @GDK_SEAT_CAPABILITY_ALL_POINTING: The union of all pointing capabilities @GDK_SEAT_CAPABILITY_ALL: The union of all capabilities

Flags describing the seat capabilities.

Enumerator
GDK_SEAT_CAPABILITY_NONE 
GDK_SEAT_CAPABILITY_POINTER 
GDK_SEAT_CAPABILITY_TOUCH 
GDK_SEAT_CAPABILITY_TABLET_STYLUS 
GDK_SEAT_CAPABILITY_KEYBOARD 
GDK_SEAT_CAPABILITY_TABLET_PAD 
GDK_SEAT_CAPABILITY_ALL_POINTING 
GDK_SEAT_CAPABILITY_ALL 

Definition at line 50 of file gdkseat.h.

Function Documentation

◆ gdk_seat_get_capabilities()

GDK_AVAILABLE_IN_ALL GdkSeatCapabilities gdk_seat_get_capabilities ( GdkSeat * seat)

◆ gdk_seat_get_devices()

GDK_AVAILABLE_IN_ALL GList * gdk_seat_get_devices ( GdkSeat * seat,
GdkSeatCapabilities capabilities )

◆ gdk_seat_get_display()

GDK_AVAILABLE_IN_ALL GdkDisplay * gdk_seat_get_display ( GdkSeat * seat)

◆ gdk_seat_get_keyboard()

GDK_AVAILABLE_IN_ALL GdkDevice * gdk_seat_get_keyboard ( GdkSeat * seat)

◆ gdk_seat_get_pointer()

GDK_AVAILABLE_IN_ALL GdkDevice * gdk_seat_get_pointer ( GdkSeat * seat)

◆ gdk_seat_get_tools()

GDK_AVAILABLE_IN_ALL GList * gdk_seat_get_tools ( GdkSeat * seat)

◆ gdk_seat_get_type()

GDK_AVAILABLE_IN_ALL GType gdk_seat_get_type ( void )