wl_global
Contents
Field Documentation
wl_global_bind_func_twl_global::bindvoid*wl_global::datastructwl_display*wl_global::displayconststructwl_interface*wl_global::interfacestructwl_listwl_global::linkuint32_twl_global::nameboolwl_global::removeduint32_twl_global::version
Member Function Documentation
structwl_display*wl_global_get_display(conststructwl_global*global)
Get the display object for the given global
Parametersglobal The global object
Returns
The display object the global is associated with.
Since
1.20
uint32_twl_global_get_name(conststructwl_global*global,conststructwl_client*client)
Get the name of the global.
Parametersglobal The global object.
client Client for which to look up the global.
Returns
The name of the global, or 0 if the global is not visible to the client.
Since
1.22
uint32_twl_global_get_version(conststructwl_global*global)
Get the version of the given global.
Parametersglobal The global object.
Returns
The version advertised by the global.
Since
1.21
Name
wl_global
Synopsis
PublicMemberFunctions
uint32_t wl_global_get_name (const struct wl_global *global, const struct wl_client *client)
uint32_t wl_global_get_version (const struct wl_global *global)
struct wl_display * wl_global_get_display (const struct wl_global *global)
DataFields
struct wl_display * display
const struct wl_interface * interface
uint32_t name
uint32_t version
void * datawl_global_bind_func_tbind
struct wl_listlink
bool removed