+
    âCëiÜ	  ã                   óª   € R t ^ RIt^ RIt]P                  ! RR4       ^ RIHtHt ^ RIHt ]P                  ! ]
4      t ! R R]P                  4      tR# )z¿
SimpleGladeApp.py
Module that provides an object oriented abstraction to pygtk and gtkbuilder
Copyright (C) 2009 Michael Vogt
based on ideas from SimpleGladeBuilder by Sandino Flores Moreno
NÚGtkz4.0)r   ÚGio)Úsetup_uic                   óB   a € ] tR t^t o R tRR ltR tR tR tRt	V t
R# )	ÚSimpleGtkbuilderAppc                óÊ   € \         P                  P                  V R \        P                  P
                  R7       \        WV4       V P                  RV P                  4       R# )zcom.ubuntu.SoftwareProperties)Úapplication_idÚflagsÚactivateN)	r   ÚApplicationÚ__init__r   ÚApplicationFlagsÚ
FLAGS_NONEr   ÚconnectÚon_activate)ÚselfÚpathÚdomains   &&&ÚL/usr/lib/python3/dist-packages/softwareproperties/gtk/SimpleGtkbuilderApp.pyr   ÚSimpleGtkbuilderApp.__init__    sL   € Ü�‰× Ñ  Ð6UÜ'*×';Ñ';×'FÑ'Fð 	!ô 	Hä�˜VÔ$Ø�‰�Z ×!1Ñ!1Ö2ó    Nc                ó´   € V P                  V P                  4       V P                  P                  4       '       g   V P                  P                  4        R # R # ©N)Ú
add_windowÚwindow_mainÚ
is_visibleÚshow)r   Údatas   &&r   r   ÚSimpleGtkbuilderApp.on_activate&   s@   € Ø�‰˜×(Ñ(Ô)à×Ñ×*Ñ*×,Ò,Ø×Ñ×!Ñ!Ö#ñ -r   c                óŒ   €  \         P                  P                  V R4       R#   \         d    T P	                  4         R# i ; i)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   r   ÚrunÚKeyboardInterruptÚon_keyboard_interrupt©r   s   &r   r    ÚSimpleGtkbuilderApp.run,   s6   € ð	)Ü�O‰O×Ñ  dÖ+øÜ ô 	)Ø×&Ñ&×(ð	)ús   ‚ $ ¤AÁAc                ó   € R# )zq
This method is called by the default implementation of run()
after a program is finished by pressing Control-C.
N© r#   s   &r   r"   Ú)SimpleGtkbuilderApp.on_keyboard_interrupt:   s   € ñ
 	r   c                óD   € \         P                  P                  V 4       R# )zã
Quit processing events.
The default implementation calls Gtk.main_quit()

Useful for applications that needs a non gtk main loop.
For example, applications based on gstreamer needs to override
this method with gst.main_quit()
N)r   r   Úquitr#   s   &r   r)   ÚSimpleGtkbuilderApp.quitA   s   € ô 	�‰×Ñ˜TÖ"r   r&   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   r    r"   r)   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s#   ø‡ € ò3ô$ò)ò÷	#ð 	#r   r   )Ú__doc__ÚloggingÚgiÚrequire_versionÚgi.repositoryr   r   Úsoftwareproperties.gtk.utilsr   Ú	getLoggerr+   ÚLOGr   r   r&   r   r   Ú<module>r:      sH   ðñó* Û 	Ø × Ò �5˜%Ô  ß "Ý 1Ø×Ò�hÓ€ô,#˜#Ÿ/™/ö ,#r   