Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
‰å<_Â: ã @ sì d dl Z d dlZddlmZ ddlmZmZmZmZm Z m
Z
mZmZm
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ ejZejZejZej Z ej!Z!ej"Z"ej#Z#ej$Z$e j%d
krÈe&Z'e(Z)ne*Z'e+Z)G dd„ de,ƒZ-dd „ Z.dS )é Né )Ú_gi)Ú TYPE_NONEÚTYPE_INTERFACEÚ TYPE_CHARÚ
TYPE_UCHARÚTYPE_BOOLEANÚTYPE_INTÚ TYPE_UINTÚ TYPE_LONGÚ
TYPE_ULONGÚ
TYPE_INT64ÚTYPE_UINT64Ú TYPE_ENUMÚ
TYPE_FLAGSÚ
TYPE_FLOATÚTYPE_DOUBLEÚTYPE_STRINGÚTYPE_POINTERÚ
TYPE_BOXEDÚ
TYPE_PARAMÚTYPE_OBJECTÚ
TYPE_PYOBJECTÚ
TYPE_GTYPEÚ TYPE_STRVÚTYPE_VARIANTé c @ sN e Zd ZdZeeeeee e
eee
eeiZedededee ee eeeeed/iZeeeeed1ed3eeeeeeeeiZedededededede
dededi Z G d d
„ d
e!ƒZ"dddddde#j$ddf dd
„Z%dd„ Z&dd„ Z'dd„ Z(dd„ Z)dd„ Z*dd„ Z+dd„ Z,dd„ Z-dd„ Z.d d!„ Z/d"d#„ Z0d$d%„ Z1d&d'„ Z2d(d)„ Z3d*d+„ Z4d,d-„ Z5dS )4ÚPropertyaÄ Creates a new Property which when used in conjunction with
GObject subclass will create a Python property accessor for the
GObject ParamSpec.
:param callable getter:
getter to get the value of the property
:param callable setter:
setter to set the value of the property
:param type type:
type of property
:param default:
default value, must match the property type.
:param str nick:
short description
:param str blurb:
long description
:param GObject.ParamFlags flags:
parameter flags
:keyword minimum:
minimum allowed value (int, float, long only)
:keyword maximum:
maximum allowed value (int, float, long only)
.. code-block:: python
class MyObject(GObject.Object):
prop = GObject.Property(type=str)
obj = MyObject()
obj.prop = 'value'
obj.prop # now is 'value'
The API is similar to the builtin :py:func:`property`:
.. code-block:: python
class AnotherObject(GObject.Object):
value = 0
@GObject.Property
def prop(self):
'Read only property.'
return 1
@GObject.Property(type=int)
def propInt(self):
'Read-write integer property.'
return self.value
@propInt.setter
def propInt(self, value):
self.value = value
r é é? r é@ Ú g c @ s e Zd Zdd„ ZdS )zProperty.__metaclass__c C s dS )Nz© )Úselfr" r" ú'/usr/lib64/python3.6/_propertyhelper.pyÚ__repr__— s zProperty.__metaclass__.__repr__N)Ú__name__Ú
__module__Ú__qualname__r% r" r" r" r$ Ú
__metaclass__– s r) Nc
C s< d | _ |d krt}| j|ƒ| _| j|ƒ| _| jƒ t|tƒsDt dƒ‚|| _
t|tƒs\t dƒ‚|| _|| _|| _
|r€| r€| j}n*|r’| r’| j}n| rª| rª| j}| j}| j|ƒ || _|d k ræ|| jƒ k rît d| j| jƒ f ƒ‚n| jƒ }|| _| d k �r$| | jƒ k�r,t d| j| jƒ f ƒ‚n| jƒ } | | _d | _d S )Nznick must be a stringzblurb must be a stringz+Minimum for type %s cannot be lower than %dz,Maximum for type %s cannot be higher than %d)ÚnameÚobjectÚ_type_from_pythonÚtypeÚ_get_defaultÚdefaultÚ_check_defaultÚ
isinstanceÚ_basestringÚ TypeErrorÚnickÚblurbÚ__doc__ÚflagsÚ_readonly_setterÚ_writeonly_getterÚ_default_getterÚ_default_setterÚgetterÚfsetÚ_get_minimumÚminimumÚ_get_maximumÚmaximumÚ_exc)
r# r<