Changes between Version 6 and Version 7 of PyGTK


Ignore:
Timestamp:
07/23/06 00:41:20 (18 years ago)
Author:
atzm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PyGTK

    v6 v7  
    8181class HyperTextView(gtk.TextView): 
    8282    __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))} 
    8684    __gproperties__ = { 
    8785        'link':  (gobject.TYPE_PYOBJECT, 'link color', 'link color of TextView', gobject.PARAM_READWRITE), 
     
    8987        'hover': (gobject.TYPE_PYOBJECT, 'link:hover color', 'link:hover color of TextView', gobject.PARAM_READWRITE), 
    9088        } 
     89 
    9190    def do_get_property(self, prop): 
    9291        try: 
     
    9493        except AttributeError: 
    9594            raise AttributeError, 'unknown property %s' % prop.name 
     95 
    9696    def do_set_property(self, prop, val): 
    9797        if prop.name in self.__gproperties__.keys():