GtkVnc.CairoFramebuffer

g GObject.GInterface GObject.GInterface GVnc.Framebuffer GVnc.Framebuffer GObject.GInterface->GVnc.Framebuffer GObject.Object GObject.Object GVnc.BaseFramebuffer GVnc.BaseFramebuffer GObject.Object->GVnc.BaseFramebuffer GtkVnc.CairoFramebuffer GtkVnc.CairoFramebuffer GVnc.BaseFramebuffer->GtkVnc.CairoFramebuffer GVnc.Framebuffer->GVnc.BaseFramebuffer

Subclasses:

None

Methods

Inherited:

GVnc.BaseFramebuffer (1), GObject.Object (37), GVnc.Framebuffer (13)

Structs:

GObject.ObjectClass (5)

class

new (width, height, remoteFormat)

get_surface ()

Virtual Methods

Inherited:

GObject.Object (7), GVnc.Framebuffer (13)

Properties

Inherited:

GVnc.BaseFramebuffer (7)

Name

Type

Flags

Short Description

surface

int

r/w/co

The cairo surface for the framebuffer

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GVnc.BaseFramebuffer

r

Class Details

class GtkVnc.CairoFramebuffer(**kwargs)
Bases:

GVnc.BaseFramebuffer

Abstract:

No

Structure:

GtkVnc.CairoFramebufferClass

classmethod new(width, height, remoteFormat)
Parameters:
  • width (int) – the remote desktop width

  • height (int) – the remote desktop height

  • remoteFormat (GVnc.PixelFormat) – the remote pixel format

Returns:

the new frame buffer object

Return type:

GtkVnc.CairoFramebuffer

Allocate a new framebuffer object which will render the remote desktop into a cairo image surface (width * height) in size.

get_surface()
Returns:

the cairo surface

Return type:

cairo.Surface

Get the cairo surface in which the remote desktop is being rendered.

Property Details

GtkVnc.CairoFramebuffer.props.surface
Name:

surface

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The cairo surface for the framebuffer