Class

PhocSeat

[]

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,
  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.

[]

Ancestors

[]

Constructors

phoc_seat_new
No description available.

[]

Functions

phoc_seat_from_wlr_seat
No description available.

[]

Instance methods

phoc_seat_add_device
No description available.

phoc_seat_allow_input
No description available.

phoc_seat_begin_move
No description available.

phoc_seat_begin_resize
No description available.

phoc_seat_configure_cursor
No description available.

phoc_seat_cycle_focus

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

phoc_seat_end_compositor_grab
No description available.

phoc_seat_get_cursor

Get the current cursor.

phoc_seat_get_focus_view
No description available.

phoc_seat_get_last_button_or_touch_serial
No description available.

phoc_seat_get_last_event_ts
No description available.

phoc_seat_grab_meta_press
No description available.

phoc_seat_has_hw_keyboard
No description available.

phoc_seat_has_keyboard
No description available.

phoc_seat_has_pointer
No description available.

phoc_seat_has_switch
No description available.

phoc_seat_has_touch
No description available.

phoc_seat_maybe_set_cursor
No description available.

phoc_seat_notify_activity
No description available.

phoc_seat_set_exclusive_client

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

phoc_seat_set_focus_layer
No description available.

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 unfocused.

phoc_seat_update_last_button_serial
No description available.

phoc_seat_update_last_touch_serial
No description available.

phoc_seat_view_from_view

Looks up the seat view tracking the given view. If no seat view is found a new one is created.

Methods inherited from GObject (43)
[]

Properties

Phoc.Seat:input

The %PhocInput that keeps track of all seats.

Phoc.Seat:name

The name of this seat.

[]

Signals

Signals inherited from GObject (1)

Class structure