wlmaker
Loading...
Searching...
No Matches
wlmtool_item Struct Reference

Public Attributes

bs_avltree_node_t avlnode
bs_dllist_node_t dlnode
const char * key_ptr
const char * title_ptr
void(*) destroy (struct wlmtool_item *item_ptr)
bspl_array_t *(*) create_array (struct wlmtool_item *item_ptr)

Detailed Description

Abstract definition of a menu item. Can hold a submenu, or a file item.

Member Data Documentation

◆ avlnode

bs_avltree_node_t wlmtool_item::avlnode

To prevent duplicate entries. Node of wlmtool_menu::tree_ptr.

◆ create_array

bspl_array_t *(*) wlmtool_item::create_array(struct wlmtool_item *item_ptr)

Constructs an array from this item.

◆ destroy

void(*) wlmtool_item::destroy(struct wlmtool_item *item_ptr)

Dtor for this item.

◆ dlnode

bs_dllist_node_t wlmtool_item::dlnode

◆ key_ptr

const char* wlmtool_item::key_ptr

Key used for wlmtool_menu::tree_ptr.

◆ title_ptr

const char* wlmtool_item::title_ptr

Item title, used for sorting in the double-linked list.


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