[pygtk] self from gtk.builder

Leon Bogaert leon at tim-online.nl
Mon Dec 6 04:54:28 WST 2010


Hi all,

Is it possible to do something like this?

class ActionsMenu(gtk.Menu):
    def __init__(self):
        builder = gtk.Builder()
        builder.add_from_file("bctimer.xml") 
        
        self = builder.get_object("menuActions")

Thanks!


More information about the pygtk mailing list