Did I find the right examples for you? yes no

All Samples(14)  |  Call(8)  |  Derive(0)  |  Import(6)

src/p/g/pgi-0.0.7/pgi/properties.py   pgi(Download)
 
from .util import escape_parameter, unescape_parameter, InfoIterWrapper
from .util import import_attribute, set_gvalue_from_py, decode_return
from .gtype import PGType
from ._compat import PY3
            name = iface_info.name
            namespace = iface_info.namespace
            self.__iclass = import_attribute(namespace, name)
            self.__interface = True
 

src/p/g/pgi-HEAD/pgi/properties.py   pgi(Download)
 
from .util import escape_parameter, unescape_parameter, InfoIterWrapper
from .util import import_attribute, set_gvalue_from_py, decode_return
from .gtype import PGType
from ._compat import PY3
            name = iface_info.name
            namespace = iface_info.namespace
            self.__iclass = import_attribute(namespace, name)
            self.__interface = True
 

src/p/g/pgi-0.0.7/pgi/obj.py   pgi(Download)
from .clib.gir import GIFunctionInfoFlags
 
from .util import import_attribute, escape_identifier
from .gtype import PGType
from .properties import PropertyAttribute, PROPS_NAME
        parent_obj = obj_info.get_parent()
        if parent_obj:
            attr = import_attribute(parent_obj.namespace, parent_obj.name)
            bases = (attr,)
        else:
        ifaces = []
        for interface in obj_info.get_interfaces():
            attr = import_attribute(interface.namespace, interface.name)
            # only add interfaces if the base classes don't have it
            for base in bases:

src/p/g/pgi-HEAD/pgi/obj.py   pgi(Download)
from .clib.gir import GIFunctionInfoFlags
 
from .util import import_attribute, escape_identifier
from .gtype import PGType
from .properties import PropertyAttribute, PROPS_NAME
        parent_obj = obj_info.get_parent()
        if parent_obj:
            attr = import_attribute(parent_obj.namespace, parent_obj.name)
            bases = (attr,)
        else:
        ifaces = []
        for interface in obj_info.get_interfaces():
            attr = import_attribute(interface.namespace, interface.name)
            # only add interfaces if the base classes don't have it
            for base in bases:

src/p/g/pgi-0.0.7/pgi/gtype.py   pgi(Download)
from .clib.gobject import GType, GTypeFlags, GTypeFundamentalFlags
from .clib.glib import guint, free
from .util import import_attribute, cached_property
 
 
        namespace = base_info.namespace
 
        return import_attribute(namespace, name)
 
    def __hash__(self):

src/p/g/pgi-HEAD/pgi/gtype.py   pgi(Download)
from .clib.gobject import GType, GTypeFlags, GTypeFundamentalFlags
from .clib.glib import guint, free
from .util import import_attribute, cached_property
 
 
        namespace = base_info.namespace
 
        return import_attribute(namespace, name)
 
    def __hash__(self):