GLApplet Class Reference
from PyKDE4.plasma import *
Inherits: Plasma.Applet → QGraphicsWidget → QObject
Namespace: Plasma.GLApplet
Detailed Description
GLApplet plasma/glapplet.h <Plasma/GLApplet>
Plasma Applet that is fully rendered using OpengGL
Methods |
| __init__ (self, QGraphicsItem parent, QString serviceId, int appletId) |
| __init__ (self, QObject parent, QVariantList args) |
GLuint | bindTexture (self, QImage image, GLenum target=GL_TEXTURE_2D) |
| deleteTexture (self, GLuint texture_id) |
| makeCurrent (self) |
| paintGLInterface (self, QPainter painter, QStyleOptionGraphicsItem option) |
Method Documentation
deleteTexture |
( |
self, |
|
|
|
GLuint |
texture_id |
|
) |
|
|
|
Reimplement this method to render using OpenGL. QPainter passed
to this method will always use OpenGL engine and rendering
using OpenGL api directly is supported.