Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::gui::appGui::disconnect (   self,
  widget,
  event,
  nettype,
  networkid,
  networkentry 
)

Disconnects from the given network.

Keyword arguments:
widget -- The disconnect button that was pressed.
event -- unused
nettype -- "wired" or "wireless", depending on the network entry type.
networkid -- unused
networkentry -- The NetworkEntry containing the disconnect button.

Definition at line 1980 of file gui.py.

01980                                                                          :
        """ Disconnects from the given network.
        
        Keyword arguments:
        widget -- The disconnect button that was pressed.
        event -- unused
        nettype -- "wired" or "wireless", depending on the network entry type.
        networkid -- unused
        networkentry -- The NetworkEntry containing the disconnect button.
        
        """
        widget.hide()
        networkentry.connect_button.show()
        if nettype == "wired":
            wired.DisconnectWired()
        else:
            wireless.DisconnectWireless()
        
    def wait_for_events(self, amt=0):


Generated by  Doxygen 1.6.0   Back to index