El mar, 05-08-2003 a las 03:34, Jan Weil escribi�: > To actually set or get a property a Python GObject calls the class methods > 'do_set_property' and 'do_get_property'. These methods are virtual which > means you'll have to implement them. > Typically most of the properties can also be controlled by a specific pair of > methods, e. g. o.set_name and o.get_name, which means the *_get_property > methods usually pass on their arguments to these class methods. Take a look > at the c source code for one of the simpler widgets like gtklabel.c for an > example.
Sorry, but I can't find the o.get_name and o.set_name methods in the gtklabel.c file (or any other file). Could you please put an example or give me some more detailed pointer? For the rest of your email it has been extremely useful for me. Thanks Jan! Lorenzo Gil Sanchez _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
