Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/internet/__pycache__/gtk3reactor.cpython-39.pyc
Ðазад
a k�h� � @ sR d Z ddlmZ ddlmZ G dd� dej�ZG dd� dej�Zdd � Z d gZ d S )a� This module provides support for Twisted to interact with the gtk3 mainloop via Gobject introspection. This is like gi, but slightly slower and requires a working $DISPLAY. In order to use this support, simply do the following:: from twisted.internet import gtk3reactor gtk3reactor.install() If you wish to use a GApplication, register it with the reactor:: from twisted.internet import reactor reactor.registerGApplication(app) Then use twisted.internet APIs as usual. � )� gireactor)�runtimec @ s e Zd ZdZdd� ZdS )�Gtk3Reactorz/ A reactor using the gtk3+ event loop. c C s t jj| dd� dS �z: Override init to set the C{useGtk} flag. T)ZuseGtkN)r � GIReactor�__init__��self� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/internet/gtk3reactor.pyr s zGtk3Reactor.__init__N��__name__� __module__�__qualname__�__doc__r r r r r r s r c @ s e Zd ZdZdd� ZdS )�PortableGtk3Reactorz$ Portable GTK+ 3.x reactor. c C s t jj| dd� dS r )r �PortableGIReactorr r r r r r + s zPortableGtk3Reactor.__init__Nr r r r r r &