tbx
0.7.3
|
Helper class to clear selection when an object has been hidden if the selection was made by the menu button. More...
#include <itemview.h>
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... | |
![]() | |
virtual | ~Listener () |
Destroy the listener object. | |
Additional Inherited Members | |
![]() | |
Listener () | |
Construct the Listener object. | |
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.
|
inline |
Constructor for the given item view.
iv | ItemView this updates menu selection for |
|
inlinevirtual |
Clears the menu selection when the object is hidden.
hidden_event | ignored |
Implements tbx::HasBeenHiddenListener.