Class

PhocSeat

since: 0

Description [src]

class Phoc.Seat : GObject.Object
{
  seat: wlr_seat*,
  cursor: PhocCursor*,
  touch_id: int32_t,
  touch_x: double,
  touch_y: double,
  focused_layer: wlr_layer_surface_v1*,
  im_relay: PhocInputMethodRelay,
  views: wl_list,
  has_focus: _Bool,
  drag_icon: PhocDragIcon*,
  keyboards: GSList*,
  pointers: GSList*,
  switches: GSList*,
  touch: GSList*,
  tablets: GSList*,
  tablet_pads: wl_list,
  request_set_selection: wl_listener,
  request_set_primary_selection: wl_listener,
  request_start_drag: wl_listener,
  start_drag: wl_listener,
  destroy: wl_listener
}

Represents a seat.

Available since: 0

Ancestors

Constructors

phoc_seat_new
No description available.

since: 0

Functions

phoc_seat_from_wlr_seat
No description available.

since: 0

Instance methods

phoc_seat_add_device
No description available.

since: 0

phoc_seat_allow_input
No description available.

since: 0

phoc_seat_begin_move
No description available.

since: 0

phoc_seat_begin_resize
No description available.

since: 0

phoc_seat_configure_cursor
No description available.

since: 0

phoc_seat_configure_xcursor
No description available.

since: 0

phoc_seat_cycle_focus

Cycles the input focus through the current seat views. Depending on forward it cycles either forward or backward.

since: 0

phoc_seat_end_compositor_grab
No description available.

since: 0

phoc_seat_get_cursor

Get the current cursor.

since: 0

phoc_seat_get_focus_view
No description available.

since: 0

phoc_seat_grab_meta_press
No description available.

since: 0

phoc_seat_has_hw_keyboard
No description available.

since: 0

phoc_seat_has_keyboard
No description available.

since: 0

phoc_seat_has_pointer
No description available.

since: 0

phoc_seat_has_switch
No description available.

since: 0

phoc_seat_has_touch
No description available.

since: 0

phoc_seat_maybe_set_cursor

Show a cursor if the seat has pointer capabilities.

since: 0

phoc_seat_set_exclusive_client

If %client is no NULL only this client can receive input events.

since: 0

phoc_seat_set_focus_layer
No description available.

since: 0

phoc_seat_set_focus_view

If possible it will unfocus the currently focused view and focus the given %view, raise it if necessary and make it appear activated. If NULL is passed only the current view is unfocsed.

since: 0

phoc_seat_view_from_view
No description available.

since: 0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Phoc.Seat:input

The %PhocInput that keeps track of all seats.

since: 0

Phoc.Seat:name

The name of this seat.

since: 0

Signals

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 PhocSeatClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.