glibobject

package
v0.0.0-...-61532f3 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertGError

func ConvertGError(e GError) error

func GoBool

func GoBool(b GBoolean) bool

Types

type GBoolean

type GBoolean C.gboolean

GBoolean is a Go representation of glib's gboolean

func GBool

func GBool(b bool) GBoolean

func NewGBoolean

func NewGBoolean() GBoolean

func (GBoolean) Ptr

func (b GBoolean) Ptr() unsafe.Pointer

type GCancellable

type GCancellable struct {
	*GObject
}

func (*GCancellable) Ptr

func (self *GCancellable) Ptr() unsafe.Pointer

type GError

type GError struct {
	// contains filtered or unexported fields
}

GError is a representation of GLib's GError

func NewGError

func NewGError() GError

func ToGError

func ToGError(ptr unsafe.Pointer) GError

func (GError) Nil

func (e GError) Nil()

func (GError) Ptr

func (e GError) Ptr() unsafe.Pointer

type GFile

type GFile struct {
	// contains filtered or unexported fields
}

func NewGFile

func NewGFile() *GFile

func ToGFile

func ToGFile(ptr unsafe.Pointer) *GFile

func (GFile) Ptr

func (f GFile) Ptr() unsafe.Pointer

type GFileInfo

type GFileInfo struct {
	// contains filtered or unexported fields
}

func NewGFileInfo

func NewGFileInfo() GFileInfo

func ToGFileInfo

func ToGFileInfo(p unsafe.Pointer) *GFileInfo

func (GFileInfo) Ptr

func (fi GFileInfo) Ptr() unsafe.Pointer

type GHashTable

type GHashTable struct {
	// contains filtered or unexported fields
}

* GHashTable

func ToGHashTable

func ToGHashTable(ptr unsafe.Pointer) *GHashTable

func (*GHashTable) Ptr

func (ht *GHashTable) Ptr() unsafe.Pointer

type GHashTableIter

type GHashTableIter struct {
	// contains filtered or unexported fields
}

* GHashTableIter

func ToGHashTableIter

func ToGHashTableIter(ptr unsafe.Pointer) *GHashTableIter

func (*GHashTableIter) Ptr

func (ht *GHashTableIter) Ptr() unsafe.Pointer

type GObject

type GObject struct {
	// contains filtered or unexported fields
}

GObject is a representation of GLib's GObject.

func (*GObject) ForceFloating

func (v *GObject) ForceFloating()

func (*GObject) IsFloating

func (v *GObject) IsFloating() bool

func (*GObject) Ptr

func (v *GObject) Ptr() unsafe.Pointer

func (*GObject) Ref

func (v *GObject) Ref()

func (*GObject) RefSink

func (v *GObject) RefSink()

func (*GObject) Unref

func (v *GObject) Unref()

type GOptionContext

type GOptionContext struct {
	// contains filtered or unexported fields
}

func ToGOptionContext

func ToGOptionContext(ptr unsafe.Pointer) GOptionContext

func (*GOptionContext) Ptr

func (oc *GOptionContext) Ptr() unsafe.Pointer

type GVariant

type GVariant struct {
	// contains filtered or unexported fields
}

func ToGVariant

func ToGVariant(ptr unsafe.Pointer) *GVariant

func (*GVariant) GetChildValue

func (v *GVariant) GetChildValue(i int) *GVariant

func (*GVariant) LookupString

func (v *GVariant) LookupString(key string) (string, error)

func (*GVariant) Ptr

func (v *GVariant) Ptr() unsafe.Pointer

func (*GVariant) Ref

func (v *GVariant) Ref()

func (*GVariant) RefSink

func (v *GVariant) RefSink()

func (*GVariant) TypeString

func (v *GVariant) TypeString() string

func (*GVariant) Unref

func (v *GVariant) Unref()

type IObject

type IObject interface {
	ToObject() *GObject
	// contains filtered or unexported methods
}

IObject is an interface type implemented by Object and all types which embed an Object. It is meant to be used as a type for function arguments which require GObjects or any subclasses thereof.

Jump to

Keyboard shortcuts

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