Class

PhocXdgSurface

Description [src]

final class Phoc.XdgSurface : Phoc.View
{
  /* No available fields */
}

An xdg toplevel surface as defined in the xdg-shell protocol. For popups see PhocXdgPopup.

For details on how to setup such an object see phoc_handle_xdg_shell_toplevel().

Ancestors

Constructors

phoc_xdg_surface_new
No description available.

Instance methods

phoc_xdg_surface_get_geometry
No description available.

phoc_xdg_surface_get_wlr_surface_at
No description available.

Methods inherited from PhocView (52)

Please see PhocView for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Phoc.XdgSurface:wlr-xdg-surface

The underlying wlroots xdg-surface.

Properties inherited from PhocView (6)
Phoc.View:activation-token

If not NULL this token will be used to activate the view once mapped.

Phoc.View:alpha

The view’s transparency.

Phoc.View:decorated

Whether the view should have server side window decorations drawn.

Phoc.View:is-mapped

Whether the view is currently mapped.

Phoc.View:scale-to-fit

If TRUE if surface will be scaled down to fit the screen.

Phoc.View:state

The window is maximized, tiled or floating.

Signals

Signals inherited from PhocView (1)
PhocView::surface-destroy

Derived classes emit this signal just before dropping their ref so reference holders can react.

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.

Class structure

struct PhocXdgSurfaceClass {
  PhocViewClass parent_class;
  
}

No description available.

Class members
parent_class: PhocViewClass

No description available.