示例#1
0
 def __init__(self, namespace, is_void, name, reply, parameter_list):
     self.namespace = namespace
     self.is_void = is_void
     self.name = name
     self.reply = reply
     self.parameter_list = parameter_list
     self.request_name = _ext(_n_item(self.name[-1]))
     self.c_name = "xcb" \
         + (("_" + get_namespace(namespace)) if namespace.is_ext else "") \
         + "_" + self.request_name
示例#2
0
文件: cppcookie.py 项目: jaagr/xpp
 def __init__(self, namespace, is_void, name, reply, parameter_list):
     self.namespace = namespace
     self.is_void = is_void
     self.name = name
     self.reply = reply
     self.parameter_list = parameter_list
     self.request_name = _ext(_n_item(self.name[-1]))
     self.c_name = "xcb" \
         + (("_" + get_namespace(namespace)) if namespace.is_ext else "") \
         + "_" + self.request_name
示例#3
0
 def __init__(self, namespace, name, cookie, reply, accessors, parameter_list):
     self.namespace = namespace
     self.name = name
     self.reply = reply
     self.cookie = cookie
     self.accessors = accessors
     self.parameter_list = parameter_list
     self.request_name = _ext(_n_item(self.name[-1]))
     self.c_name = "xcb" \
         + (("_" + get_namespace(namespace)) if namespace.is_ext else "") \
         + "_" + self.request_name
示例#4
0
文件: cppreply.py 项目: jaagr/xpp
 def __init__(self, namespace, name, cookie, reply, accessors, parameter_list):
     self.namespace = namespace
     self.name = name
     self.reply = reply
     self.cookie = cookie
     self.accessors = accessors
     self.parameter_list = parameter_list
     self.request_name = _ext(_n_item(self.name[-1]))
     self.c_name = "xcb" \
         + (("_" + get_namespace(namespace)) if namespace.is_ext else "") \
         + "_" + self.request_name
示例#5
0
    def __init__(self, request, name, is_void, namespace, reply):
        self.request = request
        self.name = name
        self.request_name = _ext(_n_item(self.request.name[-1]))
        self.is_void = is_void
        self.namespace = namespace
        self.reply = reply
        self.c_namespace = \
            "" if namespace.header.lower() == "xproto" \
            else get_namespace(namespace)
        self.accessors = []
        self.parameter_list = ParameterList()

        self.c_name = "xcb" \
            + (("_" + get_namespace(namespace)) if namespace.is_ext else "") \
            + "_" + self.request_name
示例#6
0
文件: cpprequest.py 项目: jaagr/xpp
    def __init__(self, request, name, is_void, namespace, reply):
        self.request = request
        self.name = name
        self.request_name = _ext(_n_item(self.request.name[-1]))
        self.is_void = is_void
        self.namespace = namespace
        self.reply = reply
        self.c_namespace = \
            "" if namespace.header.lower() == "xproto" \
            else get_namespace(namespace)
        self.accessors = []
        self.parameter_list = ParameterList()

        self.c_name = "xcb" \
            + (("_" + get_namespace(namespace)) if namespace.is_ext else "") \
            + "_" + self.request_name