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:35
unsigned int count() const
Returns number of items being displayed.
Definition: itemview.h:149
void selection(Selection *selection)
Set the selection model to use for the item view.
Definition: itemview.cc:76
virtual void execute()
Select all items in the given view.
Definition: selectcommands.h:56
virtual void execute()
Select all items in the given view.
Definition: selectcommands.h:96
SelectAllCommand(ItemView *v)
Constructor giving view.
Definition: selectcommands.h:52
Base class for views that show an indexed list of items.
Definition: itemview.h:68
Command to clear selection from the current view.
Definition: selectcommands.h:69
virtual void execute()
Select all items in the given view.
Definition: selectcommands.h:79
Base class for commands in tbx.
Definition: command.h:37
Command to invert selection in an item view.
Definition: selectcommands.h:86
Command to select all items in an item view.
Definition: selectcommands.h:46
ClearSelectionCommand(ItemView *v)
Constructor giving view.
Definition: selectcommands.h:75
InvertSelectionCommand(ItemView *v)
Constructor giving view.
Definition: selectcommands.h:92