wlmaker
Loading...
Searching...
No Matches
action_item.h
Go to the documentation of this file.
1/* ========================================================================= */
21#ifndef __WLMAKER_ACTION_ITEM_H__
22#define __WLMAKER_ACTION_ITEM_H__
23
24#include <libbase/libbase.h>
25#include <stdbool.h>
26#include <stddef.h>
27
30
31#include "action.h"
32#include "server.h"
33#include "toolkit/toolkit.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif // __cplusplus
38
53
66 const char *text_ptr,
67 wlmtk_menu_style_ref_t *style_ref_ptr,
68 wlmaker_action_t action,
69 const char *action_arg_ptr,
70 wlmaker_server_t *server_ptr);
71
83 const wlmaker_action_item_desc_t *desc_ptr,
84 void *dest_ptr,
85 wlmtk_menu_style_ref_t *style_ref_ptr,
86 wlmaker_server_t *server_ptr);
87
90 wlmaker_action_item_t *action_item_ptr);
91
103 wlmtk_menu_item_t* menu_item_ptr,
104 wlmaker_action_t action,
105 const char *action_arg_ptr,
106 wlmaker_server_t *server_ptr);
107
109extern const bs_test_set_t wlmaker_action_item_test_set;
110
111#ifdef __cplusplus
112} // extern "C"
113#endif // __cplusplus
114
115#endif /* __WLMAKER_ACTION_ITEM_H__ */
116/* == End of action_item.h ================================================= */
wlmaker_action_t
Definition action.h:35
bool wlmaker_menu_item_bind_action(wlmtk_menu_item_t *menu_item_ptr, wlmaker_action_t action, const char *action_arg_ptr, wlmaker_server_t *server_ptr)
Definition action_item.c:135
const bs_test_set_t wlmaker_action_item_test_set
Definition action_item.c:240
wlmaker_action_item_t * wlmaker_action_item_create_from_desc(const wlmaker_action_item_desc_t *desc_ptr, void *dest_ptr, wlmtk_menu_style_ref_t *style_ref_ptr, wlmaker_server_t *server_ptr)
Definition action_item.c:108
wlmaker_action_item_t * wlmaker_action_item_create(const char *text_ptr, wlmtk_menu_style_ref_t *style_ref_ptr, wlmaker_action_t action, const char *action_arg_ptr, wlmaker_server_t *server_ptr)
Definition action_item.c:65
wlmtk_menu_item_t * wlmaker_action_item_menu_item(wlmaker_action_item_t *action_item_ptr)
Definition action_item.c:128
Definition action_item.c:35
Definition server.h:76
Definition menu_item.c:41
Definition menu.c:65
Definition action_item.h:40
size_t destination_ofs
Definition action_item.h:51
char * action_arg_ptr
Definition action_item.h:46
const char * text_ptr
Definition action_item.h:42
wlmaker_action_t action
Definition action_item.h:44