Class

PhocSwitch

since: 0

Description [src]

final class Phoc.Switch : Phoc.InputDevice
{
  /* No available fields */
}

A switch device. E.g. a tablet mode switch or laptop lid switch.

Available since: 0

Constructors

phoc_switch_new
No description available.

since: 0

Instance methods

phoc_switch_is_lid_switch
No description available.

since: 0

phoc_switch_is_tablet_mode_switch
No description available.

since: 0

phoc_switch_is_type
No description available.

since: 0

Methods inherited from PhocInputDevice (10)
phoc_input_device_get_device
No description available.

since: 0

phoc_input_device_get_device_type
No description available.

since: 0

phoc_input_device_get_is_keyboard
No description available.

since: 0

phoc_input_device_get_is_libinput
No description available.

since: 0

phoc_input_device_get_is_touchpad
No description available.

since: 0

phoc_input_device_get_libinput_device_handle
No description available.

since: 0

phoc_input_device_get_name
No description available.

since: 0

phoc_input_device_get_product_id

Gets the product id as string. This is often represented by a hex number corresponding to the usb product id.

since: 0

phoc_input_device_get_seat
No description available.

since: 0

phoc_input_device_get_vendor_id

Gets the vendor id as string. This is often represented by a hex number corresponding to the usb vendor id.

since: 0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from PhocInputDevice (2)
Phoc.InputDevice:device

The underlying wlroots device.

since: 0

Phoc.InputDevice:seat

The seat this device belongs to.

since: 0

Signals

Phoc.Switch::toggled
No description available.

since: 0

Signals inherited from PhocInputDevice (1)
PhocInputDevice::device-destroy

The underlying wlr input device is about to be destroyed.

since: 0

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

unstable since: 2.0

Class structure

struct PhocSwitchClass {
  PhocInputDeviceClass parent_class;
  
}
No description available.
Class members
parent_class: PhocInputDeviceClass
No description available.