contenttype

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: MIT, MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 CreateWpContentTypeManagerV1

func CreateWpContentTypeManagerV1(p wire.Peer, id wire.ObjectID, version uint32) (*WpContentTypeManagerV1, error)

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 CreateWpContentTypeV1(p wire.Peer, id wire.ObjectID, version uint32) (*WpContentTypeV1, error)

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) Dispatch

func (obj *WpContentTypeV1) Dispatch(msg *wire.Message) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL