Crate zng_ext_window

Source
Expand description

App window and monitors manager.

§Crate

This crate is part of the zng project.

§Cargo Features

This crate provides 2 feature flags, 0 enabled by default.

§"test_util"

Enable test util methods, doc_test_window.

§"http"

Implement conversions from http types.

Modules§

cmd
Commands that control the scoped window.

Structs§

AutoSize
Window auto-size config.
CursorImg
Window custom cursor.
FrameImageReadyArgs
FRAME_IMAGE_READY_EVENT args.
HeadlessMonitor
“Monitor” configuration used by windows in headless mode.
ImeArgs
Arguments for IME_EVENT.
MONITORS
Monitors service.
MonitorInfo
All information about a monitor that MONITORS can provide.
MonitorsChangedArgs
MONITORS_CHANGED_EVENT args.
NestedWindowNode
UI node implementation that presents a WindowRoot as embedded content.
OpenNestedHandlerArgs
Arguments for the WINDOWS.register_open_nested_handler handler.
ParallelWin
Defines what window operations can run in parallel, between windows.
VideoMode
Exclusive video mode info.
WINDOWS
Windows service.
WINDOWS_DRAG_DROP
Raw drag&drop API.
WINDOW_FOCUS
Window focused widget hook.
WindowButton
Window chrome buttons.
WindowChangedArgs
WINDOW_CHANGED_EVENT args.
WindowCloseArgs
WINDOW_CLOSE_EVENT args.
WindowCloseRequestedArgs
WINDOW_CLOSE_REQUESTED_EVENT args.
WindowFocusChangedArgs
WINDOW_FOCUS_CHANGED_EVENT args.
WindowLoadingHandle
Represents a handle that stops the window from loading while the handle is alive.
WindowManager
Application extension that manages windows.
WindowNotFoundError
Error when a WindowId is not opened by the WINDOWS service.
WindowOpenArgs
WINDOW_OPEN_EVENT args.
WindowRoot
Window root node and values.
WindowRootExtenderArgs
Arguments for WINDOWS.register_root_extender.
WindowStateAllowed
Mask of allowed WindowState states of a window.
WindowVars
Variables that configure the opening or open window.

Enums§

CloseWindowResult
Response message of close and close_together.
CursorSource
Window cursor source.
FocusIndicator
Represents a focus request indicator.
FrameCaptureMode
Frame image capture mode in a window.
MonitorQuery
A selector that returns a MonitorInfo.
RenderMode
Render backend preference.
StartPosition
Window startup position.
ViewExtensionError
Error calling a view-process API extension associated with a window or renderer.
WindowIcon
Window icon.
WindowState
Window state.

Statics§

FRAME_IMAGE_READY_EVENT
A window frame has finished rendering.
IME_EVENT
Input Method Editor event targeting a text input widget.
MONITORS_CHANGED_EVENT
Monitors added, removed or modified event.
WINDOW_CHANGED_EVENT
Window moved, resized or other state changed.
WINDOW_CLOSE_EVENT
Window closed event.
WINDOW_CLOSE_REQUESTED_EVENT
Window close requested event.
WINDOW_FOCUS_CHANGED_EVENT
Window focus/blur event.
WINDOW_LOAD_EVENT
Window finished loading and has opened in the view-process.
WINDOW_OPEN_EVENT
New window has inited.

Traits§

AppRunWindowExt
Extension trait, adds run_window to AppExtended.
HeadlessAppWindowExt
Window extension methods for HeadlessApp.
NestedWindowWidgetInfoExt
Extension methods for widget info about a node that hosts a nested window.
WINDOW_Ext
Extensions methods for WINDOW contexts of windows open by WINDOWS.
WidgetInfoBuilderImeArea
IME extension methods for WidgetInfoBuilder.
WidgetInfoImeArea
IME extension methods for WidgetInfo.