GUI Markup Language (GML)
GML is Serenity's graphic user interface (GUI) markup language. GML files are human-readable text files and have no easily detectable filemagic. The format is strongly influenced by QML, the Qt Modeling Language.
It allows you to easily define GUI interfaces for your applications. It is easy to learn and use in C++.
You can easily add GML files to your project in Hack Studio either using
Project > New > GML File
Or right clicking on a folder in the TreeView and using
New > GML File
- gml-format(1) formats your GML files.
- Applications/GML Playground(1) is an interactive GML creation tool.
- Using GML
- GML syntax
- Extending GML
- Define properties
- Define widgets
- GML object and property reference
- Core::Object
- UI Dimensions
- Layouts
- HorizontalBoxLayout
- VerticalBoxLayout
- Widgets
- Breadcrumbbar
- Button
- Calendar
- CheckBox
- ColorInput
- ComboBox
- Frame
- GroupBox
- HorizontalProgressbar
- HorizontalSeparator
- HorizontalSlider
- HorizontalSplitter
- IconView
- ImageWidget
- Label
- ListView
- MultiView
- OpacitySlider
- PasswordBox
- Progressbar
- RadioButton
- ScrollableContainerWidget
- Scrollbar
- Slider
- SpinBox
- StackWidget
- Statusbar
- TableView
- TabWidget
- TextBox
- TextEditor
- Toolbar
- ToolbarContainer
- Tray
- TreeView
- UrlBox
- ValueSlider
- VerticalProgressbar
- VerticalSeparator
- VerticalSlider
- VerticalSplitter
- Widget