Documentation ¶
Overview ¶
generated by wl-scanner https://github.com/malcolmstill/wl-scanner from: /usr/share/wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml on 2020-04-17 01:07:31 +0100
Index ¶
- Constants
- type ZxdgDecorationManagerV1
- func (p *ZxdgDecorationManagerV1) AddDestroyHandler(h ZxdgDecorationManagerV1DestroyHandler)
- func (p *ZxdgDecorationManagerV1) AddGetToplevelDecorationHandler(h ZxdgDecorationManagerV1GetToplevelDecorationHandler)
- func (p *ZxdgDecorationManagerV1) Dispatch(event *wl.Event)
- func (p *ZxdgDecorationManagerV1) RemoveDestroyHandler(h ZxdgDecorationManagerV1DestroyHandler)
- func (p *ZxdgDecorationManagerV1) RemoveGetToplevelDecorationHandler(h ZxdgDecorationManagerV1GetToplevelDecorationHandler)
- type ZxdgDecorationManagerV1DestroyEvent
- type ZxdgDecorationManagerV1DestroyHandler
- type ZxdgDecorationManagerV1GetToplevelDecorationEvent
- type ZxdgDecorationManagerV1GetToplevelDecorationHandler
- type ZxdgToplevelDecorationV1
- func (p *ZxdgToplevelDecorationV1) AddDestroyHandler(h ZxdgToplevelDecorationV1DestroyHandler)
- func (p *ZxdgToplevelDecorationV1) AddSetModeHandler(h ZxdgToplevelDecorationV1SetModeHandler)
- func (p *ZxdgToplevelDecorationV1) AddUnsetModeHandler(h ZxdgToplevelDecorationV1UnsetModeHandler)
- func (p *ZxdgToplevelDecorationV1) Configure(mode uint32) error
- func (p *ZxdgToplevelDecorationV1) Dispatch(event *wl.Event)
- func (p *ZxdgToplevelDecorationV1) RemoveDestroyHandler(h ZxdgToplevelDecorationV1DestroyHandler)
- func (p *ZxdgToplevelDecorationV1) RemoveSetModeHandler(h ZxdgToplevelDecorationV1SetModeHandler)
- func (p *ZxdgToplevelDecorationV1) RemoveUnsetModeHandler(h ZxdgToplevelDecorationV1UnsetModeHandler)
- type ZxdgToplevelDecorationV1DestroyEvent
- type ZxdgToplevelDecorationV1DestroyHandler
- type ZxdgToplevelDecorationV1SetModeEvent
- type ZxdgToplevelDecorationV1SetModeHandler
- type ZxdgToplevelDecorationV1UnsetModeEvent
- type ZxdgToplevelDecorationV1UnsetModeHandler
Constants ¶
View Source
const ( ZxdgToplevelDecorationV1ErrorUnconfiguredBuffer = 0 ZxdgToplevelDecorationV1ErrorAlreadyConstructed = 1 ZxdgToplevelDecorationV1ErrorOrphaned = 2 )
View Source
const ( ZxdgToplevelDecorationV1ModeClientSide = 1 ZxdgToplevelDecorationV1ModeServerSide = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZxdgDecorationManagerV1 ¶
func NewZxdgDecorationManagerV1 ¶
func NewZxdgDecorationManagerV1(ctx *wl.Context, id int) *ZxdgDecorationManagerV1
func (*ZxdgDecorationManagerV1) AddDestroyHandler ¶
func (p *ZxdgDecorationManagerV1) AddDestroyHandler(h ZxdgDecorationManagerV1DestroyHandler)
func (*ZxdgDecorationManagerV1) AddGetToplevelDecorationHandler ¶
func (p *ZxdgDecorationManagerV1) AddGetToplevelDecorationHandler(h ZxdgDecorationManagerV1GetToplevelDecorationHandler)
func (*ZxdgDecorationManagerV1) Dispatch ¶
func (p *ZxdgDecorationManagerV1) Dispatch(event *wl.Event)
func (*ZxdgDecorationManagerV1) RemoveDestroyHandler ¶
func (p *ZxdgDecorationManagerV1) RemoveDestroyHandler(h ZxdgDecorationManagerV1DestroyHandler)
func (*ZxdgDecorationManagerV1) RemoveGetToplevelDecorationHandler ¶
func (p *ZxdgDecorationManagerV1) RemoveGetToplevelDecorationHandler(h ZxdgDecorationManagerV1GetToplevelDecorationHandler)
type ZxdgDecorationManagerV1DestroyEvent ¶
type ZxdgDecorationManagerV1DestroyEvent struct { }
type ZxdgDecorationManagerV1DestroyHandler ¶
type ZxdgDecorationManagerV1DestroyHandler interface {
HandleZxdgDecorationManagerV1Destroy(ZxdgDecorationManagerV1DestroyEvent)
}
type ZxdgDecorationManagerV1GetToplevelDecorationEvent ¶
type ZxdgDecorationManagerV1GetToplevelDecorationEvent struct { Id *ZxdgToplevelDecorationV1 Toplevel *xdg.XdgToplevel }
type ZxdgDecorationManagerV1GetToplevelDecorationHandler ¶
type ZxdgDecorationManagerV1GetToplevelDecorationHandler interface {
HandleZxdgDecorationManagerV1GetToplevelDecoration(ZxdgDecorationManagerV1GetToplevelDecorationEvent)
}
type ZxdgToplevelDecorationV1 ¶
func NewZxdgToplevelDecorationV1 ¶
func NewZxdgToplevelDecorationV1(ctx *wl.Context, id int) *ZxdgToplevelDecorationV1
func (*ZxdgToplevelDecorationV1) AddDestroyHandler ¶
func (p *ZxdgToplevelDecorationV1) AddDestroyHandler(h ZxdgToplevelDecorationV1DestroyHandler)
func (*ZxdgToplevelDecorationV1) AddSetModeHandler ¶
func (p *ZxdgToplevelDecorationV1) AddSetModeHandler(h ZxdgToplevelDecorationV1SetModeHandler)
func (*ZxdgToplevelDecorationV1) AddUnsetModeHandler ¶
func (p *ZxdgToplevelDecorationV1) AddUnsetModeHandler(h ZxdgToplevelDecorationV1UnsetModeHandler)
func (*ZxdgToplevelDecorationV1) Configure ¶
func (p *ZxdgToplevelDecorationV1) Configure(mode uint32) error
Configure will suggest a surface change.
The configure event asks the client to change its decoration mode. The configured state should not be applied immediately. Clients must send an ack_configure in response to this event. See xdg_surface.configure and xdg_surface.ack_configure for details.
A configure event can be sent at any time. The specified mode must be obeyed by the client.
func (*ZxdgToplevelDecorationV1) Dispatch ¶
func (p *ZxdgToplevelDecorationV1) Dispatch(event *wl.Event)
func (*ZxdgToplevelDecorationV1) RemoveDestroyHandler ¶
func (p *ZxdgToplevelDecorationV1) RemoveDestroyHandler(h ZxdgToplevelDecorationV1DestroyHandler)
func (*ZxdgToplevelDecorationV1) RemoveSetModeHandler ¶
func (p *ZxdgToplevelDecorationV1) RemoveSetModeHandler(h ZxdgToplevelDecorationV1SetModeHandler)
func (*ZxdgToplevelDecorationV1) RemoveUnsetModeHandler ¶
func (p *ZxdgToplevelDecorationV1) RemoveUnsetModeHandler(h ZxdgToplevelDecorationV1UnsetModeHandler)
type ZxdgToplevelDecorationV1DestroyEvent ¶
type ZxdgToplevelDecorationV1DestroyEvent struct { }
type ZxdgToplevelDecorationV1DestroyHandler ¶
type ZxdgToplevelDecorationV1DestroyHandler interface {
HandleZxdgToplevelDecorationV1Destroy(ZxdgToplevelDecorationV1DestroyEvent)
}
type ZxdgToplevelDecorationV1SetModeEvent ¶
type ZxdgToplevelDecorationV1SetModeEvent struct {
Mode uint32
}
type ZxdgToplevelDecorationV1SetModeHandler ¶
type ZxdgToplevelDecorationV1SetModeHandler interface {
HandleZxdgToplevelDecorationV1SetMode(ZxdgToplevelDecorationV1SetModeEvent)
}
type ZxdgToplevelDecorationV1UnsetModeEvent ¶
type ZxdgToplevelDecorationV1UnsetModeEvent struct { }
type ZxdgToplevelDecorationV1UnsetModeHandler ¶
type ZxdgToplevelDecorationV1UnsetModeHandler interface {
HandleZxdgToplevelDecorationV1UnsetMode(ZxdgToplevelDecorationV1UnsetModeEvent)
}
Click to show internal directories.
Click to hide internal directories.