|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /lib/python3/dist-packages/pygtkcompat/__pycache__/ |
Upload File : |
o
b�^�P � @ s� d Z ddlZddlZddlmZ ddlZddlmZ g Zg Z e
� Zi Zdd� Z
dd� Zd"d
d�Zd#dd
�Zdd� Zdd� Zd$dd�Zdd� Zdd� Zd%dd�Zdd� Zdd� Zd d!� ZdS )&a�
PyGTK compatibility layer.
This modules goes a little bit longer to maintain PyGTK compatibility than
the normal overrides system.
It is recommended to not depend on this layer, but only use it as an
intermediate step when porting your application to PyGI.
Compatibility might never be 100%, but the aim is to make it possible to run
a well behaved PyGTK application mostly unmodified on top of PyGI.
� N��UserList��GObjectc C s, t | |t�}t| ||� t�| ||f� d S �N)�getattr�_unset�setattr�_patches�append)�obj�name� new_value� old_value� r �9/usr/lib/python3/dist-packages/pygtkcompat/pygtkcompat.py�_patch1 s r c C s* t j�| t�}|t j| <