Re: [Vala] Printfing an object
- From: Donn <donn ingle gmail com>
- To: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Printfing an object
- Date: Tue, 19 Nov 2013 10:21:18 +0200
On 19/11/2013 10:12, Abderrahim Kitouni wrote:
"%p".printf(your_object)
Ah. Big thanks!
btw, you don't need & when dealing with instances of classes,
Ahhh two :D Will have a look.
your classes inherit from GLib.Object, you can use
your_object.get_type().name() (I'm writing this from memory, there
may be an error) to get the type name.
I have played with this, thanks for reminding me.
\d
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]