Utilities
Utilities — Miscellaneous windowing utilities
|
|
Stability Level
Unstable, unless otherwise indicated
Includes
#include <libxfce4windowing/libxfce4windowing.h>
Functions
xfw_windowing_get ()
XfwWindowing
xfw_windowing_get (void
);
Determines the windowing environment that is currently active.
xfw_windowing_error_trap_push ()
void
xfw_windowing_error_trap_push (GdkDisplay *display
);
Traps errors in the underlying windowing environment. Error traps work as
a stack, so for every "push" call, there needs to be a "pop" call. Multiple
pushes need to be matched with an equal number of pops.
This only does anything on X11.
xfw_windowing_error_trap_pop ()
gint
xfw_windowing_error_trap_pop (GdkDisplay *display
);
Pops the topmost error trap off of the stack.
This only does anything on X11.
Returns
Returns the error code of the error that occured, or 0
if
there was no error.
xfw_windowing_error_trap_pop_ignored ()
void
xfw_windowing_error_trap_pop_ignored (GdkDisplay *display
);
Pops the topmost error trap off of the stack.
This only does anything on X11.
Types and Values
XFW_ERROR
#define XFW_ERROR (xfw_error_quark())
The error domain for all errors returned by this library.
enum XfwError
An error code enum describing possible errors returned by this library.
enum XfwWindowing
Represents the windowing environment that is currently running. Note that
for an application running on XWayland, this will return XFW_WINDOWING_X11.
enum XfwDirection
Represents a direction, either of position ("This workspace is to the left
of the current workspace") or movement ("Move this window to the workspace to
the right of its current workspace").