Crate zng_ext_window

Crate zng_ext_window 

Source
Expand description

App window and monitors manager.

§Events

Events this extension provides:

§Services

Services this extension provides:

§Raw Services

Services this extension provides for other more advanced services.

The WINDOWS service installs it self as the IMAGES_WINDOW handler.

§Crate

This crate is part of the zng project.

§Cargo Features

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

§"test_util"

Enable test util methods, doc_test_window.

§"image"

Enable images, icon, frame capture, integrate with the IMAGES rendering service.

§"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 that hosts a nested window as defined by WINDOWS_EXTENSIONS.register_open_nested_handler handler.
OpenNestedHandlerArgs
Arguments for the WINDOWS_EXTENSIONS.register_open_nested_handler handler.
ParallelWin
Defines what window operations can run in parallel, between windows.
SetFromLayoutTag
Identifies a variable update set from layout, meaning it should not request window layout back.
SetFromViewTag
Identifies a variable update set from the view-process.
VideoMode
Exclusive video mode info.
WINDOWS
Windows service.
WINDOWS_DIALOG
Windows dialog service integration.
WINDOWS_DRAG_DROP
Raw drag&drop API.
WINDOWS_EXTENSIONS
Windows extensions hooks.
WINDOWS_FOCUS
Windows focus service integration.
WindowButton
Window chrome buttons.
WindowCapability
Window operations the view-process implements.
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.
WindowOpenArgs
WINDOW_OPEN_EVENT args.
WindowRoot
Window root node and values.
WindowRootExtenderArgs
Arguments for WINDOWS_EXTENSIONS.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.
WindowInstanceState
Represents stages of a window instance lifetime.
WindowState
Window state.

Statics§

FRAME_IMAGE_READY_EVENT
A window frame has finished rendering and frame pixels where copied due to WindowVars::frame_capture_mode.
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 instance state has changed to WindowInstanceState::Loaded.
WINDOW_OPEN_EVENT
New window has inited.

Traits§

AppRunWindowExt
Extension trait, adds run_window to AppBuilder.
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.