Class

PhocLayerSurface

[]

Description [src]

class Phoc.LayerSurface : GObject.Object
  implements Phoc.Animatable, Phoc.ChildRoot {
  layer_surface: wlr_layer_surface_v1*,
  link: wl_list,
  destroy: wl_listener,
  map: wl_listener,
  unmap: wl_listener,
  surface_commit: wl_listener,
  output_destroy: wl_listener,
  new_popup: wl_listener,
  new_subsurface: wl_listener,
  subsurfaces: wl_list,
  geo: wlr_box,
  layer: zwlr_layer_shell_v1_layer,
  alpha: float,
  mapped: _Bool,
  child_surfaces: GSList*,
  pending_serial: uint32_t
}

A Layer surface backed by the wlr-layer-surface wayland protocol.

For details on how to setup a layer surface see phoc_handle_layer_shell_surface.

This handles the events concerning individual surfaces like mapping and unmapping. For the actual layout of surfaces on a PhocOutput see phoc_layer_shell_arrange().

[]

Ancestors

[]

Constructors

phoc_layer_surface_new
No description available.

[]

Instance methods

phoc_layer_surface_covers_output

Check whether the given layer surface fully covers its output.

phoc_layer_surface_get_alpha
No description available.

phoc_layer_surface_get_geometry
No description available.

phoc_layer_surface_get_layer

Get the layer surface’s current layer.

phoc_layer_surface_get_mapped

Get whether the layer surface is currently mapped.

phoc_layer_surface_get_namespace
No description available.

phoc_layer_surface_get_output
No description available.

phoc_layer_surface_get_pending_serial
No description available.

phoc_layer_surface_send_configure

Send a configure event with the current width and height.

phoc_layer_surface_set_alpha

Sets the surfaces transparency.

Methods inherited from GObject (43)
Methods inherited from PhocAnimatable (2)
Methods inherited from PhocChildRoot (6)
[]

Properties

Phoc.LayerSurface:wlr-layer-surface
No description available.

[]

Signals

Signals inherited from GObject (1)

Class structure