if self.get_options(): return EnumEntryParam
return EntryParam
- def update(self):
- """
- Called when an external change occurs.
- Update the graphical input by calling the change handler.
- """
- if hasattr(self, '_input'): self._handle_changed()
-
- def get_input_object(self, callback=None):
- """
- Get the graphical gtk object to represent this parameter.
- @param callback a function to be called from the input object.
- @return gtk input object
- """
- return self.get_input_class()(self, callback=callback)
-
def get_layout(self):
"""
Create a layout based on the current markup.
#repopulate the params box
for param in self.block.get_params():
if param.get_hide() == 'all': continue
- io_param = param.get_input_object(self._update)
+ io_param = param.get_input_class()(param, callback=self._update)
self._input_object_params.append(io_param)
self._params_box.pack_start(io_param, False)
self._params_box.show_all()
* align param titles in properties dialog
* weird grid params misbehaving
* properties dialog needs to show connection errors
+* fix param input stuff for usrp probes
##################################################
# Future