Documentation ¶
Index ¶
- Constants
- func PixbufErrorQuark() glib.Quark
- type Colorspace
- type InterpType
- type Pixbuf
- func CastToPixbuf(object *gobject.Object) *Pixbuf
- func PixbufNew(colorspace Colorspace, hasAlpha bool, bitsPerSample int32, width int32, ...) *Pixbuf
- func PixbufNewFromC(u unsafe.Pointer) *Pixbuf
- func PixbufNewFromFile(filename string) (*Pixbuf, error)
- func PixbufNewFromInline(data []uint8, copyPixels bool) (*Pixbuf, error)
- func PixbufNewFromXpmData(data []string) *Pixbuf
- func (recv *Pixbuf) AddAlpha(substituteColor bool, r uint8, g uint8, b uint8) *Pixbuf
- func (recv *Pixbuf) Composite(dest *Pixbuf, destX int32, destY int32, destWidth int32, destHeight int32, ...)
- func (recv *Pixbuf) CompositeColor(dest *Pixbuf, destX int32, destY int32, destWidth int32, destHeight int32, ...)
- func (recv *Pixbuf) CompositeColorSimple(destWidth int32, destHeight int32, interpType InterpType, overallAlpha int32, ...) *Pixbuf
- func (recv *Pixbuf) Copy() *Pixbuf
- func (recv *Pixbuf) CopyArea(srcX int32, srcY int32, width int32, height int32, destPixbuf *Pixbuf, ...)
- func (recv *Pixbuf) Equals(other *Pixbuf) bool
- func (recv *Pixbuf) Fill(pixel uint32)
- func (recv *Pixbuf) GetBitsPerSample() int32
- func (recv *Pixbuf) GetColorspace() Colorspace
- func (recv *Pixbuf) GetHasAlpha() bool
- func (recv *Pixbuf) GetHeight() int32
- func (recv *Pixbuf) GetNChannels() int32
- func (recv *Pixbuf) GetOption(key string) string
- func (recv *Pixbuf) GetRowstride() int32
- func (recv *Pixbuf) GetWidth() int32
- func (recv *Pixbuf) Icon() *gio.Icon
- func (recv *Pixbuf) LoadableIcon() *gio.LoadableIcon
- func (recv *Pixbuf) NewSubpixbuf(srcX int32, srcY int32, width int32, height int32) *Pixbuf
- func (recv *Pixbuf) Object() *gobject.Object
- func (recv *Pixbuf) Ref() *Pixbuf
- func (recv *Pixbuf) SaturateAndPixelate(dest *Pixbuf, saturation float32, pixelate bool)
- func (recv *Pixbuf) Savev(filename string, type_ string, optionKeys []string, optionValues []string) (bool, error)
- func (recv *Pixbuf) Scale(dest *Pixbuf, destX int32, destY int32, destWidth int32, destHeight int32, ...)
- func (recv *Pixbuf) ScaleSimple(destWidth int32, destHeight int32, interpType InterpType) *Pixbuf
- func (recv *Pixbuf) ToC() unsafe.Pointer
- func (recv *Pixbuf) Unref()
- type PixbufAlphaMode
- type PixbufAnimation
- func (recv *PixbufAnimation) Equals(other *PixbufAnimation) bool
- func (recv *PixbufAnimation) GetHeight() int32
- func (recv *PixbufAnimation) GetIter(startTime *glib.TimeVal) *PixbufAnimationIter
- func (recv *PixbufAnimation) GetStaticImage() *Pixbuf
- func (recv *PixbufAnimation) GetWidth() int32
- func (recv *PixbufAnimation) IsStaticImage() bool
- func (recv *PixbufAnimation) Object() *gobject.Object
- func (recv *PixbufAnimation) Ref() *PixbufAnimation
- func (recv *PixbufAnimation) ToC() unsafe.Pointer
- func (recv *PixbufAnimation) Unref()
- type PixbufAnimationIter
- func (recv *PixbufAnimationIter) Advance(currentTime *glib.TimeVal) bool
- func (recv *PixbufAnimationIter) Equals(other *PixbufAnimationIter) bool
- func (recv *PixbufAnimationIter) GetDelayTime() int32
- func (recv *PixbufAnimationIter) GetPixbuf() *Pixbuf
- func (recv *PixbufAnimationIter) Object() *gobject.Object
- func (recv *PixbufAnimationIter) OnCurrentlyLoadingFrame() bool
- func (recv *PixbufAnimationIter) ToC() unsafe.Pointer
- type PixbufError
- type PixbufFormat
- type PixbufLoader
- func (recv *PixbufLoader) Close() (bool, error)
- func (recv *PixbufLoader) ConnectAreaPrepared(callback PixbufLoaderSignalAreaPreparedCallback) int
- func (recv *PixbufLoader) ConnectAreaUpdated(callback PixbufLoaderSignalAreaUpdatedCallback) int
- func (recv *PixbufLoader) ConnectClosed(callback PixbufLoaderSignalClosedCallback) int
- func (recv *PixbufLoader) ConnectSizePrepared(callback PixbufLoaderSignalSizePreparedCallback) int
- func (recv *PixbufLoader) DisconnectAreaPrepared(connectionID int)
- func (recv *PixbufLoader) DisconnectAreaUpdated(connectionID int)
- func (recv *PixbufLoader) DisconnectClosed(connectionID int)
- func (recv *PixbufLoader) DisconnectSizePrepared(connectionID int)
- func (recv *PixbufLoader) Equals(other *PixbufLoader) bool
- func (recv *PixbufLoader) GetAnimation() *PixbufAnimation
- func (recv *PixbufLoader) GetPixbuf() *Pixbuf
- func (recv *PixbufLoader) Object() *gobject.Object
- func (recv *PixbufLoader) ToC() unsafe.Pointer
- func (recv *PixbufLoader) Write(buf []uint8) (bool, error)
- type PixbufLoaderClass
- type PixbufLoaderSignalAreaPreparedCallback
- type PixbufLoaderSignalAreaUpdatedCallback
- type PixbufLoaderSignalClosedCallback
- type PixbufLoaderSignalSizePreparedCallback
- type PixbufRotation
- type PixbufSimpleAnim
- type PixbufSimpleAnimClass
Constants ¶
const PIXBUF_FEATURES_H int32 = C.GDK_PIXBUF_FEATURES_H
const PIXBUF_MAJOR int32 = C.GDK_PIXBUF_MAJOR
const PIXBUF_MICRO int32 = C.GDK_PIXBUF_MICRO
const PIXBUF_MINOR int32 = C.GDK_PIXBUF_MINOR
const PIXBUF_VERSION string = C.GDK_PIXBUF_VERSION
Variables ¶
This section is empty.
Functions ¶
func PixbufErrorQuark ¶
PixbufErrorQuark is a wrapper around the C function gdk_pixbuf_error_quark.
Types ¶
type InterpType ¶
type InterpType C.GdkInterpType
const ( GDK_INTERP_NEAREST InterpType = 0 GDK_INTERP_TILES InterpType = 1 GDK_INTERP_BILINEAR InterpType = 2 GDK_INTERP_HYPER InterpType = 3 )
type Pixbuf ¶
type Pixbuf struct {
// contains filtered or unexported fields
}
Pixbuf is a wrapper around the C record GdkPixbuf.
func CastToPixbuf ¶
CastToWidget down casts any arbitrary Object to Pixbuf. Exercise care, as this is a potentially dangerous function if the Object is not a Pixbuf.
func PixbufNew ¶
func PixbufNew(colorspace Colorspace, hasAlpha bool, bitsPerSample int32, width int32, height int32) *Pixbuf
PixbufNew is a wrapper around the C function gdk_pixbuf_new.
func PixbufNewFromC ¶
func PixbufNewFromFile ¶
PixbufNewFromFile is a wrapper around the C function gdk_pixbuf_new_from_file.
func PixbufNewFromInline ¶
PixbufNewFromInline is a wrapper around the C function gdk_pixbuf_new_from_inline.
func PixbufNewFromXpmData ¶ added in v0.0.8
PixbufNewFromXpmData is a wrapper around the C function gdk_pixbuf_new_from_xpm_data.
func (*Pixbuf) AddAlpha ¶
gdk_pixbuf_from_pixdata : unsupported parameter pixdata : Blacklisted record : GdkPixdata AddAlpha is a wrapper around the C function gdk_pixbuf_add_alpha.
func (*Pixbuf) Composite ¶
func (recv *Pixbuf) Composite(dest *Pixbuf, destX int32, destY int32, destWidth int32, destHeight int32, offsetX float64, offsetY float64, scaleX float64, scaleY float64, interpType InterpType, overallAlpha int32)
Composite is a wrapper around the C function gdk_pixbuf_composite.
func (*Pixbuf) CompositeColor ¶
func (recv *Pixbuf) CompositeColor(dest *Pixbuf, destX int32, destY int32, destWidth int32, destHeight int32, offsetX float64, offsetY float64, scaleX float64, scaleY float64, interpType InterpType, overallAlpha int32, checkX int32, checkY int32, checkSize int32, color1 uint32, color2 uint32)
CompositeColor is a wrapper around the C function gdk_pixbuf_composite_color.
func (*Pixbuf) CompositeColorSimple ¶
func (recv *Pixbuf) CompositeColorSimple(destWidth int32, destHeight int32, interpType InterpType, overallAlpha int32, checkSize int32, color1 uint32, color2 uint32) *Pixbuf
CompositeColorSimple is a wrapper around the C function gdk_pixbuf_composite_color_simple.
func (*Pixbuf) CopyArea ¶
func (recv *Pixbuf) CopyArea(srcX int32, srcY int32, width int32, height int32, destPixbuf *Pixbuf, destX int32, destY int32)
CopyArea is a wrapper around the C function gdk_pixbuf_copy_area.
func (*Pixbuf) Equals ¶ added in v0.0.2
Equals compares this Pixbuf with another Pixbuf, and returns true if they represent the same GObject.
func (*Pixbuf) GetBitsPerSample ¶
GetBitsPerSample is a wrapper around the C function gdk_pixbuf_get_bits_per_sample.
func (*Pixbuf) GetColorspace ¶
func (recv *Pixbuf) GetColorspace() Colorspace
GetColorspace is a wrapper around the C function gdk_pixbuf_get_colorspace.
func (*Pixbuf) GetHasAlpha ¶
GetHasAlpha is a wrapper around the C function gdk_pixbuf_get_has_alpha.
func (*Pixbuf) GetNChannels ¶
GetNChannels is a wrapper around the C function gdk_pixbuf_get_n_channels.
func (*Pixbuf) GetRowstride ¶
GetRowstride is a wrapper around the C function gdk_pixbuf_get_rowstride.
func (*Pixbuf) LoadableIcon ¶
func (recv *Pixbuf) LoadableIcon() *gio.LoadableIcon
LoadableIcon returns the LoadableIcon interface implemented by Pixbuf
func (*Pixbuf) NewSubpixbuf ¶
NewSubpixbuf is a wrapper around the C function gdk_pixbuf_new_subpixbuf.
func (*Pixbuf) SaturateAndPixelate ¶
SaturateAndPixelate is a wrapper around the C function gdk_pixbuf_saturate_and_pixelate.
func (*Pixbuf) Savev ¶ added in v0.0.8
func (recv *Pixbuf) Savev(filename string, type_ string, optionKeys []string, optionValues []string) (bool, error)
Savev is a wrapper around the C function gdk_pixbuf_savev.
func (*Pixbuf) Scale ¶
func (recv *Pixbuf) Scale(dest *Pixbuf, destX int32, destY int32, destWidth int32, destHeight int32, offsetX float64, offsetY float64, scaleX float64, scaleY float64, interpType InterpType)
Scale is a wrapper around the C function gdk_pixbuf_scale.
func (*Pixbuf) ScaleSimple ¶
func (recv *Pixbuf) ScaleSimple(destWidth int32, destHeight int32, interpType InterpType) *Pixbuf
ScaleSimple is a wrapper around the C function gdk_pixbuf_scale_simple.
type PixbufAlphaMode ¶
type PixbufAlphaMode C.GdkPixbufAlphaMode
const ( GDK_PIXBUF_ALPHA_BILEVEL PixbufAlphaMode = 0 GDK_PIXBUF_ALPHA_FULL PixbufAlphaMode = 1 )
type PixbufAnimation ¶
type PixbufAnimation struct {
// contains filtered or unexported fields
}
PixbufAnimation is a wrapper around the C record GdkPixbufAnimation.
func CastToPixbufAnimation ¶
func CastToPixbufAnimation(object *gobject.Object) *PixbufAnimation
CastToWidget down casts any arbitrary Object to PixbufAnimation. Exercise care, as this is a potentially dangerous function if the Object is not a PixbufAnimation.
func PixbufAnimationNewFromC ¶
func PixbufAnimationNewFromC(u unsafe.Pointer) *PixbufAnimation
func PixbufAnimationNewFromFile ¶
func PixbufAnimationNewFromFile(filename string) (*PixbufAnimation, error)
PixbufAnimationNewFromFile is a wrapper around the C function gdk_pixbuf_animation_new_from_file.
func (*PixbufAnimation) Equals ¶ added in v0.0.2
func (recv *PixbufAnimation) Equals(other *PixbufAnimation) bool
Equals compares this PixbufAnimation with another PixbufAnimation, and returns true if they represent the same GObject.
func (*PixbufAnimation) GetHeight ¶
func (recv *PixbufAnimation) GetHeight() int32
GetHeight is a wrapper around the C function gdk_pixbuf_animation_get_height.
func (*PixbufAnimation) GetIter ¶
func (recv *PixbufAnimation) GetIter(startTime *glib.TimeVal) *PixbufAnimationIter
GetIter is a wrapper around the C function gdk_pixbuf_animation_get_iter.
func (*PixbufAnimation) GetStaticImage ¶
func (recv *PixbufAnimation) GetStaticImage() *Pixbuf
GetStaticImage is a wrapper around the C function gdk_pixbuf_animation_get_static_image.
func (*PixbufAnimation) GetWidth ¶
func (recv *PixbufAnimation) GetWidth() int32
GetWidth is a wrapper around the C function gdk_pixbuf_animation_get_width.
func (*PixbufAnimation) IsStaticImage ¶
func (recv *PixbufAnimation) IsStaticImage() bool
IsStaticImage is a wrapper around the C function gdk_pixbuf_animation_is_static_image.
func (*PixbufAnimation) Object ¶
func (recv *PixbufAnimation) Object() *gobject.Object
Object upcasts to *Object
func (*PixbufAnimation) Ref ¶
func (recv *PixbufAnimation) Ref() *PixbufAnimation
Ref is a wrapper around the C function gdk_pixbuf_animation_ref.
func (*PixbufAnimation) ToC ¶
func (recv *PixbufAnimation) ToC() unsafe.Pointer
func (*PixbufAnimation) Unref ¶
func (recv *PixbufAnimation) Unref()
Unref is a wrapper around the C function gdk_pixbuf_animation_unref.
type PixbufAnimationIter ¶
type PixbufAnimationIter struct {
// contains filtered or unexported fields
}
PixbufAnimationIter is a wrapper around the C record GdkPixbufAnimationIter.
func CastToPixbufAnimationIter ¶
func CastToPixbufAnimationIter(object *gobject.Object) *PixbufAnimationIter
CastToWidget down casts any arbitrary Object to PixbufAnimationIter. Exercise care, as this is a potentially dangerous function if the Object is not a PixbufAnimationIter.
func PixbufAnimationIterNewFromC ¶
func PixbufAnimationIterNewFromC(u unsafe.Pointer) *PixbufAnimationIter
func (*PixbufAnimationIter) Advance ¶
func (recv *PixbufAnimationIter) Advance(currentTime *glib.TimeVal) bool
Advance is a wrapper around the C function gdk_pixbuf_animation_iter_advance.
func (*PixbufAnimationIter) Equals ¶ added in v0.0.2
func (recv *PixbufAnimationIter) Equals(other *PixbufAnimationIter) bool
Equals compares this PixbufAnimationIter with another PixbufAnimationIter, and returns true if they represent the same GObject.
func (*PixbufAnimationIter) GetDelayTime ¶
func (recv *PixbufAnimationIter) GetDelayTime() int32
GetDelayTime is a wrapper around the C function gdk_pixbuf_animation_iter_get_delay_time.
func (*PixbufAnimationIter) GetPixbuf ¶
func (recv *PixbufAnimationIter) GetPixbuf() *Pixbuf
GetPixbuf is a wrapper around the C function gdk_pixbuf_animation_iter_get_pixbuf.
func (*PixbufAnimationIter) Object ¶
func (recv *PixbufAnimationIter) Object() *gobject.Object
Object upcasts to *Object
func (*PixbufAnimationIter) OnCurrentlyLoadingFrame ¶
func (recv *PixbufAnimationIter) OnCurrentlyLoadingFrame() bool
OnCurrentlyLoadingFrame is a wrapper around the C function gdk_pixbuf_animation_iter_on_currently_loading_frame.
func (*PixbufAnimationIter) ToC ¶
func (recv *PixbufAnimationIter) ToC() unsafe.Pointer
type PixbufError ¶
type PixbufError C.GdkPixbufError
const ( GDK_PIXBUF_ERROR_CORRUPT_IMAGE PixbufError = 0 GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY PixbufError = 1 GDK_PIXBUF_ERROR_BAD_OPTION PixbufError = 2 GDK_PIXBUF_ERROR_UNKNOWN_TYPE PixbufError = 3 GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION PixbufError = 4 GDK_PIXBUF_ERROR_FAILED PixbufError = 5 GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION PixbufError = 6 )
type PixbufFormat ¶
type PixbufFormat struct {
// contains filtered or unexported fields
}
PixbufFormat is a wrapper around the C record GdkPixbufFormat.
func PixbufFormatNewFromC ¶
func PixbufFormatNewFromC(u unsafe.Pointer) *PixbufFormat
func (*PixbufFormat) Equals ¶ added in v0.0.2
func (recv *PixbufFormat) Equals(other *PixbufFormat) bool
Equals compares this PixbufFormat with another PixbufFormat, and returns true if they represent the same GObject.
func (*PixbufFormat) ToC ¶
func (recv *PixbufFormat) ToC() unsafe.Pointer
type PixbufLoader ¶
type PixbufLoader struct {
// contains filtered or unexported fields
}
PixbufLoader is a wrapper around the C record GdkPixbufLoader.
func CastToPixbufLoader ¶
func CastToPixbufLoader(object *gobject.Object) *PixbufLoader
CastToWidget down casts any arbitrary Object to PixbufLoader. Exercise care, as this is a potentially dangerous function if the Object is not a PixbufLoader.
func PixbufLoaderNew ¶
func PixbufLoaderNew() *PixbufLoader
PixbufLoaderNew is a wrapper around the C function gdk_pixbuf_loader_new.
func PixbufLoaderNewFromC ¶
func PixbufLoaderNewFromC(u unsafe.Pointer) *PixbufLoader
func PixbufLoaderNewWithType ¶
func PixbufLoaderNewWithType(imageType string) (*PixbufLoader, error)
PixbufLoaderNewWithType is a wrapper around the C function gdk_pixbuf_loader_new_with_type.
func (*PixbufLoader) Close ¶
func (recv *PixbufLoader) Close() (bool, error)
Close is a wrapper around the C function gdk_pixbuf_loader_close.
func (*PixbufLoader) ConnectAreaPrepared ¶
func (recv *PixbufLoader) ConnectAreaPrepared(callback PixbufLoaderSignalAreaPreparedCallback) int
ConnectAreaPrepared connects the callback to the 'area-prepared' signal for the PixbufLoader.
The returned value represents the connection, and may be passed to DisconnectAreaPrepared to remove it.
func (*PixbufLoader) ConnectAreaUpdated ¶ added in v0.0.2
func (recv *PixbufLoader) ConnectAreaUpdated(callback PixbufLoaderSignalAreaUpdatedCallback) int
ConnectAreaUpdated connects the callback to the 'area-updated' signal for the PixbufLoader.
The returned value represents the connection, and may be passed to DisconnectAreaUpdated to remove it.
func (*PixbufLoader) ConnectClosed ¶
func (recv *PixbufLoader) ConnectClosed(callback PixbufLoaderSignalClosedCallback) int
ConnectClosed connects the callback to the 'closed' signal for the PixbufLoader.
The returned value represents the connection, and may be passed to DisconnectClosed to remove it.
func (*PixbufLoader) ConnectSizePrepared ¶ added in v0.0.2
func (recv *PixbufLoader) ConnectSizePrepared(callback PixbufLoaderSignalSizePreparedCallback) int
ConnectSizePrepared connects the callback to the 'size-prepared' signal for the PixbufLoader.
The returned value represents the connection, and may be passed to DisconnectSizePrepared to remove it.
func (*PixbufLoader) DisconnectAreaPrepared ¶
func (recv *PixbufLoader) DisconnectAreaPrepared(connectionID int)
DisconnectAreaPrepared disconnects a callback from the 'area-prepared' signal for the PixbufLoader.
The connectionID should be a value returned from a call to ConnectAreaPrepared.
func (*PixbufLoader) DisconnectAreaUpdated ¶ added in v0.0.2
func (recv *PixbufLoader) DisconnectAreaUpdated(connectionID int)
DisconnectAreaUpdated disconnects a callback from the 'area-updated' signal for the PixbufLoader.
The connectionID should be a value returned from a call to ConnectAreaUpdated.
func (*PixbufLoader) DisconnectClosed ¶
func (recv *PixbufLoader) DisconnectClosed(connectionID int)
DisconnectClosed disconnects a callback from the 'closed' signal for the PixbufLoader.
The connectionID should be a value returned from a call to ConnectClosed.
func (*PixbufLoader) DisconnectSizePrepared ¶ added in v0.0.2
func (recv *PixbufLoader) DisconnectSizePrepared(connectionID int)
DisconnectSizePrepared disconnects a callback from the 'size-prepared' signal for the PixbufLoader.
The connectionID should be a value returned from a call to ConnectSizePrepared.
func (*PixbufLoader) Equals ¶ added in v0.0.2
func (recv *PixbufLoader) Equals(other *PixbufLoader) bool
Equals compares this PixbufLoader with another PixbufLoader, and returns true if they represent the same GObject.
func (*PixbufLoader) GetAnimation ¶
func (recv *PixbufLoader) GetAnimation() *PixbufAnimation
GetAnimation is a wrapper around the C function gdk_pixbuf_loader_get_animation.
func (*PixbufLoader) GetPixbuf ¶
func (recv *PixbufLoader) GetPixbuf() *Pixbuf
GetPixbuf is a wrapper around the C function gdk_pixbuf_loader_get_pixbuf.
func (*PixbufLoader) Object ¶
func (recv *PixbufLoader) Object() *gobject.Object
Object upcasts to *Object
func (*PixbufLoader) ToC ¶
func (recv *PixbufLoader) ToC() unsafe.Pointer
type PixbufLoaderClass ¶
type PixbufLoaderClass struct {
// contains filtered or unexported fields
}
PixbufLoaderClass is a wrapper around the C record GdkPixbufLoaderClass.
func PixbufLoaderClassNewFromC ¶
func PixbufLoaderClassNewFromC(u unsafe.Pointer) *PixbufLoaderClass
func (*PixbufLoaderClass) Equals ¶ added in v0.0.2
func (recv *PixbufLoaderClass) Equals(other *PixbufLoaderClass) bool
Equals compares this PixbufLoaderClass with another PixbufLoaderClass, and returns true if they represent the same GObject.
func (*PixbufLoaderClass) ToC ¶
func (recv *PixbufLoaderClass) ToC() unsafe.Pointer
type PixbufLoaderSignalAreaPreparedCallback ¶
type PixbufLoaderSignalAreaPreparedCallback func(targetObject *PixbufLoader)
PixbufLoaderSignalAreaPreparedCallback is a callback function for a 'area-prepared' signal emitted from a PixbufLoader.
type PixbufLoaderSignalAreaUpdatedCallback ¶ added in v0.0.2
type PixbufLoaderSignalAreaUpdatedCallback func(targetObject *PixbufLoader, x int32, y int32, width int32, height int32)
PixbufLoaderSignalAreaUpdatedCallback is a callback function for a 'area-updated' signal emitted from a PixbufLoader.
type PixbufLoaderSignalClosedCallback ¶
type PixbufLoaderSignalClosedCallback func(targetObject *PixbufLoader)
PixbufLoaderSignalClosedCallback is a callback function for a 'closed' signal emitted from a PixbufLoader.
type PixbufLoaderSignalSizePreparedCallback ¶ added in v0.0.2
type PixbufLoaderSignalSizePreparedCallback func(targetObject *PixbufLoader, width int32, height int32)
PixbufLoaderSignalSizePreparedCallback is a callback function for a 'size-prepared' signal emitted from a PixbufLoader.
type PixbufRotation ¶
type PixbufRotation C.GdkPixbufRotation
const ( GDK_PIXBUF_ROTATE_NONE PixbufRotation = 0 GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE PixbufRotation = 90 GDK_PIXBUF_ROTATE_UPSIDEDOWN PixbufRotation = 180 GDK_PIXBUF_ROTATE_CLOCKWISE PixbufRotation = 270 )
type PixbufSimpleAnim ¶
type PixbufSimpleAnim struct {
// contains filtered or unexported fields
}
PixbufSimpleAnim is a wrapper around the C record GdkPixbufSimpleAnim.
func CastToPixbufSimpleAnim ¶
func CastToPixbufSimpleAnim(object *gobject.Object) *PixbufSimpleAnim
CastToWidget down casts any arbitrary Object to PixbufSimpleAnim. Exercise care, as this is a potentially dangerous function if the Object is not a PixbufSimpleAnim.
func PixbufSimpleAnimNewFromC ¶
func PixbufSimpleAnimNewFromC(u unsafe.Pointer) *PixbufSimpleAnim
func (*PixbufSimpleAnim) Equals ¶ added in v0.0.2
func (recv *PixbufSimpleAnim) Equals(other *PixbufSimpleAnim) bool
Equals compares this PixbufSimpleAnim with another PixbufSimpleAnim, and returns true if they represent the same GObject.
func (*PixbufSimpleAnim) Object ¶
func (recv *PixbufSimpleAnim) Object() *gobject.Object
Object upcasts to *Object
func (*PixbufSimpleAnim) PixbufAnimation ¶
func (recv *PixbufSimpleAnim) PixbufAnimation() *PixbufAnimation
PixbufAnimation upcasts to *PixbufAnimation
func (*PixbufSimpleAnim) ToC ¶
func (recv *PixbufSimpleAnim) ToC() unsafe.Pointer
type PixbufSimpleAnimClass ¶
type PixbufSimpleAnimClass struct {
// contains filtered or unexported fields
}
PixbufSimpleAnimClass is a wrapper around the C record GdkPixbufSimpleAnimClass.
func PixbufSimpleAnimClassNewFromC ¶
func PixbufSimpleAnimClassNewFromC(u unsafe.Pointer) *PixbufSimpleAnimClass
func (*PixbufSimpleAnimClass) Equals ¶ added in v0.0.2
func (recv *PixbufSimpleAnimClass) Equals(other *PixbufSimpleAnimClass) bool
Equals compares this PixbufSimpleAnimClass with another PixbufSimpleAnimClass, and returns true if they represent the same GObject.
func (*PixbufSimpleAnimClass) ToC ¶
func (recv *PixbufSimpleAnimClass) ToC() unsafe.Pointer