Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::gui::appGui::exit (   self,
  widget = None,
  event = None 
)

Hide the wicd GUI.

This method hides the wicd GUI and writes the current window size
to disc for later use.  This method normally does NOT actually 
destroy the GUI, it just hides it.

Definition at line 2010 of file gui.py.

02010                                            :
        """ Hide the wicd GUI.

        This method hides the wicd GUI and writes the current window size
        to disc for later use.  This method normally does NOT actually 
        destroy the GUI, it just hides it.

        """
        self.window.hide()
        [width, height] = self.window.get_size()
        config.WriteWindowSize(width, height, "main")

        if self.standalone:
            self.window.destroy()
            sys.exit(0)

        self.is_visible = False
        daemon.SetGUIOpen(False)
        self.wait_for_events()
        return True

    def show_win(self):


Generated by  Doxygen 1.6.0   Back to index