Class

PhocLayerSurface

since: 0

Description [src]

class Phoc.LayerSurface : GObject.Object
  implements Phoc.Animatable {
  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
}

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

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

Available since: 0

Ancestors

Implements

Constructors

phoc_layer_surface_new
No description available.

since: 0

Instance methods

phoc_layer_surface_get_alpha
No description available.

since: 0

phoc_layer_surface_get_namespace
No description available.

since: 0

phoc_layer_surface_get_output
No description available.

since: 0

phoc_layer_surface_set_alpha

Sets the surfaces transparency.

since: 0

phoc_layer_surface_unmap

Unmaps a layer surface.

since: 0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

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.LayerSurface:wlr-layer-surface
No description available.

since: 0

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.

unstable since: 2.0

Class structure

struct PhocLayerSurfaceClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.