s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
FileNavigationBar
chevron_left
Classes
class
FileNavigationBar
Constructors
functions
FileNavigationBar
Properties
data_object
Extension
data_object
Folder
data_object
OnFilterChanged
data_object
OnFolderChanged
data_object
SearchText
Methods
functions
Navigate
functions
Reset
functions
SetExtensions
FileNavigationBar
Folder breadcrumbs, back and forward history, filename search and an optional extension filter.
class
Sandbox.UI
.
account_tree
extends
Panel
sealed
Sandbox.Engine
build
Constructors
1
FileNavigationBar
(
)
Creates an empty navigation history at the root.
data_object
Properties
5
Extension
string
Selected extension including the leading dot, or an empty string for all files.
Folder
string
Current root-relative folder.
OnFilterChanged
Action
Called when the search text or file type changes.
OnFolderChanged
Action`1
Called when navigation changes the current folder.
SearchText
string
Text entered in the search field.
functions
Methods
3
Navigate
(
folder
)
Opens a root-relative folder and adds it to the history.
Reset
(
name
)
Starts a new history at the named root and clears the search text.
SetExtensions
(
extensions
)
Sets the available extension filters and returns to All files. An empty list hides the selector.
Inheritance
Panel
FileNavigationBar
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.