Skip to main content

Crate baseview

Crate baseview 

Source

Modules§

dpi
gl
host

Structs§

DamageRect
A damaged rectangle.
Error
An error that can occur during window creation or manipulation.
HandlerError
An error that can be returned from a WindowHandler.
ParentWindowHandle
An owned handle to a parent window.
PlatformHandle
A lightweight handle to a window and its display connection.
TimerHandle
A weak handle to a timer.
Window
A handle to a Window created by baseview.
WindowContext
A handle to the window given to a WindowHandler, which it can then use to perform various operations on the window itself.
WindowSettings
Settings used when creating a new window.
WindowSize
A window’s size, which can be read in either logical or physical pixels.
WindowWaker
A simple, weak handle to the Window, which can be used to “wake” it from external events or threads.

Enums§

DamageArea
Describes the area(s) of a window that have been damaged and need to be redrawn.
DropData
DropEffect
Event
EventStatus
Return value for WindowHandler::on_event, indicating whether the event was handled by your window or should be passed back to the platform.
MouseButton
MouseCursor
MouseEvent
ScrollDelta
A scroll movement.
WindowEvent

Traits§

WindowHandler

Functions§

assume_standalone_in_process⚠
Assumes the current baseview library is the only one running in this process.
copy_to_clipboard