Shows a window with a list of items that can be selected from.
More...
Inherits EditorWindow.
|
static void | ShowWiz (string title, List< object > list, bool allowNone, object selected, GeneralCallback callback, object[] args) |
| Shows the window. If the user selects and item your callback will be called and you can then check 'selected' to see which item was selected. More...
|
|
|
object | selected |
| The selected item or null if 'none' was selected. You read this when your callback was called.
|
|
Shows a window with a list of items that can be selected from.
static void plyCommonEditor.plyListSelectWiz.ShowWiz |
( |
string |
title, |
|
|
List< object > |
list, |
|
|
bool |
allowNone, |
|
|
object |
selected, |
|
|
GeneralCallback |
callback, |
|
|
object[] |
args |
|
) |
| |
|
static |
Shows the window. If the user selects and item your callback will be called and you can then check 'selected' to see which item was selected.
- Parameters
-
title | The title. |
list | The list to show. |
allowNone | Can the user select 'none' as an entry? Useful when you want to allow him o clear a previously selected item. The callback will be called and 'selected' will be set to null. |
selected | The currently selected item. This is optional and you can pass in null. |
callback | The callback to call when the user makes a selection. If he cancels or closes the window this callback will not be called. |
args | Extra arguments to pass on to the callback. |