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,
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_drag_icon
Adds a drag icon’s damage to the damaged area of self
. We always
damage the whole surface.
phoc_output_damage_from_layer_surface
Adds a PhocLayerSurface
‘s damage to the damaged area of
self
. If whole
is TRUE
the whole surface area is explicitly
damaged. Otherwise only already present damage is collected.
phoc_output_damage_from_surface
Adds a surface’s damage to the damaged area of self
. If whole
is TRUE
the whole surface area is explicitly damaged. Otherwise
only already present damage is collected.
phoc_output_damage_from_view
Adds a PhocView
‘s damage to the damaged area of self
. If
whole
is TRUE
the whole surface area is explicitly damaged.
Otherwise only already present damage is collected.
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. A spinner can be displayed on the raised shield.
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.