wlmaker
Loading...
Searching...
No Matches
src
xdg_popup.h
Go to the documentation of this file.
1
/* ========================================================================= */
20
#ifndef __XDG_POPUP_H__
21
#define __XDG_POPUP_H__
22
23
#include "
toolkit/toolkit.h
"
24
25
#define WLR_USE_UNSTABLE
26
#include <wlr/types/wlr_xdg_shell.h>
27
#undef WLR_USE_UNSTABLE
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
// __cplusplus
32
34
typedef
struct
_wlmaker_xdg_popup_t
wlmaker_xdg_popup_t
;
35
37
struct
_wlmaker_xdg_popup_t
{
39
wlmtk_content_t
super_content
;
40
42
wlmtk_surface_t
*
surface_ptr
;
44
struct
wlr_xdg_popup *
wlr_xdg_popup_ptr
;
45
47
struct
wl_listener
reposition_listener
;
49
struct
wl_listener
destroy_listener
;
51
struct
wl_listener
new_popup_listener
;
52
54
struct
wl_listener
surface_map_listener
;
55
};
56
63
wlmaker_xdg_popup_t
*
wlmaker_xdg_popup_create
(
64
struct
wlr_xdg_popup *wlr_xdg_popup_ptr,
65
wlmtk_env_t
*env_ptr);
66
72
void
wlmaker_xdg_popup_destroy
(
73
wlmaker_xdg_popup_t
*wlmaker_xdg_popup_ptr);
74
75
#ifdef __cplusplus
76
}
// extern "C"
77
#endif
// __cplusplus
78
79
#endif
/* __XDG_POPUP_H__ */
80
/* == End of xdg_popup.h =================================================== */
_wlmaker_xdg_popup_t
Definition
xdg_popup.h:37
_wlmaker_xdg_popup_t::surface_ptr
wlmtk_surface_t * surface_ptr
Definition
xdg_popup.h:42
_wlmaker_xdg_popup_t::wlr_xdg_popup_ptr
struct wlr_xdg_popup * wlr_xdg_popup_ptr
Definition
xdg_popup.h:44
_wlmaker_xdg_popup_t::new_popup_listener
struct wl_listener new_popup_listener
Definition
xdg_popup.h:51
_wlmaker_xdg_popup_t::super_content
wlmtk_content_t super_content
Definition
xdg_popup.h:39
_wlmaker_xdg_popup_t::destroy_listener
struct wl_listener destroy_listener
Definition
xdg_popup.h:49
_wlmaker_xdg_popup_t::surface_map_listener
struct wl_listener surface_map_listener
Definition
xdg_popup.h:54
_wlmaker_xdg_popup_t::reposition_listener
struct wl_listener reposition_listener
Definition
xdg_popup.h:47
_wlmtk_content_t
Definition
content.h:111
_wlmtk_env_t
Definition
env.c:32
_wlmtk_surface_t
Definition
surface.h:46
toolkit.h
wlmaker_xdg_popup_destroy
void wlmaker_xdg_popup_destroy(wlmaker_xdg_popup_t *wlmaker_xdg_popup_ptr)
Definition
xdg_popup.c:92
wlmaker_xdg_popup_create
wlmaker_xdg_popup_t * wlmaker_xdg_popup_create(struct wlr_xdg_popup *wlr_xdg_popup_ptr, wlmtk_env_t *env_ptr)
Definition
xdg_popup.c:45
Generated by
1.12.0