¶
luxe
API (2025.1.2
)¶
luxe: ui/field/path
module¶
UIPath¶
import "luxe: ui/field/path" for UIPath
no docs found
- create(ui:
Entity
) - set_validation(path:
Control
, fn:Fn
) - set_defaults(path:
Control
, default_path:String
, filters:String
) - set_defaults(path:
Control
, default_path:String
) - set_type(path:
Control
, type:UIPathType
) - get_text_field(path:
Control
) - get_path(path:
Control
) - set_path(path:
Control
, path_value:String
)
Entity
)
¶unknown
no docs found
Control
, fn: Fn
)
¶unknown
set a validation function to be called which will ensure the path is validated before use
Control
, default_path: String
, filters: String
)
¶unknown
set the default file dialog path and file dialog filters
Control
, default_path: String
)
¶unknown
set the default file dialog path
Control
, type: UIPathType
)
¶unknown
set the path type, to open/save/folder
Control
)
¶unknown
return the text field
Control
)
¶unknown
return the path stored in the field
Control
, path_value: String
)
¶unknown
set the path stored in the field (will be validated)
UIPathState¶
import "luxe: ui/field/path" for UIPathState
no docs found
- new(ui:
Entity
, control:Control
) - get_text_field()
- get_path()
- set_path(path:
String
) - set_validation(fn:
Fn
) - set_defaults(default_path:
String
, filters:String
) - set_type(type:
UIPathType
)
Entity
, control: Control
)
¶UIPathState
no docs found
unknown
no docs found
unknown
no docs found
String
)
¶unknown
no docs found
Fn
)
¶unknown
no docs found
String
, filters: String
)
¶unknown
no docs found
UIPathType
)
¶unknown
no docs found
UIPathType¶
import "luxe: ui/field/path" for UIPathType
no docs found
unknown
no docs found
unknown
no docs found
unknown
no docs found