Documentation
¶
Index ¶
- Constants
- type ExtForeignToplevelImageCaptureSourceManager
- func (o *ExtForeignToplevelImageCaptureSourceManager) CreateSource(toplevelHandle *cross_ext_foreign_toplevel_handle_v1.ExtForeignToplevelHandle) (*ExtImageCaptureSource, error)
- func (o *ExtForeignToplevelImageCaptureSourceManager) Destroy() error
- func (o *ExtForeignToplevelImageCaptureSourceManager) Dispatch(event *wl.Event)
- func (o *ExtForeignToplevelImageCaptureSourceManager) EventSignature(opcode uint16) (string, bool)
- type ExtImageCaptureSource
- type ExtOutputImageCaptureSourceManager
- func (o *ExtOutputImageCaptureSourceManager) CreateSource(output *cross_wl_output.Output) (*ExtImageCaptureSource, error)
- func (o *ExtOutputImageCaptureSourceManager) Destroy() error
- func (o *ExtOutputImageCaptureSourceManager) Dispatch(event *wl.Event)
- func (o *ExtOutputImageCaptureSourceManager) EventSignature(opcode uint16) (string, bool)
Constants ¶
const ExtForeignToplevelImageCaptureSourceManagerInterface = "ext_foreign_toplevel_image_capture_source_manager_v1"
ExtForeignToplevelImageCaptureSourceManagerInterface is the protocol interface name.
const ExtImageCaptureSourceInterface = "ext_image_capture_source_v1"
ExtImageCaptureSourceInterface is the protocol interface name.
const ExtOutputImageCaptureSourceManagerInterface = "ext_output_image_capture_source_manager_v1"
ExtOutputImageCaptureSourceManagerInterface is the protocol interface name.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtForeignToplevelImageCaptureSourceManager ¶
ExtForeignToplevelImageCaptureSourceManager is the generated binding for ext_foreign_toplevel_image_capture_source_manager_v1 version 1.
func NewExtForeignToplevelImageCaptureSourceManager ¶
func NewExtForeignToplevelImageCaptureSourceManager(ctx *wl.Context) *ExtForeignToplevelImageCaptureSourceManager
NewExtForeignToplevelImageCaptureSourceManager returns an unbound ExtForeignToplevelImageCaptureSourceManager.
func (*ExtForeignToplevelImageCaptureSourceManager) CreateSource ¶
func (o *ExtForeignToplevelImageCaptureSourceManager) CreateSource(toplevelHandle *cross_ext_foreign_toplevel_handle_v1.ExtForeignToplevelHandle) (*ExtImageCaptureSource, error)
Creates a source object for a foreign toplevel handle. Images captured from this source will show the same content as the toplevel.
func (*ExtForeignToplevelImageCaptureSourceManager) Destroy ¶
func (o *ExtForeignToplevelImageCaptureSourceManager) Destroy() error
Destroys the manager. This request may be sent at any time by the client and objects created by the manager will remain valid after its destruction.
func (*ExtForeignToplevelImageCaptureSourceManager) Dispatch ¶
func (o *ExtForeignToplevelImageCaptureSourceManager) Dispatch(event *wl.Event)
Dispatch decodes one event on ext_foreign_toplevel_image_capture_source_manager_v1 and calls the registered handlers.
func (*ExtForeignToplevelImageCaptureSourceManager) EventSignature ¶
func (o *ExtForeignToplevelImageCaptureSourceManager) EventSignature(opcode uint16) (string, bool)
EventSignature returns the declared event argument types in wire order.
type ExtImageCaptureSource ¶
ExtImageCaptureSource is the generated binding for ext_image_capture_source_v1 version 1.
func NewExtImageCaptureSource ¶
func NewExtImageCaptureSource(ctx *wl.Context) *ExtImageCaptureSource
NewExtImageCaptureSource returns an unbound ExtImageCaptureSource.
func (*ExtImageCaptureSource) Destroy ¶
func (o *ExtImageCaptureSource) Destroy() error
Destroys the image capture source. This request may be sent at any time by the client.
func (*ExtImageCaptureSource) Dispatch ¶
func (o *ExtImageCaptureSource) Dispatch(event *wl.Event)
Dispatch decodes one event on ext_image_capture_source_v1 and calls the registered handlers.
func (*ExtImageCaptureSource) EventSignature ¶
func (o *ExtImageCaptureSource) EventSignature(opcode uint16) (string, bool)
EventSignature returns the declared event argument types in wire order.
type ExtOutputImageCaptureSourceManager ¶
ExtOutputImageCaptureSourceManager is the generated binding for ext_output_image_capture_source_manager_v1 version 1.
func NewExtOutputImageCaptureSourceManager ¶
func NewExtOutputImageCaptureSourceManager(ctx *wl.Context) *ExtOutputImageCaptureSourceManager
NewExtOutputImageCaptureSourceManager returns an unbound ExtOutputImageCaptureSourceManager.
func (*ExtOutputImageCaptureSourceManager) CreateSource ¶
func (o *ExtOutputImageCaptureSourceManager) CreateSource(output *cross_wl_output.Output) (*ExtImageCaptureSource, error)
Creates a source object for an output. Images captured from this source will show the same content as the output. Some elements may be omitted, such as cursors and overlays that have been marked as transparent to capturing.
func (*ExtOutputImageCaptureSourceManager) Destroy ¶
func (o *ExtOutputImageCaptureSourceManager) Destroy() error
Destroys the manager. This request may be sent at any time by the client and objects created by the manager will remain valid after its destruction.
func (*ExtOutputImageCaptureSourceManager) Dispatch ¶
func (o *ExtOutputImageCaptureSourceManager) Dispatch(event *wl.Event)
Dispatch decodes one event on ext_output_image_capture_source_manager_v1 and calls the registered handlers.
func (*ExtOutputImageCaptureSourceManager) EventSignature ¶
func (o *ExtOutputImageCaptureSourceManager) EventSignature(opcode uint16) (string, bool)
EventSignature returns the declared event argument types in wire order.