GVnc.BaseFramebuffer¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
The framebuffer memory region  | 
||
r/w  | 
The color map  | 
||
r/w/co  | 
Height of the framebuffer in pixels  | 
||
r/w/co  | 
The local pixel format of the framebuffer  | 
||
r/w/co  | 
The remote pixel format of the framebuffer  | 
||
r/w/co  | 
Size of one framebuffer line in bytes  | 
||
r/w/co  | 
Width of the framebuffer in pixels  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class GVnc.BaseFramebuffer(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new(buffer, width, height, rowstride, localFormat, remoteFormat)¶
 - Parameters:
 buffer (
bytes) – the buffer representing the screenwidth (
int) – the width of the screenheight (
int) – the height of the screenrowstride (
int) – the number of bytes per line in bufferlocalFormat (
GVnc.PixelFormat) – the format for data stored in bufferremoteFormat (
GVnc.PixelFormat) – the format for data before storage in buffer
- Returns:
 the new framebuffer
- Return type:
 
Allocate a new general purpose framebuffer object storing screen updates in buffer. buffer must be height * rowstride bytes in size. The returned object will store a pointer to buffer, so it should not be free’d for as long as the framebuffer object exists
Property Details¶
- GVnc.BaseFramebuffer.props.buffer¶
 - Name:
 buffer- Type:
 - Default Value:
 - Flags:
 
The framebuffer memory region
- GVnc.BaseFramebuffer.props.color_map¶
 - Name:
 color-map- Type:
 - Default Value:
 - Flags:
 
The color map
- GVnc.BaseFramebuffer.props.height¶
 - Name:
 height- Type:
 - Default Value:
 0- Flags:
 
Height of the framebuffer in pixels
- GVnc.BaseFramebuffer.props.local_format¶
 - Name:
 local-format- Type:
 - Default Value:
 - Flags:
 
The local pixel format of the framebuffer
- GVnc.BaseFramebuffer.props.remote_format¶
 - Name:
 remote-format- Type:
 - Default Value:
 - Flags:
 
The remote pixel format of the framebuffer
- GVnc.BaseFramebuffer.props.rowstride¶
 - Name:
 rowstride- Type:
 - Default Value:
 0- Flags:
 
Size of one framebuffer line in bytes
- GVnc.BaseFramebuffer.props.width¶
 - Name:
 width- Type:
 - Default Value:
 0- Flags:
 
Width of the framebuffer in pixels