def __new__(cls): """Special static method that's automatically called by Python when constructing a new instance of this class. Returns a fully instantiated AboutTestdrivegtkDialog object. """ builder = get_builder('AboutTestdrivegtkDialog') new_object = builder.get_object("about_testdrivegtk_dialog") new_object.finish_initializing(builder) return new_object
def __new__(cls, cache): """Special static method that's automatically called by Python when constructing a new instance of this class. Returns a fully instantiated AddothertestdrivegtkDialog object. """ builder = get_builder('AddOtherTestdrivegtkDialog') new_object = builder.get_object('addothertestdrivegtk_dialog') new_object.finish_initializing(builder, cache) return new_object
def __new__(cls): """Special static method that's automatically called by Python when constructing a new instance of this class. Returns a fully instantiated PreferencesTestdrivegtkDialog object. """ import logging logging.basicConfig(level=logging.DEBUG) logger1 = logging.getLogger('gtkpreferences') logger1.debug('__new__') builder = get_builder('PreferencesTestdrivegtkDialog') new_object = builder.get_object("preferences_testdrivegtk_dialog") new_object.finish_initializing(builder, logger1) return new_object