wlmaker
Loading...
Searching...
No Matches
Public Attributes | List of all members
wlmaker_action_item_desc_t Struct Reference

#include <action_item.h>

Public Attributes

const char * text_ptr
 
wlmaker_action_t action
 
char * action_arg_ptr
 
size_t destination_ofs
 

Detailed Description

Descriptor for creating a menu item triggering an action.

Member Data Documentation

◆ action

wlmaker_action_t wlmaker_action_item_desc_t::action

The action to trigger.

◆ action_arg_ptr

char* wlmaker_action_item_desc_t::action_arg_ptr

Extra argument for wlmaker_action_execute.

◆ destination_ofs

size_t wlmaker_action_item_desc_t::destination_ofs

Where to store the wlmaker_action_item_t, relative to the dest_ptr argument of wlmaker_action_item_create_from_desc.

◆ text_ptr

const char* wlmaker_action_item_desc_t::text_ptr

Text for the menu item.


The documentation for this struct was generated from the following file: