WX GUI Notebook notebook WX GUI Widgets from grc_gnuradio import wxgui as grc_wxgui #set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self' self.$(id) = wx.Notebook($(parent).GetWin(), style=$style) #for $label in $labels() self.$(id).AddPage(grc_wxgui.Panel(self.$(id)), "$label") #end for #if not $grid_pos() $(parent).Add(self.$(id)) #else $(parent).GridAdd(self.$(id), $(', '.join(map(str, $grid_pos())))) #end if Tab Orientation style wx.NB_TOP enum Labels labels ['tab1', 'tab2', 'tab3'] raw Grid Position grid_pos grid_pos Notebook notebook notebook isinstance($labels, (list, tuple)) all(map(lambda x: isinstance(x, str), $labels)) len($labels) > 0 Use the Grid Position (row, column, row span, column span) to position the graphical element in the window. Use the Notebook Param (notebook-id, page-index) to place the graphical element inside of a notebook page.