Automated: update Fields |
add info |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=BrowserCreateDirectoryDialogComponent.png | |Image=BrowserCreateDirectoryDialogComponent.png | ||
|Name=Browser Create Directory Dialog | |Name=Browser Create Directory Dialog | ||
}} | }} | ||
The '''BrowserCreateDirectoryDialogue''' component is used mainly in the inventory screen when creating a new directory in the [[inventory]]. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|_browser|BrowserDialog| | |_browser|BrowserDialog| The source browser Component. Usually the inventory browser Component that controls the inventory functions. | ||
|_callback|{{RootFieldType|SyncDelegate`1|[[#CreateHandler|CreateHandler]]}}|TypeAdv1=true| | |_callback|{{RootFieldType|SyncDelegate`1|[[#CreateHandler|CreateHandler]]}}|TypeAdv1=true| A sync delegate to call when the Create Folder dialogue is confirmed. | ||
|_text|'''[[Component:Text|Text]]'''|TypeAdv2=true| | |_text|'''[[Component:Text|Text]]'''|TypeAdv2=true| The text for the Create Directory dialouge box. | ||
|_textField|'''[[Component:TextField|TextField]]'''|TypeAdv3=true| | |_textField|'''[[Component:TextField|TextField]]'''|TypeAdv3=true| The text field that is the name of the new directory. | ||
}} | }} | ||
== CreateHandler == | |||
A sync delegate that takes a name and an "out string message" and modifies the message coming in. Returns a boolean. | |||
<!--T:3--> | <!--T:3--> | ||
Line 24: | Line 27: | ||
== Examples == | == Examples == | ||
The create directory dialogue in the inventory screen. | |||
<!--T:5--> | <!--T:5--> | ||
== | == See Also == | ||
* [[Inventory]] for what this controls. | |||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Browser Create Directory Dialog]] | [[Category:Components{{#translation:}}|Browser Create Directory Dialog]] | ||
[[Category:Components With Nested Types{{#translation:}}|Browser Create Directory Dialog]] | [[Category:Components With Nested Types{{#translation:}}|Browser Create Directory Dialog]] | ||
[[Category:Components:Uncategorized{{#translation:}}|Browser Create Directory Dialog]] | [[Category:Components:Uncategorized{{#translation:}}|Browser Create Directory Dialog]] |
Revision as of 19:08, 11 February 2025
Component image 
Browser Create Directory Dialog component as seen in the Scene Inspector

The BrowserCreateDirectoryDialogue component is used mainly in the inventory screen when creating a new directory in the inventory.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
_browser
|
BrowserDialog | The source browser Component. Usually the inventory browser Component that controls the inventory functions. |
_callback
|
delegate of identity CreateHandler | A sync delegate to call when the Create Folder dialogue is confirmed. |
_text
|
Text | The text for the Create Directory dialouge box. |
_textField
|
TextField | The text field that is the name of the new directory. |
CreateHandler
A sync delegate that takes a name and an "out string message" and modifies the message coming in. Returns a boolean.
Usage
Used internally. Don't use it. :)
Examples
The create directory dialogue in the inventory screen.
See Also
- Inventory for what this controls.