File: __init__.py

package info (click to toggle)
python-gtk 0.5.3-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,604 kB
  • ctags: 4,295
  • sloc: ansic: 19,390; python: 8,220; makefile: 91; sh: 26
file content (14 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
__all__ = ['build', 'style', 'xmlparse']
import build, xmlparse

def construct(filename):
	tree = xmlparse.read(filename)['gtk-interface']
	wtree = build.WidgetTree(tree)
	tree.destroy()
	return wtree

# for ni ...
try:
	__.__dict__['construct'] = construct
except NameError:
	pass