File manager - Edit - /home/newsbmcs.com/public_html/static/img/logo/overrides.zip
Back
PK ���Z���w� � GdkPixbuf.pynu �[��� # Copyright 2018 Christoph Reiter <reiter.christoph@gmail.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 # USA import warnings from gi import PyGIDeprecationWarning from gi.repository import GLib from ..overrides import override from ..module import get_introspection_module GdkPixbuf = get_introspection_module('GdkPixbuf') __all__ = [] @override class Pixbuf(GdkPixbuf.Pixbuf): @classmethod def new_from_data( cls, data, colorspace, has_alpha, bits_per_sample, width, height, rowstride, destroy_fn=None, *destroy_fn_data): if destroy_fn is not None: w = PyGIDeprecationWarning("destroy_fn argument deprecated") warnings.warn(w) if destroy_fn_data: w = PyGIDeprecationWarning("destroy_fn_data argument deprecated") warnings.warn(w) data = GLib.Bytes.new(data) return cls.new_from_bytes( data, colorspace, has_alpha, bits_per_sample, width, height, rowstride) __all__.append('Pixbuf') PK ���Z�9n� � GIMarshallingTests.pynu �[��� # -*- Mode: Python; py-indent-offset: 4 -*- # vim: tabstop=4 shiftwidth=4 expandtab # # Copyright (C) 2010 Simon van der Linden <svdlinden@src.gnome.org> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 # USA from ..overrides import override from ..module import get_introspection_module GIMarshallingTests = get_introspection_module('GIMarshallingTests') __all__ = [] OVERRIDES_CONSTANT = 7 __all__.append('OVERRIDES_CONSTANT') class OverridesStruct(GIMarshallingTests.OverridesStruct): def __new__(cls, long_): return GIMarshallingTests.OverridesStruct.__new__(cls) def __init__(self, long_): GIMarshallingTests.OverridesStruct.__init__(self) self.long_ = long_ def method(self): return GIMarshallingTests.OverridesStruct.method(self) / 7 OverridesStruct = override(OverridesStruct) __all__.append('OverridesStruct') class OverridesObject(GIMarshallingTests.OverridesObject): def __new__(cls, long_): return GIMarshallingTests.OverridesObject.__new__(cls) def __init__(self, long_): GIMarshallingTests.OverridesObject.__init__(self) # FIXME: doesn't work yet # self.long_ = long_ @classmethod def new(cls, long_): self = GIMarshallingTests.OverridesObject.new() # FIXME: doesn't work yet # self.long_ = long_ return self def method(self): """Overridden doc string.""" return GIMarshallingTests.OverridesObject.method(self) / 7 OverridesObject = override(OverridesObject) __all__.append('OverridesObject') PK ���Z)��� � __pycache__/Gtk.cpython-310.pycnu �[��� o �3Gb�� � @ s� d dl Z d dlZd dlmZ ddlmZmZ ddlmZm Z ddl mZmZm Z mZ ddlmZ d dlmZ ed �Zejd kZejdkZejdkZg ZeZe�d � e Z e�d� ercdZe�ee� G dd� de�Ze�d� ester}dd� Ze�d� dd� ZG dd� de �Z!G dd� dej"�Z"ee"�Z"e�d� es�er�G dd� dej#e"�Z#ee#�Z#e�d� ne Z#G dd� dej$�Z$ee$�Z$e�d� es�e�rG dd� dej%�Z%ee%�Z%e�d� G d d!� d!ej&�Z&ee&�Z&e�d!� G d"d#� d#ej'�Z'ee'�Z'e�d#� G d$d%� d%ej(�Z(ee(�Z(e�d%� G d&d'� d'ej)e#�Z)ee)�Z)e�d'� e�s-e�r?G d(d)� d)ej*�Z*ee*�Z*e�d)� e�sEe�rWG d*d+� d+ej+�Z+ee+�Z+e�d+� e�s]e�roG d,d-� d-ej,�Z,ee,�Z,e�d-� d.d/� Z-G d0d1� d1ej.�Z.ee.�Z.e�d1� e�r�ej/j0Z1n e ej/j0d2ed3d4�Z1G d5d6� d6ej/�Z/ee/�Z/e�d6� G d7d8� d8ej2e#�Z2ee2�Z2e�d8� e�s�e�r�G d9d:� d:ej3e2�Z3ee3�Z3e�d:� e�s�e�r�G d;d<� d<ej4�Z4ee4�Z4e�d<� G d=d>� d>ej5�Z5ee5�Z5e�d>� e�se�rG d?d@� d@ej6�Z6ee6�Z6e�d@� e�se�r/G dAdB� dBej7�Z7ee7�Z7e�dB� G dCdD� dDej8�Z8ee8�Z8e�dD� e�sGe�rYG dEdF� dFej9�Z9ee9�Z9e�dF� G dGdH� dHej:�Z:ee:�Z:e�dH� G dIdJ� dJej;�Z;ee;�Z;e�dJ� G dKdL� dLej<�Z<ee<�Z<e�dL� G dMdN� dNej=�Z=ee=�Z=e�dN� G dOdP� dPej>�Z>ee>�Z>e�dP� G dQdR� dRej?�Z?ee?�Z?e�dR� e�s�e�r�G dSdT� dTej@�Z@ee@�Z@e�dT� G dUdV� dVejAe>e?�ZAeeA�ZAe�dV� G dWdX� dXe �ZBe�dX� G dYdZ� dZe �ZCe�dZ� G d[d\� d\ejD�ZDeeD�ZDe�d\� G d]d^� d^ejEe>e?�ZEeeE�ZEe�d^� G d_d`� d`ejFe#�ZFeeF�ZFe�d`� G dadb� dbejG�ZGeeG�ZGe�db� G dcdd� ddejH�ZHeeH�ZHe�dd� e�sne�r�G dedf� dfejIe#�ZIeeI�ZIe�df� G dgdh� dhejJ�ZJeeJ�ZJe�dh� G didj� djejK�ZKeeK�ZKe�dj� G dkdl� dlejL�ZLeeL�ZLe�dl� e�s�e�r�G dmdn� dnejMe#�ZMeeM�ZMe�dn� G dodp� dpejN�ZNeeN�ZNe�dp� e�s�e�rG dqdr� drejO�ZOeeO�ZOe�dr� G dsdt� dtejP�ZPeeP�ZPe�dt� e�se�r$G dudv� dvejQ�ZQeeQ�ZQe�dv� e�s*e�r`G dwdx� dxejR�ZReeR�ZRe�dx� G dydz� dzejS�ZSeeS�ZSe�dz� G d{d|� d|ejT�ZTeeT�ZTe�d|� G d}d~� d~ejU�ZUeeU�ZUe�d~� e�r�G dd�� d�ejV�ZVeeV�ZVe�d�� e�r�G d�d�� d�ejW�ZWeeW�ZWe�d�� e�s�e�r�ejXZYeejX�d�d�� �ZXejZZ[eejZ�d�d�� �ZZe�s�e�r�eej\�Z\e�d�� e�r�e�]� Z^dS e�]e j_�\Z^Z_e`e_�e __dS )�� N)�GObject� )�wakeup_on_signal�register_sigint_fallback)�Template�_extract_handler_and_args)�override�strip_boolean_result�deprecated_init�wrap_list_store_sort_func)�get_introspection_module)�PyGIDeprecationWarning�Gtkz2.0z3.0z4.0r r aB You have imported the Gtk 2.0 module. Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail. As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0c @ s e Zd ZdS )�PyGTKDeprecationWarningN)�__name__� __module__�__qualname__� r r �2/usr/lib/python3/dist-packages/gi/overrides/Gtk.pyr <