def hide_cb(self, pobj, data): if xfl.fl_object_is_visible(self.fd_scb.hor_thin): xfl.fl_set_object_label(self.fd_scb.hide, "Show") xfl.fl_hide_object(self.fd_scb.hor_thin) else: xfl.fl_set_object_label(self.fd_scb.hide, "Hide") xfl.fl_show_object(self.fd_scb.hor_thin)
def hide_it(self, pobj, alln): if xfl.fl_object_is_visible(self.fd_canvasform.canvas): xfl.fl_hide_object(self.fd_canvasform.canvas) xfl.fl_set_object_label(pobj, "ShowCanvas") else: xfl.fl_show_object(self.fd_canvasform.canvas) xfl.fl_set_object_label(pobj, "HideCanvas")
def hide_show(self, pobj, data): if xfl.fl_object_is_visible(self.pbr): xfl.fl_hide_object(self.pbr) else: xfl.fl_show_object(self.pbr)