app

Deft framework demo — a localized widget gallery.

Exercises every control type the framework provides: menus and accelerators, a status bar, a tab control whose pages hold labels, buttons, check boxes, a radio group, single- and multi-line text boxes, a list view, a tree view, a list box and a combo box, plus a one-second timer, a tray icon, a modal dialog and a message box.

It also demonstrates **localization**: every user-facing string is marked with Deft's tr() seam, the Language menu switches the UI language at runtime, and translations are loaded from gettext .mo catalogs (compiled from the .po files under locale/) via the mofile package, installed through setTranslator. The standard dialog buttons localize themselves from the OS.

Each tab page is a framework Panel — a container that lays its children out with a sizer and forwards their notifications.

Members

Enums

idNew
anonymousenum idNew

Command ids for the menu bar.

Functions

main
int main()
Undocumented in source. Be warned that the author may not have intended to support it.
openEditDialog
void openEditDialog(Window parent, StatusBar status)

Open a modal note editor and report the result to the status bar.

Meta