Version: 8.3.0
gui.Item Namespace Reference

Classes

class  Item
 

Functions

def adapt
 

Variables

tuple app = QApplication(sys.argv)
 
tuple t = Item("label")
 

Function Documentation

def gui.Item.adapt (   obj)

Definition at line 64 of file Item.py.

64 
65 def adapt(obj):
66  if items.has_key(obj.ptr()):
67  return items[obj.ptr()]
68  else:
69  item= ADAPT(obj,Item)
70  items[obj.ptr()]=item
71  return item

Variable Documentation

tuple gui.Item.app = QApplication(sys.argv)

Definition at line 73 of file Item.py.

tuple gui.Item.t = Item("label")

Definition at line 74 of file Item.py.