def __setitem__(self, key, wid):
        """
        Add a widget. This overrides widgets of the same name that were loaded
        fom XML. It does not affect GTK container/child relations.

        If no top widget is known, this sets it.
        """
        self.manualWidgets[key] = wid
        if self.m_topWidget is None:
            self.m_topWidget = wid
def __setitem__ ( self , key , wid ) : self . manualWidgets [ key ] = wid if self . m_topWidget is None : self . m_topWidget = wid
Add a widget. This overrides widgets of the same name that were loaded
        fom XML. It does not affect GTK container/child relations.

        If no top widget is known, this sets it.