fsleyes_widgets.utils.overlay
¶
This module contains convenience functions for drawing arbitrary things
on top of wx
widgets.
textOverlay |
Shows the given text on the given target . |
-
fsleyes_widgets.utils.overlay.
textOverlay
(target, text, box=True, bgColour=(205, 205, 255), fgColour=(0, 0, 0))¶ Shows the given
text
on the giventarget
.Parameters: - target –
wx.Window
object - text – Text to display
- box – If
True
(the default), the text is displayed in a box. - bgColour – If
box is True
, the box is filled with this colour. - fgColour – Colour to draw the text in
- target –