| Server IP : 146.190.157.162 / Your IP : 216.73.216.190 Web Server : Apache System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64 User : businessweek ( 639) PHP Version : 8.2.10-2ubuntu2.2 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/DistUpgrade/__pycache__/ |
Upload File : |
�
>I�c � �8 � d Z ddlZddlmZ G d� d� � ZdS )z�
SimpleGladeApp.py
Module that provides an object oriented abstraction to pygtk and libglade.
Copyright (C) 2004 Sandino Flores Moreno
� N)�Gtkc � � e Zd Zd� Zd� Zd� ZdS )�SimpleGtkbuilderAppc �� � t j � � | _ | j � |� � | j � |� � | j � | � � | j � � � D ]q}t t |� � t j � � r1t j �
|� � }t | ||� � �Zt j
d|z � � �rd S )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�names �B/usr/lib/python3/dist-packages/DistUpgrade/SimpleGtk3builderApp.py�__init__zSimpleGtkbuilderApp.__init__ s� � ��{�}�}�����+�+�F�3�3�3���"�"�4�(�(�(���$�$�T�*�*�*���)�)�+�+� H� H�A��$�q�'�'�3�=�1�1�
H��}�-�-�a�0�0����d�A�&�&�&�&��
�B�Q�F�G�G�G�G� H� H� c �x � t j � � dS # t $ r | � � � Y dS w xY w)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�r s r �runzSimpleGtkbuilderApp.run* sL � � )��H�J�J�J�J�J�� � )� )� )��&�&�(�(�(�(�(�(� )���s � �9�9c � � dS )z�
This method is called by the default implementation of run()
after a program is finished by pressing Control-C.
N� r s r r z)SimpleGtkbuilderApp.on_keyboard_interrupt8 s � �
�r N)�__name__�
__module__�__qualname__r r! r r# r r r r sD � � � � � �
H�
H�
H�)� )� )�
�
�
�
�
r r )�__doc__r �
gi.repositoryr r r# r r �<module>r) s^ ��� �* ���� � � � � � �!
� !
� !
� !
� !
� !
� !
� !
� !
� !
r