403 Forbidden


Disable Functions:
Path : /lib64/python2.7/site-packages/gi/overrides/
File Upload :
Command :
Current File : //lib64/python2.7/site-packages/gi/overrides/Gio.pyo

�
�Zc@s3ddlmZmZddlmZddlmZddlZed�ZgZ	dej
fd��YZ
ee
�Z
e	jd�d	ejfd
��YZee�Ze	jd	�dej
fd��YZ
ee
�Z
e	jd�d
dd��YZdejfd��YZee�Ze	jd�dS(i(toverridetdeprecated_init(tget_introspection_modulei����(tGLibNtGiotFileEnumeratorcBs eZd�Zd�ZeZRS(cCs|S(N((tself((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt__iter__"scCs)|jd�}|dk	r|St�dS(N(t	next_filetNonet
StopIteration(Rt	file_info((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt__next__%s(t__name__t
__module__RRtnext(((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyR!s			tMenuItemcBseZd�ZRS(cCs:x3|D]+\}}}|j|tj||��qWdS(N(tset_attribute_valueRtVariant(Rt
attributestnamet
format_stringtvalue((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt
set_attribute6s(R
RR(((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyR5stSettingscBsbeZdZeejjdd�Zd�Zd�Zd�Z	e	Z
d�Zd	�Zd
�Z
RS(s0Provide dictionary-like access to GLib.Settings.t	arg_namestschematpathtbackendcCs||j�kS(N(t	list_keys(Rtkey((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt__contains__EscCst|j��S(N(tlenR(R((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt__len__HscCstS(N(tTrue(R((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt__bool__KscCs5||kr"td|f��n|j|�j�S(Nsunknown key: %r(tKeyErrort	get_valuetunpack(RR((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt__getitem__SscCs||kr"td|f��n|j|�}|jd�j�}|jd�}|dkr�|jd�j�}|d}nt|dkr�|jd�jd�j�}|j�}||kr�td||f��q�ntdt|���|j	|t
j||��dS(Nsunknown key: %riittypetenums$value %s is not an allowed enum (%s)s'Cannot handle allowed type range class (R$t	get_rangetget_child_valuet
get_stringtget_type_stringR&t
ValueErrortNotImplementedErrortstrt	set_valueRR(RRRtrangettype_tvttype_strtallowed((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt__setitem__Zs
cCs
|j�S(N(R(R((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pytkeysts(RspathR(R
Rt__doc__RRRt__init__RR!R#t__nonzero__R'R7R8(((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyR?s						t_DBusProxyMethodCallcBs8eZdZd�Zd�Zd�Zed��ZRS(s1Helper class to implement DBusProxy method calls.cCs||_||_dS(N(t
dbus_proxytmethod_name(RR=R>((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyR:~s	c
Cs�|\}}}y|j|�}WnQtk
rutj�d \}}	|ra|||	|�n|||	|�dSX|||j|�|�dS(Ni(tcall_finisht	Exceptiontsystexc_infot_unpack_result(
Rtobjtresultt	user_datatresult_callbackterror_callbacktreal_user_datatrettetypete((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt__async_result_handler�s
cOs|r?|d}|d}t|t�sEtd|��qEnd}tj|t|��}d|kr�|d|jd�|jd�f}|jj|j	||jdd�|jd	d
�d|j|�nF|jj|j	||jdd�|jd	d
�d�}|j
|�SdS(Niis6first argument must be the method signature string: %rs()tresult_handlert
error_handlerRFtflagsttimeouti����(t
isinstanceR0t	TypeErrorRRttupletgetR=tcallR>R	t*_DBusProxyMethodCall__async_result_handlert	call_syncRC(Rtargstkwargst	signaturetarg_variantRFRE((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt__call__�s&

!	cCsJ|j�}t|�dkr+|d}nt|�dkrFd}n|S(s?Convert a D-BUS return variant into an appropriate return valueiiN(R&R R	(tklassRE((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyRC�s
	(R
RR9R:RWR]tclassmethodRC(((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyR<{s
			t	DBusProxycBseZdZd�ZRS(s$Provide comfortable and pythonic method calls.

    This marshalls the method arguments into a GVariant, invokes the
    call_sync() method on the DBusProxy object, and unmarshalls the result
    GVariant back into a Python tuple.

    The first argument always needs to be the D-Bus signature tuple of the
    method call. Example:

      proxy = Gio.DBusProxy.new_sync(...)
      result = proxy.MyMethod('(is)', 42, 'hello')

    The exception are methods which take no arguments, like
    proxy.MyMethod('()'). For these you can omit the signature and just write
    proxy.MyMethod().

    Optional keyword arguments:

    - timeout: timeout for the call in milliseconds (default to D-Bus timeout)

    - flags: Combination of Gio.DBusCallFlags.*

    - result_handler: Do an asynchronous method call and invoke
         result_handler(proxy_object, result, user_data) when it finishes.

    - error_handler: If the asynchronous call raises an exception,
      error_handler(proxy_object, exception, user_data) is called when it
      finishes. If error_handler is not given, result_handler is called with
      the exception object as result instead.

    - user_data: Optional user data to pass to result_handler for
      asynchronous calls.

    Example for asynchronous calls:

      def mymethod_done(proxy, result, user_data):
          if isinstance(result, Exception):
              # handle error
          else:
              # do something with result

      proxy.MyMethod('(is)', 42, 'hello',
          result_handler=mymethod_done, user_data='data')
    cCs
t||�S(N(R<(RR((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt__getattr__�s(R
RR9Ra(((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyR`�s,((t	overridesRRtmoduleRt
gi.repositoryRRARt__all__RtappendRRR<R`(((s6/usr/lib64/python2.7/site-packages/gi/overrides/Gio.pyt<module>s$

8
C0

404 Not Found
[ LogOut ]