Hello,
On Fri, November 13, 2009 00:58, Pavel Stupnikov wrote:
> I want to create some static fields. Int field works ok, but HashMap
> remains null even after initialization... What i did wrong?
You didn't run the initialization. The static constructor only runs when
the corresponding metaobject
Hello!
I want to create some static fields. Int field works ok, but HashMap
remains null even after initialization... What i did wrong?
using Gee;
public static class Foo: Object {
public static HashMap bar = new HashMap();
public static int a = 5;
}
void main () {
stdout.printf(
Ok i found the solution, if someone interested :
[indent=4]
uses
Clutter
class ClutterDemo
animations : array of Animation
stage : Stage
rectangles : array of Rectangle
const colors : array of string = { "blanched almond", "OldLace",
"MistyRose", "White", "LavenderBlush", "Corn
Abderrahim & Frederik,
Thanks!
On Thu, Nov 12, 2009 at 1:53 AM, Frederik wrote:
> Joseph Montanez wrote:
>> I am looking at
>> http://references.valadoc.org/glib-2.0/GLib.Thread.html without much
>> luck on finding information on how to pass data to and from a thread.
>> The functions are static
Hi,
I try to port the clutter sample from vala
(http://mail.gnome.org/archives/vala-list/2009-November/msg00057.html)
to genie and, of course, i have a problem:
When i load the program, i have this message:
(/usr/home/niko/Desktop/cluttertest:82339): Clutter-CRITICAL **:
clutter_color_from_s
Joseph Montanez wrote:
> I am looking at
> http://references.valadoc.org/glib-2.0/GLib.Thread.html without much
> luck on finding information on how to pass data to and from a thread.
> The functions are static so I don't have much luck on trying to access
> any object properties.
>
ThreadFunc do
Hi,
2009/11/12 Joseph Montanez :
> I am looking at
> http://references.valadoc.org/glib-2.0/GLib.Thread.html without much
> luck on finding information on how to pass data to and from a thread.
> The functions are static so I don't have much luck on trying to access
> any object properties.
I don
I am looking at
http://references.valadoc.org/glib-2.0/GLib.Thread.html without much
luck on finding information on how to pass data to and from a thread.
The functions are static so I don't have much luck on trying to access
any object properties.
--
Joseph Montanez
Web Developer
Gorilla3D
Desig