Skip to content

luxe API (2025.1.2)


luxe: ui/field/path module


UIPath

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

no docs found


UIPath.create(ui: Entity) returns unknown

no docs found

UIPath.set_validation(path: Control, fn: Fn) returns 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) returns unknown

set the default file dialog path and file dialog filters

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

set the default file dialog path

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

set the path type, to open/save/folder

UIPath.get_text_field(path: Control) returns unknown

return the text field

UIPath.get_path(path: Control) returns unknown

return the path stored in the field

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

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

UIPathState

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

no docs found


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

no docs found

UIPathState.get_text_field() returns unknown

no docs found

UIPathState.get_path() returns unknown

no docs found

UIPathState.set_path(path: String) returns unknown

no docs found

UIPathState.set_validation(fn: Fn) returns unknown

no docs found

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

no docs found

UIPathState.set_type(type: UIPathType) returns unknown

no docs found

UIPathType

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

no docs found


UIPathType.open returns unknown

no docs found

UIPathType.save returns unknown

no docs found

UIPathType.folder returns unknown

no docs found