摘要:
准备写一个将Glade/GtkBuilder等格式的UI文件转换成C++代码的python程序首先完成的是将LIBGlade格式读取至内存中#!/usr/bin/env python# -*- coding: utf-8 -*-import os, sys, copyfrom xml.etree.ElementTree import ElementTree'''result format:[ { "class" : "GtkWindow" "id" : "window1" "pro 阅读全文