#include <vtkKWListBox.h>
Inheritance diagram for vtkKWListBox:
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWListBox, vtkKWCoreWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual void | InsertEntry (int index, const char *name) |
virtual int | AppendUnique (const char *name) |
virtual int | Append (const char *name) |
virtual int | GetNumberOfItems () |
virtual const char * | GetItem (int index) |
virtual int | GetItemIndex (const char *item) |
virtual void | DeleteRange (int start, int end) |
virtual void | DeleteAll () |
virtual void | UpdateEnableState () |
virtual void | SetSelectionMode (int) |
virtual int | GetSelectionMode () |
virtual void | SetSelectionModeToSingle () |
virtual void | SetSelectionModeToBrowse () |
virtual void | SetSelectionModeToMultiple () |
virtual void | SetSelectionModeToExtended () |
virtual void | SetExportSelection (int) |
virtual int | GetExportSelection () |
virtual void | ExportSelectionOn () |
virtual void | ExportSelectionOff () |
virtual const char * | GetSelection () |
virtual int | GetSelectionIndex () |
virtual void | SetSelectionIndex (int) |
virtual void | SetSelectState (int idx, int state) |
virtual int | GetSelectState (int idx) |
virtual void | SetDoubleClickCommand (vtkObject *obj, const char *method) |
virtual void | SetSingleClickCommand (vtkObject *obj, const char *method) |
virtual void | SetWidth (int) |
virtual int | GetWidth () |
virtual void | SetHeight (int) |
virtual int | GetHeight () |
Static Public Member Functions | |
vtkKWListBox * | New () |
Protected Member Functions | |
vtkKWListBox () | |
~vtkKWListBox () | |
Protected Attributes | |
char * | CurrentSelection |
char * | Item |
A widget that can have a list of items. Use vtkKWListBoxWithScrollbars if you need scrollbars.
Definition at line 30 of file vtkKWListBox.h.
|
|
|
|
|
Reimplemented from vtkKWCoreWidget. |
|
|
|
Reimplemented from vtkKWCoreWidget. |
|
Create the widget. Reimplemented from vtkKWCoreWidget. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. Definition at line 45 of file vtkKWListBox.h. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. Definition at line 47 of file vtkKWListBox.h. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. Definition at line 49 of file vtkKWListBox.h. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. Definition at line 51 of file vtkKWListBox.h. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Get the current selected string in the list. This is used when Select mode is single or browse. |
|
Get the current selected string in the list. This is used when Select mode is single or browse. |
|
Get the current selected string in the list. This is used when Select mode is single or browse. |
|
When selectmode is multiple or extended, then these methods can be used to set and query the selection. |
|
When selectmode is multiple or extended, then these methods can be used to set and query the selection. |
|
Add an entry. |
|
Append a unique string to the list. If the string exists, it will not be appended |
|
Append a string to the list. This call does not check if the string is unique. |
|
Set callback for single and double click on a list item. |
|
Set callback for single and double click on a list item. |
|
Get number of items in the list. |
|
Get the item at the given index. |
|
Returns the index of the first given item. |
|
Delete a range of items in the list. |
|
Delete all items from the list. |
|
Set the width of the list box. If the width is less than or equal to 0, then the width is set to the size of the largest string. |
|
Set the width of the list box. If the width is less than or equal to 0, then the width is set to the size of the largest string. |
|
Set the height of the list box. If the height is less than or equal to 0, then the height is set to the size of the number of items in the listbox. |
|
Set the height of the list box. If the height is less than or equal to 0, then the height is set to the size of the number of items in the listbox. |
|
Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc. Reimplemented from vtkKWWidget. |
|
Definition at line 140 of file vtkKWListBox.h. |
|
Definition at line 141 of file vtkKWListBox.h. |