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)
Exemplo n.º 2
0
 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")
Exemplo n.º 3
0
 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)