fsleyes.gl.wxgllightboxcanvas

This module provides the WXGLSliceCanvas class, which is a SliceCanvas for use in a wx application.

class fsleyes.gl.wxgllightboxcanvas.WXGLLightBoxCanvas(parent, overlayList, displayCtx, zax=0)[source]

Bases: fsleyes.gl.lightboxcanvas.LightBoxCanvas, fsleyes.gl.WXGLCanvasTarget, __main__.docbuilder.run.<locals>.MockClass

The WXGLLightBoxCanvas is a LightBoxCanvas, a wx.glcanvas.GLCanvas and a WXGLCanvasTarget. If you want to use a LightBoxCanvas in your wx application, then you should use a WXGLLightBoxCanvas.

Note

The WXGLLightBoxCanvas assumes the existence of the LightBoxCanvas._updateDisplayBounds() method.

__metaclass__ = <MagicMock name='mock.siplib.wrappertype' id='140112345256128'>
__init__(parent, overlayList, displayCtx, zax=0)[source]

Create a WXGLLightBoxCanvas. See LightBoxCanvas.__init__() for details on the arguments.

destroy()[source]

Must be called when this WXGLLightBoxCanvas is no longer needed. Clears some event listeners and calls the base class destroy method.

__annotations__ = {}
__module__ = 'fsleyes.gl.wxgllightboxcanvas'