Documentation ¶
Index ¶
- func Cbool[T constraints.Integer | constraints.Float](v bool) T
- type Display
- type Output
- type Window
- func (w *Window) Decorated() bool
- func (w *Window) Destroy()
- func (w *Window) DragWindow()
- func (w *Window) Fullscreen() bool
- func (w *Window) InnerSize() dpi.PhysicalSize[uint32]
- func (w *Window) Maximized() bool
- func (w *Window) SetCloseRequestedCallback(cb events.WindowCloseRequestedCallback)
- func (w *Window) SetCursorEnteredCallback(cb events.WindowCursorEnteredCallback)
- func (w *Window) SetCursorIcon(icon cursors.Icon)
- func (w *Window) SetCursorLeftCallback(cb events.WindowCursorLeftCallback)
- func (w *Window) SetCursorMovedCallback(cb events.WindowCursorMovedCallback)
- func (w *Window) SetCursorVisible(visible bool)
- func (w *Window) SetDecorations(decorate bool)
- func (w *Window) SetFocusedCallback(cb events.WindowFocusedCallback)
- func (w *Window) SetFullscreen(fullscreen bool)
- func (w *Window) SetInnerSize(size dpi.Size[uint32])
- func (w *Window) SetKeyboardInputCallback(cb events.WindowKeyboardInputCallback)
- func (w *Window) SetMaxInnerSize(size dpi.Size[uint32])
- func (w *Window) SetMaximized(maximized bool)
- func (w *Window) SetMinInnerSize(size dpi.Size[uint32])
- func (w *Window) SetMinimized()
- func (w *Window) SetModifiersChangedCallback(cb events.WindowModifiersChangedCallback)
- func (w *Window) SetMouseInputCallback(cb events.WindowMouseInputCallback)
- func (w *Window) SetMouseScrollCallback(cb events.WindowMouseScrollCallback)
- func (w *Window) SetReceivedCharacterCallback(cb events.WindowReceivedCharacterCallback)
- func (w *Window) SetResizedCallback(cb events.WindowResizedCallback)
- func (w *Window) SetTitle(title string)
- func (w *Window) SetTouchInputCallback(cb events.WindowTouchInputCallback)
- func (w *Window) SetUnfocusedCallback(cb events.WindowUnfocusedCallback)
- func (w *Window) XcbConnection() unsafe.Pointer
- func (w *Window) XcbWindow() uint32
- func (w *Window) XlibDisplay() unsafe.Pointer
- func (w *Window) XlibWindow() uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cbool ¶
func Cbool[T constraints.Integer | constraints.Float](v bool) T
Types ¶
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
func (*Window) DragWindow ¶ added in v0.1.1
func (w *Window) DragWindow()
func (*Window) Fullscreen ¶
func (*Window) SetCloseRequestedCallback ¶
func (w *Window) SetCloseRequestedCallback(cb events.WindowCloseRequestedCallback)
func (*Window) SetCursorEnteredCallback ¶
func (w *Window) SetCursorEnteredCallback(cb events.WindowCursorEnteredCallback)
func (*Window) SetCursorIcon ¶
func (*Window) SetCursorLeftCallback ¶
func (w *Window) SetCursorLeftCallback(cb events.WindowCursorLeftCallback)
func (*Window) SetCursorMovedCallback ¶
func (w *Window) SetCursorMovedCallback(cb events.WindowCursorMovedCallback)
func (*Window) SetCursorVisible ¶
func (*Window) SetDecorations ¶ added in v0.1.1
func (*Window) SetFocusedCallback ¶
func (w *Window) SetFocusedCallback(cb events.WindowFocusedCallback)
func (*Window) SetFullscreen ¶
func (*Window) SetKeyboardInputCallback ¶
func (w *Window) SetKeyboardInputCallback(cb events.WindowKeyboardInputCallback)
func (*Window) SetMaximized ¶
func (*Window) SetMinimized ¶
func (w *Window) SetMinimized()
func (*Window) SetModifiersChangedCallback ¶
func (w *Window) SetModifiersChangedCallback(cb events.WindowModifiersChangedCallback)
func (*Window) SetMouseInputCallback ¶
func (w *Window) SetMouseInputCallback(cb events.WindowMouseInputCallback)
func (*Window) SetMouseScrollCallback ¶
func (w *Window) SetMouseScrollCallback(cb events.WindowMouseScrollCallback)
func (*Window) SetReceivedCharacterCallback ¶
func (w *Window) SetReceivedCharacterCallback(cb events.WindowReceivedCharacterCallback)
func (*Window) SetResizedCallback ¶
func (w *Window) SetResizedCallback(cb events.WindowResizedCallback)
func (*Window) SetTouchInputCallback ¶
func (w *Window) SetTouchInputCallback(cb events.WindowTouchInputCallback)
func (*Window) SetUnfocusedCallback ¶
func (w *Window) SetUnfocusedCallback(cb events.WindowUnfocusedCallback)
func (*Window) XcbConnection ¶
func (*Window) XlibDisplay ¶
func (*Window) XlibWindow ¶
Click to show internal directories.
Click to hide internal directories.