arsd.minigui

minigui is a smallish GUI widget library, aiming to be on par with at least HTML4 forms and a few other expected gui components. It uses native controls on Windows and does its own thing on Linux (Mac is not currently supported but may be later, and should use native controls) to keep size down.

Its #1 goal is to be useful without being large and complicated like GTK and Qt. I love Qt, if you want something full featured, use it! But if you want something you can just drop into a small project and expect the basics to work without outside dependencies, hopefully minigui will work for you.

The event model is similar to what you use in the browser with Javascript and the layout engine tries to automatically fit things in.

More...

Members

Classes

Action
class Action
Button
class Button
Checkbox
class Checkbox
ComboBox
class ComboBox
ComboboxBase
class ComboboxBase
DropDownSelection
class DropDownSelection
Event
class Event
Fieldset
class Fieldset
FreeEntrySelection
class FreeEntrySelection
HorizontalLayout
class HorizontalLayout
IndefiniteProgressBar
class IndefiniteProgressBar

Displays an in-progress indicator without known values

LineEdit
class LineEdit
MainWindow
class MainWindow
Menu
class Menu
MenuBar
class MenuBar
MenuItem
class MenuItem
MessageBox
class MessageBox
MutuallyExclusiveGroup
class MutuallyExclusiveGroup
ProgressBar
class ProgressBar

A progress bar with a known endpoint and completion amount

Radiobox
class Radiobox
StaticLayout
class StaticLayout
StatusBar
class StatusBar

Status bars appear at the bottom of a MainWindow. They are made out of Parts, with a width and content.

TextEdit
class TextEdit
TextLabel
class TextLabel
ToolBar
class ToolBar

Toolbars are lists of buttons (typically icons) that appear under the menu. Each button ought to correspond to a menu item.

ToolButton
class ToolButton
VerticalLayout
class VerticalLayout
VerticalSpacer
class VerticalSpacer
Widget
class Widget

The way this module works is it builds on top of a SimpleWindow from simpledisplay, OR Terminal from terminal to provide some simple controls and such.

Window
class Window

Detailed Description

FOR BEST RESULTS: be sure to link with the appropriate subsystem command -L/SUBSYSTEM:WINDOWS:5.0, for example, because otherwise you'll get a console and other visual bugs.

Examples

Suggestion Box / Bug Report