Re: GLib.Variant



> I'm not sure how you get access to the GDbus methods, but the varients constructors should be quite similar to seed.
> http://www.roojs.com/seed/gir-1.2-gtk-3.0/seed/GLib.Variant.html
>
> Regards
> Alan
Thxs for the response, although still not working
That was what I though at first: but I'm getting this errors:
=============
gjs> a = new GLib.Variant(true)
Error: argument should be a hash with fields to set
gjs> a = new GLib.Variant.boolean(true)
typein:16: strict warning: reference to undefined property GLib.Variant.boolean
TypeError: GLib.Variant.boolean is not a constructor
=============

As you can see, not working
-- 
El derecho de expresar nuestros pensamientos tiene algún significado
tan sólo si somos capaces de tener pensamientos propios.
El miedo a la libertad, Erich Fromm


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