company logo

ActionItem :: activeItem - Select active action item

The function selects the active action item and sets action and resource name. When no action item is selected, the function returns false . The function returns true , when an active action has been found, i.e. when the function currently executed has been called as consequence of a user action (e.g. pressing a button or selecting a menu item).

When an active action has been found, action() contains the name of the action to be executed, while name() contains the name of the action item.

Return value:  State of function return ( bool  )

A State true indicates, that the function was executed successfully. Otherwise state is false .

Implementation details

bool ActionItem  :: activeItem (  )