company logo

ActionItem :: visible - Action visible property

An action, which might be referenced by any number of action items might be hidden or visible. The property is changed by setting the visibility state for the action, but not by changing the visibility for single action elements as buttons. Invisible actions may be activated unless they are also disabled (see also hidden())

The function immediately affects the visibility of menu items and tool bar buttons, but not the visibility of push buttons.

Return value:  State of function return ( bool  )

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

Implementation overview

Implementation details

  1. Are action items visible
    bool ActionItem  :: visible (  )

    The function returns, whether action items (as toolbar buttons or menu items) for an action are visible (true) or not (false).

  2. to list
  3. Change visibility
    bool ActionItem  :: visible ( bool bVisible )

    In order to hide GUI action elements associated with the action item, false has to be passed in bVisible. Passing true will make GUI action elements visible.

    • bVisible - Control is visible

      In order to hide a control, the option must be set to false. In order to make it visible, it has to be set to true.

  4. to list