ok

Mini Shell

Direktori : /usr/lib64/python2.7/site-packages/gi/overrides/
Upload File :
Current File : //usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyo

�
QLZc*@s
ddlZddlZddlmZddlZddlZddlmZmZddl	m
Z
ddlmZddlmZ
ddlmZejjZejjd�ZgZdd	lmZeejd
<x�ddd
ddddddddddddddddddd d!d"d#gD]=Zee
e�e�e<eded$e�eje�q)Wx�d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNg*D]`Zej��+ejdOe�ee
e�e�e<WdQXeded$e�eje�q�WxdPdQdRdSdTdUdVdWdXdYdZd[gD]SZejd\d]�dZ ee
e �e�e<eded$e �eje�q~Wx�d^d_d`dadbdcdddedfdgdhdidjdkdldmdndogD]SZejd\d]�dZ ee
e �e�e<eded$e �eje�qWej!dp�Z"ej!dq�Z#ej!dr�Z$ej!ds�Z%ej!dt�Z&ej!du�Z'ej!dv�Z(ej!dw�Z)ej!dx�Z*ej!dy�Z+ej!dz�Z,ej!d{�Z-ej!d|�Z.ej!d}�Z/ej!d~�Z0ej!d�Z1ej!d��Z2ej!d��Z3ej!d��Z4ej!d��Z5ej!d�Z6ej!d��Z7ej!d��Z8ej!d��Z9ej!d��Z:ej!d��Z;ej<j=Z>e)Z?ed�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�g7ZxQd�d�d�d�gD]=Zee
e�e�e<eded$e�eje�qrWxmd�d�d�d�d�gD]VZejd\d]�dZ eej@e �e�e<eded�e �eje�q�Wej@jAej@jBBZCejd��eDej@d��rkedd�d��nxsd�d�d�d�d�d�d�gD]VZejd\d]�dZ eejEe �e�e<eded�e �eje�q�WejFZFejGZGejHZHejIZIejJZJejKZKejLZLejMZMejNZNejOZOed�d|d}drdd�d�d�d�d�g
7ZejPZPejQZQejRZRejSZSe
jTZTejUZUed�d�d�d�d�d�g7Zd�ej<fd���YZ<ee<�Z<ejd��d��Z!ejd��d��ZVejd��d��ZWd��ZXejd��d��ZYejd��d��ZZejd��ed�d�d�d�d�d�d�g�Z[dd��Z]ejd��d�e^fd���YZ_d��Z`ejd��d��Zaejd��d��Zbejd��dd��Zcejd��dd��Zdejd��ejeZeejfZfed�d�g7Zd�e^fd���YZgd��Zhd�ejifd���YZieei�ZieiZJed�dg7Zd�ejjfd���YZjeej�Zjejd��e
jkZkejlZlejmZmekZnedd�d��ed�d�d�d�g7ZdS(�i����N(t
namedtuple(toverridetdeprecated_attr(tGLib(tPyGIDeprecationWarning(t_propertyhelper(t
_signalhelpertGObject(t_optionsgi._gobject.optiontmarkup_escape_texttget_application_nametset_application_nametget_prgnametset_prgnamet
main_depthtfilename_display_basenametfilename_display_nametfilename_from_utf8turi_list_extract_uristMainLooptMainContexttmain_context_defaultt
source_removetSourcetIdletTimeouttPollFDtidle_addttimeout_addttimeout_add_secondstio_add_watchtchild_watch_addtget_current_timetspawn_asyncsGLib.tPRIORITY_DEFAULTtPRIORITY_DEFAULT_IDLEt
PRIORITY_HIGHtPRIORITY_HIGH_IDLEtPRIORITY_LOWtIO_INtIO_OUTtIO_PRItIO_ERRtIO_HUPtIO_NVALtIO_STATUS_ERRORtIO_STATUS_NORMALt
IO_STATUS_EOFtIO_STATUS_AGAINtIO_FLAG_APPENDtIO_FLAG_NONBLOCKtIO_FLAG_IS_READABLEtIO_FLAG_IS_WRITEABLEtIO_FLAG_IS_SEEKABLEtIO_FLAG_MASKtIO_FLAG_GET_MASKtIO_FLAG_SET_MASKtSPAWN_LEAVE_DESCRIPTORS_OPENtSPAWN_DO_NOT_REAP_CHILDtSPAWN_SEARCH_PATHtSPAWN_STDOUT_TO_DEV_NULLtSPAWN_STDERR_TO_DEV_NULLtSPAWN_CHILD_INHERITS_STDINtSPAWN_FILE_AND_ARGV_ZEROtOPTION_FLAG_HIDDENtOPTION_FLAG_IN_MAINtOPTION_FLAG_REVERSEtOPTION_FLAG_NO_ARGtOPTION_FLAG_FILENAMEtOPTION_FLAG_OPTIONAL_ARGtOPTION_FLAG_NOALIAStOPTION_ERROR_UNKNOWN_OPTIONtOPTION_ERROR_BAD_VALUEtOPTION_ERROR_FAILEDtOPTION_REMAININGtglib_versiontignoret	G_MININT8t	G_MAXINT8t
G_MAXUINT8t
G_MININT16t
G_MAXINT16tG_MAXUINT16t
G_MININT32t
G_MAXINT32tG_MAXUINT32t
G_MININT64t
G_MAXINT64tG_MAXUINT64t_it
G_MINFLOATt
G_MAXFLOATtG_MINDOUBLEtG_MAXDOUBLEt
G_MINSHORTt
G_MAXSHORTtG_MAXUSHORTtG_MININTtG_MAXINTt	G_MAXUINTt	G_MINLONGt	G_MAXLONGt
G_MAXULONGt	G_MAXSIZEt
G_MINSSIZEt
G_MAXSSIZEtG_MINOFFSETtG_MAXOFFSETtinvalidtvoidt
GInterfacetgchartguchartgbooleantginttguinttglongtgulongtgint64tguint64tGEnumtGFlagstgfloattgdoublet
gchararraytgpointertGBoxedtGParamtPyObjecttGTypetGStrvtGVarianttGStringtTYPE_INVALIDt	TYPE_NONEtTYPE_INTERFACEt	TYPE_CHARt
TYPE_UCHARtTYPE_BOOLEANtTYPE_INTt	TYPE_UINTt	TYPE_LONGt
TYPE_ULONGt
TYPE_INT64tTYPE_UINT64t	TYPE_ENUMt
TYPE_FLAGSt
TYPE_FLOATtTYPE_DOUBLEtTYPE_STRINGtTYPE_POINTERt
TYPE_BOXEDt
TYPE_PARAMtTYPE_OBJECTt
TYPE_PYOBJECTt
TYPE_GTYPEt	TYPE_STRVtTYPE_VARIANTtTYPE_GSTRINGtTYPE_UNICHARt
TYPE_VALUEtPidtGErrortOptionGroupt
OptionContexttPARAM_CONSTRUCTtPARAM_CONSTRUCT_ONLYtPARAM_LAX_VALIDATIONtPARAM_READABLEtPARAM_WRITABLEsGObject.ParamFlags.tPARAM_READWRITEt	READWRITEs)GObject.ParamFlags.READWRITE (glib 2.42+)t
SIGNAL_ACTIONtSIGNAL_DETAILEDtSIGNAL_NO_HOOKStSIGNAL_NO_RECURSEtSIGNAL_RUN_CLEANUPtSIGNAL_RUN_FIRSTtSIGNAL_RUN_LASTsGObject.SignalFlags.tGObjectWeakReft
GParamSpectGPointertWarningtfeaturestlist_propertiestnewtpygobject_versiontthreads_initt
type_registertValuecBsMeZddd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(cCsLtjj|�|dk	rH|j|�|dk	rH|j|�qHndS(N(t
GObjectModuleR�t__init__tNonetinitt	set_value(tselft
value_typetpy_value((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR��s

cCs<|jr%|jtkr%|j�ntt|�j�dS(N(t_free_on_dealloctg_typeR�tunsettsuperR�t__del__(R�((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR��s
cCstj||�dS(N(t_gobjectt_gvalue_set(R�tboxed((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt	set_boxed�scCs
tj|�S(N(R�t_gvalue_get(R�((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt	get_boxed�scCs>|j}|tjkr'td��n|tkrC|j|�n�|tkr_|j|�n�|tkr{|j	|�n�|t
kr�|j|�n�|tkr�|j
|�n�|tkr�|j|�nk|tkr�|j|�nO|tkr|j|�n3|tkr#|j|�n|tkr?|j|�n�|tkr[|j|�n�|tkrt|t�r�t|�}nktjdkr�t|t�r�|j d�}q�t!d|t"|�f��nt!d|t"|�f��|j#|�n:|t$kr|j%|�n|j&t'�r;|j(|�n�|j&t)�rZ|j*|�n�|j&t+�ry|j,|�n�|t-kr�|j.|�n�|j&t/�r�|j0|�n�|t1kr�|j
t2|��nd|t3kr�|j4|�nH|t5kr|j6|�n,|t7kr*|j,|�ntd|��dS(	Ns+GObject.Value needs to be initialized firstiisUTF-8s'Expected string or unicode but got %s%ssExpected string but got %s%ssUnknown value type %s(ii(8R�R�R�t	TypeErrorR�tset_booleanR�tset_charR�t	set_ucharR�tset_intR�tset_uintR�tset_longR�t	set_ulongR�t	set_int64R�t
set_uint64R�t	set_floatR�t
set_doubleR�t
isinstancetstrtsystversion_infotunicodetencodet
ValueErrorttypet
set_stringR�t	set_paramtis_aR�tset_enumR�t	set_flagsR�R�R�tset_pointerR�t
set_objectR�tintR�t	set_gtypeR�tset_variantR�(R�R�tgtype((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR��sr	cCs�|j}|tkr|j�S|tkr5|j�S|tkrK|j�S|tkra|j�S|t	krw|j
�S|tkr�|j�S|t
kr�|j�S|tkr�|j�S|tkr�|j�S|tkr�|j�S|tkr�|j�S|tkr|j�S|tkr'|j�S|jt�r@|j�S|jt�rY|j�S|jt �rr|j!�S|t"kr�|j#�S|jt$�r�|j%�S|t&kr�|j
�S|t'kr�|j(�S|t)kr�|j*�S|t+kr�ndSdS(N(-R�R�tget_booleanR�tget_charR�t	get_ucharR�tget_intR�tget_uintR�tget_longR�t	get_ulongR�t	get_int64R�t
get_uint64R�t	get_floatR�t
get_doubleR�t
get_stringR�t	get_paramR�R�tget_enumR�t	get_flagsR�R�R�tget_pointerR�t
get_objectR�R�t	get_gtypeR�tget_variantR�R�(R�R�((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt	get_value-s\	




















cCsd|jj|j�fS(Ns<Value (%s) %s>(R�tnameR(R�((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt__repr___sN(
t__name__t
__module__R�R�R�R�R�R�RR(((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR��s				A	2cCs2tj|�}|tkr.td|��n|S(Nsunknown type name: %s(R�ttype_from_nameR�tRuntimeError(Rttype_((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyRfsRcCs.tj|�}|tkr*td��n|S(Nsno parent for type(R�ttype_parentR�R	(R
tparent((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyRosRcCsLt|d�r|j}n|j�rH|j�rHtd|��ndS(Nt	__gtype__s1type must be instantiable or an interface, got %s(thasattrR
tis_instantiatabletis_interfaceR�(R
((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt _validate_type_for_signal_methodxscCst|�tj|�S(N(RR�tsignal_list_ids(R
((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyRs
RcCs t|�}td�|D��S(Ncss|]}tj|�VqdS(N(R�tsignal_name(t.0ti((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pys	<genexpr>�s(Rttuple(R
tids((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pytsignal_list_names�sRcCst|�tj||�S(N(RR�t
signal_lookup(RR
((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR�s
RtSignalQueryt	signal_idRtitypetsignal_flagstreturn_typetparam_typescCs�|dk	rt||�}ntj|�}|dkr=dS|jdkrPdSt|j|j|j|j|j	t
|j��S(Ni(R�RR�tsignal_queryRRRRRRRR(t
id_or_nameR
tres((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR �sR t_HandlerBlockManagercBs#eZd�Zd�Zd�ZRS(cCs||_||_dS(N(tobjt
handler_id(R�R$R%((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR��s	cCsdS(N((R�((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt	__enter__�scCstj|j|j�dS(N(R�tsignal_handler_unblockR$R%(R�texc_typet	exc_valuet	traceback((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt__exit__�s(RRR�R&R+(((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR#�s		cCstj||�t||�S(s�Blocks the signal handler from being invoked until
    handler_unblock() is called.

    :param GObject.Object obj:
        Object instance to block handlers for.
    :param int handler_id:
        Id of signal to block.
    :returns:
        A context manager which optionally can be used to
        automatically unblock the handler:

    .. code-block:: python

        with GObject.signal_handler_block(obj, id):
            pass
    (R�tsignal_handler_blockR#(R$R%((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR,�sR,cCsHtj|||�\}}}|r.||fStd||f��dS(s%Parse a detailed signal name into (signal_id, detail).

    :param str detailed_signal:
        Signal name which can include detail.
        For example: "notify:prop_name"
    :returns:
        Tuple of (signal_id, detail)
    :raises ValueError:
        If the given signal is unknown.
    s%s: unknown signal name: %sN(R�tsignal_parse_nameR�(tdetailed_signalRtforce_detail_quarkR"Rtdetail((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR-�s

R-cCs,t||t�\}}tj||�dS(N(R-tTrueR�tsignal_remove_emission_hook(R$R.thook_idRR0((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pytremove_emission_hook�sR4cCs
t|fS(N(tFalse(tihinttreturn_accuthandler_returnt	user_data((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pytsignal_accumulator_first_wins�sR:cCs||fS(N((R6R7R8R9((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pytsignal_accumulator_true_handled�sR;tadd_emission_hookt
signal_newt_FreezeNotifyManagercBs#eZd�Zd�Zd�ZRS(cCs
||_dS(N(R$(R�R$((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR�
scCsdS(N((R�((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR&scCs|jj�dS(N(R$tthaw_notify(R�R(R)R*((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR+s(RRR�R&R+(((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR>s		cs%tjj���fd��}|S(Ncs
�||�S(N((targstkwargs(tfunc(s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pytmeths(tgit	overridestwraps(RBRC((RBs:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt
_signalmethods!tObjectcBs�eZd�Zd�ZeZeZeZeZeZeZ	eZ
eZeZeZ
eZeZeZeZeZejjZejjZejjZejjZeZeZeZeZejjZejj Z ejj!Z!ejj"Z"ejj#Z#ejj$Z$ejj%Z%ejj&Z&ejj'Z'ejj(Z(ejj)Z)ejj*Z*ejj+Z+ejj,Z,ejj-Z-ejj.Z.ejj/Z/d�Z0d�Z1e2Z3e4ej5�Z6e4ej7�Z8e4ej7�Z9e4ej:�Z;e4ej<�Z=d�Z>e>Z?RS(cOstd��dS(Ns%This method is currently unsupported.(R	(R�R@tkargs((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt_unsupported_method"scOstd��dS(NsIData access methods are unsupported. Use normal Python attributes instead(R	(R�R@RI((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt_unsupported_data_method%scCstt|�j�t|�S(s�Freezes the object's property-changed notification queue.

        :returns:
            A context manager which optionally can be used to
            automatically thaw notifications.

        This will freeze the object so that "notify" signals are blocked until
        the thaw_notify() method is called.

        .. code-block:: python

            with obj.freeze_notify():
                pass
        (R�RHt
freeze_notifyR>(R�((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyRL]scs�|jdd�}|tjj@r1tjj}ntjj}|tjj@r�t	|�dkrut
d|g��n�fd�}n�}|||||�S(sConnect a callback to the given signal with optional user data.

        :param str detailed_signal:
            A detailed signal to connect to.
        :param callable handler:
            Callback handler to connect to the signal.
        :param *data:
            Variable data which is passed through to the signal handler.
        :param GObject.ConnectFlags connect_flags:
            Flags used for connection options.
        :returns:
            A signal id which can be used with disconnect.
        t
connect_flagsiisWUsing GObject.ConnectFlags.SWAPPED requires exactly one argument for user data, got: %scs2t|�}|j�}||g}�||�S(N(tlisttpop(R$R@tswap(thandler(s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pytnew_handler�s
(tgetR�tConnectFlagstAFTERR�Rt
connect_aftertconnecttSWAPPEDtlenR�(R�R.RQtdataRAtflagstconnect_funcRR((RQs:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pytconnect_dataoscCs)tj|jjtdd�|j|�S(s-Deprecated, please use stop_emission_by_name.t
stackleveli(twarningstwarnt
stop_emissiont__doc__Rtstop_emission_by_name(R�R.((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyRa�s(@RRRJRKtget_datat	get_qdatatset_datat
steal_datatsteal_qdatatreplace_datat
replace_qdatatbind_property_fulltcompat_controltinterface_find_propertytinterface_install_propertytinterface_list_propertiestnotify_by_pspectrun_disposet
watch_closureR�RHtreft_reftref_sinkt	_ref_sinktunreft_unreftforce_floatingt_force_floatingR�Rtget_propertytget_propertiestset_propertytset_propertiest
bind_propertyRWRVtconnect_objecttconnect_object_aftertdisconnect_by_functhandler_block_by_functhandler_unblock_by_functemittchaintweak_reft__copy__t__deepcopy__RLR]R,t
handler_blockRGR'thandler_unblocktsignal_handler_disconnectt
disconnectthandler_disconnecttsignal_handler_is_connectedthandler_is_connectedtsignal_stop_emission_by_nameRcRatemit_stop_by_name(((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyRH!sh				)	tBindingcBseZd�Zd�ZRS(cCstjdtdd�|S(Ns�Using parentheses (binding()) to retrieve the Binding object is no longer needed because the binding is returned directly from "bind_property.R^i(R_R`R(R�((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt__call__�s	
cCsEt|d�rtd��n#t|dt�tt|�j�dS(Nt_unbounds$binding has already been cleared out(RR�tsetattrR1R�R�tunbind(R�((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR��s(RRR�R�(((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyR��s	tpropertysGObject.PropertytPropertytSignaltSignalOverride(oR�R_tcollectionsRtgi.overridesRDt	gi.moduleRRt
gi.repositoryRRRtpropertyhelperRtsignalhelpert_giR�tmoduletget_introspection_moduleR�t__all__RtoptiontmodulesRtgetattrtglobalstappendtcatch_warningstsimplefiltertsplittnew_nameRR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R
R�R�t
ParamFlagstREADABLEtWRITABLER�RtSignalFlagsR~RxRyRnRR�R�R�R�R�R�R�R�R�R�R�RRRRRRR�R tobjectR#R,R-R4R:R;R<R=R>RGRHR�R�R�R�R�(((s:/usr/lib64/python2.7/site-packages/gi/overrides/GObject.pyt<module>s�
					
						


	

	
	
										
						�
	
	
		
	
	

	
	
	


			
�
			

Zerion Mini Shell 1.0