Widgets - qPCR4vir/nana-docs GitHub Wiki
An introduction to the widgets, with code examples showing basic usage of the widgets. ( A note about the code examples. )
- form The application window.
- base widget Stuff every widget can do.
- panel Displays other widgets.
- button Responds to user clicks.
- label Displays some text.
- textbox User enters some text.
- checkbox User toggles a boolean.
- group Display frame and title around other widgets.
- radiobutton User selects from displayed options.
- combox User selects from drop-down list.
- menu User selects from pop-up list.
- slider User selects value from graphical number range.
- spinbox User selects value from text range.
- filebox User selects file.
- messagebox Display pop-up window with message.
- inputbox User selects multiple values
- scroll Displays large panel in small window.
todo
- categorize
- datechooser
- listbox
- progress
- toolbar
- tabbar
- treebox
Widgets list
The pictures are good for selecting the widget you need, if you are unfamiliar with their names. The icons links to documentation sources. Some of the links are broken and need actualization.
Name | ..........................Picture............................ |
---|---|
button |
![]() |
categorize :books: |
![]() |
checkbox |
inside a group ![]() |
combox |
![]() |
date_chooser , :books: A graphical user interface for choosing a date. | |
form |
|
group , :books: A group box provides a frame, a title, and displays various other widgets inside itself. It automatically lays out the child widgets if these child widgets are inserted into the group internal place field. | ![]() |
label , :books: It can be a very simple static text, or a sofisticated formated, aligned and responsible to commands (enter, leave and click) dynamic text label including imagenes. You can get the precalculated exact size. Examples: 1 | ![]() |
listbox |
![]() |
menu |
![]() |
menubar |
|
nested_form |
|
panel |
|
picture |
|
progress |
|
scroll |
|
slider |
|
spinbox. Choose a value in the specified range. Supports groups of integers, doubles or texts. | ![]() |
toolbar |
|
tabbar |
![]() |
textbox Provides a widget that is used to input and display text. It supports three modes: single line, multiple lines and line wrap. | ![]() |
treebox:books: Displays a hierarchical list of items, such as the files and directories on a disk. The nodes contain a text and can be (events) expanded, checked, selected and hovered. Data of any type can be optionally atached to each node using item_proxy:books: |
![]() |
:octocat: , :books: |