Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WpContentTypeManagerV1Interface = &wire.Interface{ Name: "wp_content_type_manager_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "get_surface_content_type", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "wp_content_type_v1"}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}}}, }, }
View Source
var WpContentTypeV1Interface = &wire.Interface{ Name: "wp_content_type_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "set_content_type", Since: 1, Args: []wire.Arg{{Name: "content_type", Type: wire.ArgUint}}}, }, }
Functions ¶
This section is empty.
Types ¶
type WpContentTypeManagerV1 ¶
type WpContentTypeManagerV1 struct {
// contains filtered or unexported fields
}
func NewWpContentTypeManagerV1 ¶
func NewWpContentTypeManagerV1(p wire.Peer, version uint32) (*WpContentTypeManagerV1, error)
func (*WpContentTypeManagerV1) Base ¶
func (obj *WpContentTypeManagerV1) Base() *wire.Object
func (*WpContentTypeManagerV1) Destroy ¶
func (obj *WpContentTypeManagerV1) Destroy() error
func (*WpContentTypeManagerV1) Dispatch ¶
func (obj *WpContentTypeManagerV1) Dispatch(msg *wire.Message) error
func (*WpContentTypeManagerV1) GetSurfaceContentType ¶
func (obj *WpContentTypeManagerV1) GetSurfaceContentType(surface *wayland.WlSurface) (*WpContentTypeV1, error)
type WpContentTypeManagerV1Error ¶
type WpContentTypeManagerV1Error uint32
const (
WpContentTypeManagerV1ErrorAlreadyConstructed WpContentTypeManagerV1Error = 0
)
func (WpContentTypeManagerV1Error) Valid ¶
func (v WpContentTypeManagerV1Error) Valid(version uint32) bool
type WpContentTypeV1 ¶
type WpContentTypeV1 struct {
// contains filtered or unexported fields
}
func CreateWpContentTypeV1 ¶
func NewWpContentTypeV1 ¶
func NewWpContentTypeV1(p wire.Peer, version uint32) (*WpContentTypeV1, error)
func (*WpContentTypeV1) Base ¶
func (obj *WpContentTypeV1) Base() *wire.Object
func (*WpContentTypeV1) Destroy ¶
func (obj *WpContentTypeV1) Destroy() error
func (*WpContentTypeV1) SetContentType ¶
func (obj *WpContentTypeV1) SetContentType(contentType WpContentTypeV1Type) error
type WpContentTypeV1Type ¶
type WpContentTypeV1Type uint32
const ( WpContentTypeV1TypeNone WpContentTypeV1Type = 0 WpContentTypeV1TypePhoto WpContentTypeV1Type = 1 WpContentTypeV1TypeVideo WpContentTypeV1Type = 2 WpContentTypeV1TypeGame WpContentTypeV1Type = 3 )
func (WpContentTypeV1Type) Valid ¶
func (v WpContentTypeV1Type) Valid(version uint32) bool
Click to show internal directories.
Click to hide internal directories.