o >I¼cã@s*dZddlZddlmZGdd„dƒZdS)zŠ SimpleGladeApp.py Module that provides an object oriented abstraction to pygtk and libglade. Copyright (C) 2004 Sandino Flores Moreno éN)ÚGtkc@s$eZdZdd„Zdd„Zdd„ZdS)ÚSimpleGtkbuilderAppcCszt ¡|_|j |¡|j |¡|j |¡|j ¡D]}tt|ƒtj ƒr3tj   |¡}t |||ƒqt   d|¡qdS)Nz"WARNING: can not get name for '%s')rÚBuilderÚbuilderÚset_translation_domainÚ add_from_fileÚconnect_signalsÚ get_objectsÚ issubclassÚtypeÚ BuildableÚget_nameÚsetattrÚloggingÚdebug)ÚselfÚpathÚdomainÚoÚname©rúB/usr/lib/python3/dist-packages/DistUpgrade/SimpleGtk3builderApp.pyÚ__init__s     ûzSimpleGtkbuilderApp.__init__cCs,zt ¡WdSty| ¡YdSw)zù Starts the main loop of processing events checking for Control-C. The default implementation checks wheter a Control-C is pressed, then calls on_keyboard_interrupt(). Use this method for starting programs. N)rÚmainÚKeyboardInterruptÚon_keyboard_interrupt©rrrrÚrun*s   ÿzSimpleGtkbuilderApp.runcCsdS)z‰ This method is called by the default implementation of run() after a program is finished by pressing Control-C. Nrrrrrr8sz)SimpleGtkbuilderApp.on_keyboard_interruptN)Ú__name__Ú __module__Ú __qualname__rrrrrrrrs r)Ú__doc__rÚ gi.repositoryrrrrrrÚs