Module winsafe::gui[][src]

Expand description

High-level GUI abstractions for user windows and native controls. They can be created programmatically or by loading resources from a .res file. These files can be created with a WYSIWYG resource editor.

You’ll probably want to start your GUI application using the WindowMain.

Modules

Structs which expose the event methods of windows and controls.

Structs which expose specialized methods of controls.

Structs

Native button control.

Options to create a Button programmatically with Button::new.

Native check box control, actually a variation of the ordinary Button: just a button with a specific style.

Options to create a CheckBox programmatically with CheckBox::new.

Native combo box control.

Options to create a ComboBox programmatically with ComboBox::new.

Native date and time picker control.

Options to create a DateTimePicker programmatically with DateTimePicker::new.

Native edit control.

Options to create an Edit programmatically with Edit::new.

Native label control.

Options to create a Label programmatically with label::new.

Native list box control. Not to be confused with the more complex list view control.

Options to create a ListBox programmatically with ListBox::new.

Native list view control. Not to be confused with the simpler list box control.

Options to create a ListView programmatically with ListView::new.

Native month calendar control.

Options to create a MonthCalendar programmatically with MonthCalendar::new.

Native progress bar control.

Options to create a ProgressBar programmatically with ProgressBar::new.

Native radio button control, actually a variation of the ordinary Button: just a button with a specific style.

Options to create a RadioButton programmatically with RadioGroup::new.

A group of native RadioButton controls.

When the parent window is resized, automatically adjusts position and size of child controls.

Native status bar control, which has one or more parts.

Native trackbar control.

Options to create a Trackbar programmatically with Trackbar::new.

Native tree view control.

Options to create a TreeView programmatically with TreeView::new.

An user child window, which can handle events. Can be programmatically created or load a dialog resource from a .res file.

Options to create a WindowControl programmatically with WindowControl::new.

An user main window, which can handle events. Usually, this is the first window of your application, launched directly from the main function. Can be programmatically created or load a dialog resource from a .res file.

Options to create a WindowMain programmatically with WindowMain::new.

An user modal window, which can handle events. Can be programmatically created or load a dialog resource from a .res file.

Options to create a WindowModal programmatically with WindowModal::new.

Enums

Possible states of a CheckBox control.

In Resizer::new, determines how the child controls will be adjusted automatically when the parent window is resized.

Used when adding the parts in StatusBar::new.

Traits

Trait to any child control.

Trait to any window which can host child controls.