MCPcopy Create free account
hub / github.com/Image-Py/imagepy / __init__

Method __init__

imagepy/ui/canvasframe.py:175–180  ·  view source on GitHub ↗
(self, parent)

Source from the content-addressed store, hash-verified

173
174class CanvasNoteBook(wx.lib.agw.aui.AuiNotebook):
175 def __init__(self, parent):
176 wx.lib.agw.aui.AuiNotebook.__init__( self, parent, wx.ID_ANY,
177 wx.DefaultPosition, wx.DefaultSize, wx.lib.agw.aui.AUI_NB_DEFAULT_STYLE )
178 self.Bind( wx.lib.agw.aui.EVT_AUINOTEBOOK_PAGE_CHANGED, self.on_pagevalid)
179 self.Bind( wx.lib.agw.aui.EVT_AUINOTEBOOK_PAGE_CLOSE, self.on_close)
180 self.SetArtProvider(aui.AuiSimpleTabArt())
181
182 def set_background(self, img):
183 self.GetAuiManager().SetArtProvider(ImgArtProvider(img))

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
BindMethod · 0.45

Tested by

no test coverage detected