MB_activated_button_s (view source)
 
Defined in: uf_mb.h
 
Also known as:
 
Overview
Button callback functions for MenuScript button actions are of type
UF_MB_cb_status_t. The third argument of for these callbacks is a pointer
to a UF_MB_activated_button_t structure. This structure provides
information about the button that triggered the callback. The ancestors
array contains the names of all of the cascade buttons that were
were traversed to reach the activated button. The ancestor list will be
the same regardless of whether the the ancestor hierarchy was actually
traversed, or whether the button was activated via a tear-off menu or
playing back a macro.


Data Members

id
UF_MB_button_id_t
button's unique ID number

type
UF_MB_button_type_t
type of button

name
char *
name of the button

menubar_name
char *
name of parent menubar/popup

num_ancestors
int
number of ancestors (cascades)

ancestors
char * *
names of ancestors

app_id
int
application identifier for APP