Class
PhocOutput
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.
Instance methods
phoc_output_damage_from_view
Adds a PhocView
‘s 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.
phoc_output_drag_icons_for_each_surface
Iterate over the surface tree of the drag icon’s surface of an input’s seats.
phoc_output_force_shell_reveal
Allows to force shell reveal status regardless of whether other conditions are being fulfilled.
phoc_output_get_layer_surfaces_for_layer
Get a list of PhocLayerSurface
s on this output in the given
layer
in rendering order.
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.
phoc_output_lower_shield
Lowers an output shield that is in place to hide the outputs current content.
phoc_output_raise_shield
Raise an output shield will be put in place to hide the outputs current content.
phoc_output_remove_frame_callbacks_by_animatable
Remove all frame callbacks for the given PhocAnimatable
.
phoc_output_transform_damage
Transforms the given damage region according to the output’s transform.
Methods inherited from GInitable (1)
g_initable_init
Initializes the object implementing the interface.
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.
phoc_animatable_remove_frame_callback
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.