Re: [Vala] __str__ method in vala ?

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.



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