fsleyes.gl.wxglcolourbarcanvas
This module provides the WXGLColourBarCanvas
class, which is a
ColourBarCanvas
for use in a wx
application.
- class fsleyes.gl.wxglcolourbarcanvas.WXGLColourBarCanvas(parent, overlayList, displayCtx)[source]
Bases:
fsleyes.gl.colourbarcanvas.ColourBarCanvas
,fsleyes.gl.WXGLCanvasTarget
,__main__.docbuilder.run.<locals>.MockClass
The
WXGLColourBarCanvas
is aColourBarCanvas
, awx.glcanvas.GLCanvas
and aWXGLCanvasTarget
. If you want to use aColourBarCanvas
in yourwx
application, then you should use aWXGLColourBarCanvas
.Note
The
WXGLColourBarCanvas
assumes the existence of theColourBarCanvas.updateColourBarTexture()
method.- __metaclass__ = <MagicMock name='mock.siplib.wrappertype' id='140735755285312'>
- __init__(parent, overlayList, displayCtx)[source]
Adds a few listeners to the properties of this object, to update the colour bar when they change.
- destroy()[source]
Must be called when this
WXGLColourBarCanvas
is no longer needed. Clears some event listeners and calls the base classdestroy
method.
- __annotations__ = {}
- __module__ = 'fsleyes.gl.wxglcolourbarcanvas'