(self, widget, event = None)
return(True)
Pop up a menu for the group widget
Pop up a menu for the group widget
Pop up a menu for the group widget
def create_popup_group_menu(self, widget, event = None):
        """Pop up a menu for the group widget"""
        if event:
            button = event.button
            time = event.time
        else:
            button = 0
            time = 0

        menu = self.populate_group_menu()
        menu.show_all()
        menu.popup_at_widget(widget,Gdk.Gravity.SOUTH_WEST,Gdk.Gravity.NORTH_WEST,None)
        return(True)
def create_popup_group_menu ( self , widget , event = None ) : if event : button = event . button time = event . time else : button = 0 time = 0 menu = self . populate_group_menu ( ) menu . show_all ( ) menu . popup_at_widget ( widget , Gdk . Gravity . SOUTH_WEST , Gdk . Gravity . NORTH_WEST , None ) return ( True )