Class

PhocOutput

since: 0

Description [src]

class Phoc.Output : GObject.Object
  implements Gio.Initable, Phoc.Animatable {
  desktop: PhocDesktop*,
  wlr_output: wlr_output*,
  link: wl_list,
  fullscreen_view: PhocView*,
  layer_surfaces: wl_list,
  debug_touch_points: GList*,
  usable_area: wlr_box,
  lx: int,
  ly: int,
  commit: wl_listener,
  output_destroy: wl_listener,
  damage_ring: wlr_damage_ring
}

The output region of a compositor (typically a monitor).

See wlroot’s #wlr_output.

Available since: 0

Ancestors

Constructors

phoc_output_new
No description available.

since: 0

Functions

phoc_output_handle_gamma_control_set_gamma
No description available.

since: 0

phoc_output_handle_output_power_manager_set_mode
No description available.

since: 0

Instance methods

phoc_output_add_frame_callback
No description available.

since: 0

phoc_output_damage_from_surface
No description available.

since: 0

phoc_output_damage_from_view

Adds a PhocViews damage to the damaged area of self. If whole is TRUE the whole view is damaged (including any window decorations if they exist). If whole is FALSE only buffer damage is taken into account. Also schedules a new frame.

since: 0

phoc_output_damage_whole
No description available.

since: 0

phoc_output_damage_whole_drag_icon
No description available.

since: 0

phoc_output_damage_whole_surface
No description available.

since: 0

phoc_output_drag_icons_for_each_surface

Iterate over the surface tree of the drag icon’s surface of an input’s seats.

since: 0

phoc_output_for_each_surface

Iterate over surfaces on the output.

since: 0

phoc_output_force_shell_reveal

Allows to force shell reveal status regardless of whether other conditions are being fulfilled.

since: 0

phoc_output_get_layer_surfaces_for_layer

Get a list of PhocLayerSurfaces on this output in the given layer.

since: 0

phoc_output_get_name
No description available.

since: 0

phoc_output_get_scale
No description available.

since: 0

phoc_output_get_texture_filter_mode
No description available.

since: 0

phoc_output_has_frame_callbacks
No description available.

since: 0

phoc_output_has_fullscreen_view
No description available.

since: 0

phoc_output_has_layer
No description available.

since: 0

phoc_output_has_shell_revealed
No description available.

since: 0

phoc_output_is_builtin
No description available.

since: 0

phoc_output_is_match

Checks if an output matches the given vendor/product/serial information. This is usually used to match on an outputs EDID information.

since: 0

phoc_output_layer_surface_for_each_surface

Iterate over a PhocLayerSurface and it’s popups.

since: 0

phoc_output_lower_shield

Lowers an output shield that is in place to hide the outputs current content.

since: 0

phoc_output_raise_shield

Raise an output shield will be put in place to hide the outputs current content.

since: 0

phoc_output_remove_frame_callback
No description available.

since: 0

phoc_output_remove_frame_callbacks_by_animatable

Remove all frame callbacks for the given PhocAnimatable.

since: 0

phoc_output_surface_for_each_surface

Iterate over surfaces in a wlr_surfaces surface tree.

since: 0

phoc_output_transform_box

Transforms the given box according to the output’s transform.

since: 0

phoc_output_transform_damage

Transforms the given damage region according to the output’s transform.

since: 0

phoc_output_update_shell_reveal

Updates shell reveal status of given output.

since: 0

phoc_output_view_for_each_surface

Iterate over surfaces in a PhocViews surface tree.

since: 0

phoc_output_xdg_surface_for_each_surface

Iterate over surfaces in a wlr_xdg_surfaces surface tree.

since: 0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GInitable (1)
g_initable_init

Initializes the object implementing the interface.

unstable since: 2.22

Methods inherited from PhocAnimatable (2)
phoc_animatable_add_frame_callback

Adds a callback to be called before each frame. Until the frame callback is removed, it will be at the frame rate of the output. The frame callback does not automatically imply any repaint. You need to damage the areas you want repainted.

since: 0

phoc_animatable_remove_frame_callback
No description available.

since: 0

Properties

Phoc.Output:desktop
No description available.

since: 0

Phoc.Output:wlr-output
No description available.

since: 0

Signals

Phoc.Output::output-destroyed
No description available.

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