GOffice.Pixbuf

g GObject.Object GObject.Object GOffice.Image GOffice.Image GObject.Object->GOffice.Image GOffice.Pixbuf GOffice.Pixbuf GOffice.Image->GOffice.Pixbuf

Subclasses:

None

Methods

Inherited:

GOffice.Image (25), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new_from_data (type, data, length)

class

new_from_pixbuf (pixbuf)

get_rowstride ()

Virtual Methods

Inherited:

GOffice.Image (7), GObject.Object (7)

Properties

Inherited:

GOffice.Image (2)

Name

Type

Flags

Short Description

image-type

str

r/w

Type of image

pixbuf

GdkPixbuf.Pixbuf

r/w

GdkPixbuf.Pixbuf object from which the GOffice.Pixbuf is built

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GOffice.Pixbuf(**kwargs)
Bases:

GOffice.Image

Abstract:

No

classmethod new_from_data(type, data, length)
Parameters:
  • type (str) –

  • data (int) –

  • length (int) –

Raises:

GLib.Error

Return type:

GOffice.Image

classmethod new_from_pixbuf(pixbuf)
Parameters:

pixbuf (GdkPixbuf.Pixbuf) –

Return type:

GOffice.Image

get_rowstride()
Return type:

int

Property Details

GOffice.Pixbuf.props.image_type
Name:

image-type

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Type of image

GOffice.Pixbuf.props.pixbuf
Name:

pixbuf

Type:

GdkPixbuf.Pixbuf

Default Value:

None

Flags:

READABLE, WRITABLE

GdkPixbuf.Pixbuf object from which the GOffice.Pixbuf is built