3 ###################################################
5 ###################################################
8 <name>Histo Sink</name>
9 <key>wxgui_histosink2</key>
10 <import>from gnuradio.wxgui import histosink_gl</import>
11 <make>#set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self'
12 histosink_gl.histo_sink_f(
16 frame_size=$frame_size,
22 $(parent).Add(self.$(id).win)
24 $(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos()))))
26 <callback>set_num_bins($num_bins)</callback>
27 <callback>set_frame_size($frame_size)</callback>
31 <value>Histogram Plot</value>
41 <name>Frame Size</name>
47 <name>Window Size</name>
50 <type>int_vector</type>
51 <hide>#if $win_size() then 'none' else 'part'#</hide>
54 <name>Grid Position</name>
65 <check>not $win_size or len($win_size) == 2</check>
71 Leave the window blank for the default size, otherwise enter a tuple of (width, height) pixels.
73 Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.
75 Use the Notebook Param (notebook-id, page-index) to place the graphical element inside of a notebook page.