Re: [Vala] GLib.Value documentation
- From: Jan Hudec <bulb ucw cz>
- To: Florian Brosch <flo brosch gmail com>
- Cc: vala-list gnome org, John - <arenal85 hotmail com>
- Subject: Re: [Vala] GLib.Value documentation
- Date: Tue, 29 Sep 2009 14:29:38 +0200
On Tue, Sep 29, 2009 at 12:32:36 +0200, Florian Brosch wrote:
I take a look at http://valadoc.org to search GLib.Value documentation and don't find anything.
http://references.valadoc.org/gobject-2.0/GLib.Value.html
On Tue, Sep 29, 2009 at 12:17 PM, John - <arenal85 hotmail com> wrote:
I try to make some test to trasform int, string, float to GLib.Value and then to int, string, float , but
i don't find anything.
You can simply assign value of (almost) any type to an lvalue typed
GLib.Value and vala should do the right thing.
How to know GLib.Value type?
See the above documentation. Most interesting are probably type_compatible
and type_transformable methods.
How to transform GLib.Value to int, string, float, ...?
Again simply assigning should do.
--
Jan 'Bulb' Hudec <bulb ucw cz>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]