Functions¶
  | 
|
  | 
|
  | 
|
Details¶
- Libxfce4windowing.check_version(required_major, required_minor, required_micro)¶
 - Parameters:
 - Returns:
 Noneif the library is compatible with the given version, or a string describing the version mismatch. The returned string is owned by the library and must not be freed or modified by the caller.- Return type:
 
Checks that the libxfce4windowing library in use is compatible with the given version. Generally you would pass in the constants
Libxfce4windowing.MAJOR_VERSION,Libxfce4windowing.MINOR_VERSIONandLibxfce4windowing.MICRO_VERSIONas the three arguments to this function; that produces a check that the library in use is compatible with the version of libxfce4windowing the extension was compiled against.const gchar *mismatch; mismatch = libxfce4windowing_check_version(LIBXFCE4WINDOWING_MAJOR_VERSION, LIBXFCE4WINDOWING_MINOR_VERSION, LIBXFCE4WINDOWING_MICRO_VERSION); if (G_UNLIKELY(mismatch != NULL)) { g_error("Version mismatch: %s", mismatch); }
- Libxfce4windowing.set_client_type(client_type)¶
 - Parameters:
 client_type (
Libxfce4windowing.ClientType) – ALibxfce4windowing.ClientType
Sets the type of the application. This is used when sending various messages to control the behavior of other windows, to indicate the source of the control. In general,
Libxfce4windowing.ClientType.APPLICATIONwill be interpreted as automated control from a regular application, andLibxfce4windowing.ClientType.PAGERwill be interpreted as user-initiated control from a desktop component application like a pager or dock.This does nothing on Wayland, but is safe to call under a Wayland session.
New in version 4.19.3.
- Libxfce4windowing.windowing_get()¶
 - Returns:
 A value from the
Libxfce4windowing.Windowingenum.- Return type:
 
Determines the windowing environment that is currently active.