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.

[]

Ancestors

[]

Constructors

phoc_output_new
No description available.

[]

Functions

[]

Instance methods

phoc_output_add_frame_callback
No description available.

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 PhocLayerSurfaces 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 PhocViews 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_whole
No description available.

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_debug_damage

Get the current list of debug damage regions.

phoc_output_get_layer_surfaces_for_layer

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

phoc_output_get_name
No description available.

phoc_output_get_scale
No description available.

phoc_output_get_texture_filter_mode
No description available.

phoc_output_get_wlr_output
No description available.

phoc_output_has_frame_callbacks
No description available.

phoc_output_has_layer
No description available.

phoc_output_has_shell_revealed
No description available.

phoc_output_is_builtin
No description available.

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_layer_surface_for_each_surface

Iterate over a PhocLayerSurface and its popups.

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_callback
No description available.

phoc_output_remove_frame_callbacks_by_animatable

Remove all frame callbacks for the given PhocAnimatable.

phoc_output_set_layer_dirty

Invalidate the ordering of layer surfaces.

phoc_output_surface_for_each_surface

Iterate over surfaces in a wlr_surfaces surface tree.

phoc_output_transform_box

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

phoc_output_transform_damage

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

phoc_output_update_shell_reveal

Updates shell reveal status of given output.

phoc_output_view_for_each_surface

Iterate over surfaces in a PhocViews surface tree.

phoc_output_xdg_surface_for_each_surface

Iterate over surfaces in a wlr_xdg_surfaces surface tree.

Methods inherited from GObject (43)
Methods inherited from GInitable (1)
Methods inherited from PhocAnimatable (2)
[]

Properties

Phoc.Output:desktop

The desktop object.

Phoc.Output:wlr-output

The wlroots output backing this output.

[]

Signals

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

Signals inherited from GObject (1)

Class structure