Skip to content

luxe: ui/field/path


import "luxe: ui/field/path" for UIPath

no docs found

UIPath.create(ui : Entity) : unknown

no docs found

UIPath.set_validation(path : Control, fn : Fn) : unknown

set a validation function to be called which will ensure the path is validated before use

UIPath.set_defaults(path : Control, default_path : String, filters : String) : unknown

set the default file dialog path and file dialog filters

UIPath.set_defaults(path : Control, default_path : String) : unknown

set the default file dialog path

UIPath.set_type(path : Control, type : UIPathType) : unknown

set the path type, to open/save/folder

UIPath.get_text_field(path : Control) : unknown

return the text field

UIPath.get_path(path : Control) : unknown

return the path stored in the field

UIPath.set_path(path : Control, path_value : String) : unknown

set the path stored in the field (will be validated)

import "luxe: ui/field/path" for UIPathState

no docs found

UIPathState.new(ui : Entity, control : Control) : UIPathState

no docs found

UIPathState.get_text_field() : unknown

no docs found

UIPathState.get_path() : unknown

no docs found

UIPathState.set_path(path : String) : unknown

no docs found

UIPathState.set_validation(fn : Fn) : unknown

no docs found

UIPathState.set_defaults(default_path : String, filters : String) : unknown

no docs found

UIPathState.set_type(type : UIPathType) : unknown

no docs found

import "luxe: ui/field/path" for UIPathType

no docs found

UIPathType.open : unknown

no docs found

UIPathType.save : unknown

no docs found

UIPathType.folder : unknown

no docs found