Changes between Version 6 and Version 7 of PyGTK
- Timestamp:
- 07/23/06 00:41:20 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PyGTK
v6 v7 81 81 class HyperTextView(gtk.TextView): 82 82 __gtype_name__ = 'HyperTextView' 83 __gsignals__ = { 84 'anchor-clicked': (gobject.SIGNAL_RUN_LAST, None, (str, str, int)), 85 } 83 __gsignals__ = {'anchor-clicked': (gobject.SIGNAL_RUN_LAST, None, (str, str, int))} 86 84 __gproperties__ = { 87 85 'link': (gobject.TYPE_PYOBJECT, 'link color', 'link color of TextView', gobject.PARAM_READWRITE), … … 89 87 'hover': (gobject.TYPE_PYOBJECT, 'link:hover color', 'link:hover color of TextView', gobject.PARAM_READWRITE), 90 88 } 89 91 90 def do_get_property(self, prop): 92 91 try: … … 94 93 except AttributeError: 95 94 raise AttributeError, 'unknown property %s' % prop.name 95 96 96 def do_set_property(self, prop, val): 97 97 if prop.name in self.__gproperties__.keys():