Home - Garland-g/perl6-libui GitHub Wiki

Perl 6 Nativecall Binding to Libui

Provides an object-oriented interface to Libui.

Also available via p6doc.

Widgets

Every widget is a Libui::Control. Any method that needs a Libui::Control will accept any of these widgets.

Widget Description
Button A button with a label
Checkbox A checkbox with a label
Combobox A simple combobox
ColorButton A button for selecting a color
EditableCombobox A combobox that can be edited
Entry Text input, can be disabled
FontButton A button for selecting a font (Incomplete: Cannot set programmatically)
Form A container that takes labels for its contents
Grid A container that aligns widgets for window design
Group A container that provides a title for a set of items
Label Displays a single line of text
Menu Creates a single column of an application menu
MultilineEntry An entry that allows multiple lines
Time and Date Pickers Allows choosing of a date and/or time
ProgressBar Displays a progress bar
RadioButton A set of radio buttons
Separator A simple vertical or horizontal separator
Slider A draggable slider for choosing a value in a range
Spinbox A numerical input with a minimum and maximum range
Tab A set named tabs for placing items in
Window Contains any other widget, cannot be embedded in a container
VBox, HBox A vertical or horizontal box for grouping items