Class: Gdk::Seat

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Overview

The GdkSeat object represents a collection of input devices that belong to a user.

Instance Method Summary collapse

Instance Method Details

#capabilitiesGdk::SeatCapabilities

Returns the capabilities this GdkSeat currently has.

Returns:

#displayGdk::Display

GdkDisplay of this seat.

Returns:

#display=(display) ⇒ Gdk::Display

GdkDisplay of this seat.

Parameters:

Returns:

#get_devices(capabilities) ⇒ GLib::List<Gdk::Device>

Returns the devices that match the given capabilities.

Parameters:

Returns:

  • (GLib::List<Gdk::Device>)

    A list of GdkDevices. The list must be freed with g_list_free(), the elements are owned by GTK and must not be freed.

#keyboardGdk::Device

Returns the device that routes keyboard events.

Returns:

  • (Gdk::Device)

    a GdkDevice with keyboard capabilities. This object is owned by GTK and must not be freed.

#pointerGdk::Device

Returns the device that routes pointer events.

Returns:

  • (Gdk::Device)

    a GdkDevice with pointer capabilities. This object is owned by GTK and must not be freed.

#toolsGLib::List<Gdk::DeviceTool>

Returns all GdkDeviceTools that are known to the application.

Returns:

  • (GLib::List<Gdk::DeviceTool>)

    A list of tools. Free with g_list_free().