Skip to main content

Module backend

Module backend 

Source
Expand description

The contract each platform (AppKit, Win32, GTK) implements with its own native widgets.

Enums§

Parent
Where a new widget goes: straight into a window’s content area, or into the content of a scroll area, which scrolls with it. Frames are relative to that parent’s content.

Traits§

Backend
Waker
Asks the UI thread to run its wake handler; see Backend::waker.

Type Aliases§

ClickHandler
CloseHandler
Runs when the user asks to close a window.
DropHandler
Runs with what the user dropped: a path for each file, an address for each link.
MenuHandler
Runs with the number of the menu item the user chose.
NumberHandler
ResizeHandler
TextHandler
ToggleHandler
WakeHandler