Class

PhocCursor

since: 0

Description

class Phoc.Cursor : GObject.Object
{
  seat: PhocSeat*,
  cursor: wlr_cursor*,
  active_constraint: wlr_pointer_constraint_v1*,
  confine: pixman_region32_t,
  default_xcursor: const char*,
  mode: PhocCursorMode,
  xcursor_manager: wlr_xcursor_manager*,
  cursor_client: wl_client*,
  offs_x: int,
  offs_y: int,
  view_x: int,
  view_y: int,
  view_width: int,
  view_height: int,
  resize_edges: uint32_t,
  pointer_view: PhocSeatView*,
  wlr_surface: wlr_surface*,
  motion: wl_listener,
  motion_absolute: wl_listener,
  button: wl_listener,
  axis: wl_listener,
  frame: wl_listener,
  swipe_begin: wl_listener,
  swipe_update: wl_listener,
  swipe_end: wl_listener,
  pinch_begin: wl_listener,
  pinch_update: wl_listener,
  pinch_end: wl_listener,
  touch_down: wl_listener,
  touch_up: wl_listener,
  touch_motion: wl_listener,
  touch_frame: wl_listener,
  tool_axis: wl_listener,
  tool_tip: wl_listener,
  tool_proximity: wl_listener,
  tool_button: wl_listener,
  request_set_cursor: wl_listener,
  focus_change: wl_listener,
  constraint_commit: wl_listener
}
No description available.

Available since: 0

Ancestors

Constructors

phoc_cursor_new
No description available.

since: 0

Instance methods

phoc_cursor_add_gesture

Adds a gesture to the list of gestures handled by self.

since: 0

phoc_cursor_constrain
No description available.

since: 0

phoc_cursor_get_gestures

Gets the currently registered gestures self.

since: 0

phoc_cursor_handle_event

Feed an event that happened at the cursor coordinates of type type to the event system. This gives all gestures that are registered in the compositor a chance to handle the event.

since: 0

phoc_cursor_handle_focus_change
No description available.

since: 0

phoc_cursor_handle_request_set_cursor
No description available.

since: 0

phoc_cursor_handle_tool_axis
No description available.

since: 0

phoc_cursor_handle_tool_tip
No description available.

since: 0

phoc_cursor_handle_touch_down
No description available.

since: 0

phoc_cursor_handle_touch_motion
No description available.

since: 0

phoc_cursor_handle_touch_up
No description available.

since: 0

phoc_cursor_is_active_touch_id
No description available.

since: 0

phoc_cursor_update_focus
No description available.

since: 0

phoc_cursor_update_position
No description available.

since: 0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Phoc.Cursor:seat
No description available.

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