Re: [Vala] __str__ method in vala ?



Or VALA can provide such facilities in libgee or somewhere with a
GObject Interface? 

We don't have any core vala runtime libraries yet.


On Fri, 2008-10-24 at 19:57 +0200, Frederik wrote:
Roberto Majadas wrote:
Hi everyone :

Could be really interesting a method like __str__ method in python. 

Opinions ?

The best solution would be if GObject had a virtual method called
'to_string ()', but that would be a change to GLib not Vala. Subclasses
could override this method as needed.

Regards,

Frederik
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]