32 #ifndef TBX_SELECTCOMMANDS_H_ 33 #define TBX_SELECTCOMMANDS_H_ 35 #include "../command.h" A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:34
void selection(Selection *selection)
Set the selection model to use for the item view.
Definition: itemview.cc:76
Helper classes to display and edit data.
Base class for commands in tbx.
Definition: command.h:36
Base class for views that show an indexed list of items.
Definition: itemview.h:63
virtual void execute()
Select all items in the given view.
Definition: selectcommands.h:79
ClearSelectionCommand(ItemView *v)
Constructor giving view.
Definition: selectcommands.h:75
Command to clear selection from the current view.
Definition: selectcommands.h:68
virtual void execute()
Select all items in the given view.
Definition: selectcommands.h:56
Command to invert selection in an item view.
Definition: selectcommands.h:85
Command to select all items in an item view.
Definition: selectcommands.h:45
SelectAllCommand(ItemView *v)
Constructor giving view.
Definition: selectcommands.h:52
unsigned int count() const
Returns number of items being displayed.
Definition: itemview.h:149
InvertSelectionCommand(ItemView *v)
Constructor giving view.
Definition: selectcommands.h:92
virtual void execute()
Select all items in the given view.
Definition: selectcommands.h:96