tbx  0.7.3
Public Member Functions | List of all members
tbx::view::ItemViewClearMenuSelection Class Reference

Helper class to clear selection when an object has been hidden if the selection was made by the menu button. More...

#include <itemview.h>

Inheritance diagram for tbx::view::ItemViewClearMenuSelection:
tbx::HasBeenHiddenListener tbx::Listener

Public Member Functions

 ItemViewClearMenuSelection (ItemView *iv)
 Constructor for the given item view. More...
 
virtual void has_been_hidden (const EventInfo &hidden_event)
 Clears the menu selection when the object is hidden. More...
 
- Public Member Functions inherited from tbx::Listener
virtual ~Listener ()
 Destroy the listener object.
 

Additional Inherited Members

- Protected Member Functions inherited from tbx::Listener
 Listener ()
 Construct the Listener object.
 

Detailed Description

Helper class to clear selection when an object has been hidden if the selection was made by the menu button.

Add to the object with it's add_has_been_hidden_listener. Usually used on the menu shown from a view window.

Constructor & Destructor Documentation

tbx::view::ItemViewClearMenuSelection::ItemViewClearMenuSelection ( ItemView iv)
inline

Constructor for the given item view.

Parameters
ivItemView this updates menu selection for

Member Function Documentation

virtual void tbx::view::ItemViewClearMenuSelection::has_been_hidden ( const EventInfo hidden_event)
inlinevirtual

Clears the menu selection when the object is hidden.

Parameters
hidden_eventignored

Implements tbx::HasBeenHiddenListener.


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