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>.MockClassThe
WXGLColourBarCanvasis aColourBarCanvas, awx.glcanvas.GLCanvasand aWXGLCanvasTarget. If you want to use aColourBarCanvasin yourwxapplication, then you should use aWXGLColourBarCanvas.Note
The
WXGLColourBarCanvasassumes the existence of theColourBarCanvas.updateColourBarTexture()method.- __metaclass__ = <MagicMock name='mock.siplib.wrappertype' id='139881571845312'>
- __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
WXGLColourBarCanvasis no longer needed. Clears some event listeners and calls the base classdestroymethod.
- __annotations__ = {}
- __module__ = 'fsleyes.gl.wxglcolourbarcanvas'