Hi,
Except for nested class, I never found "private class" a good design (C#
doesn't allow it).
Your class should probaly be internal.
Just a suggestion :
Is there a name conflict with your methods ?
When the class is public, the vala scope resolver found them, but when the
class is
Hi,
You can't, sorry.
Preprocessor in vala is simplistic, and doesn't intend to be more complex.
https://wiki.gnome.org/Projects/Vala/FAQ#Does_Vala_have_a_preprocessor.3F
But, you can define a symbol using valac command.
You will find plenty of examples to do it with autotools, for meson you
Hello,
I guess "Pkg.Repo" represents a single repo, so is it normal that
"Pkg.Repo.repos (out r)" isn't called on every iteration ?
What was the tested condition in the while-loop ?
"while (Pkg.Status.OK == Pkg.Repo.repos (out r))"
Hope it helps.
Le ven. 30 déc. 2016 à 15:24, Olivier Duchateau
Hi,
https://developer.gnome.org/gio/stable/GMenu.html#GMenu.other_details
I'm not sure that GLib.Menu made to be overridable.
You could decorate it : extend MenuModel, with a private property which is
a Menu, and override every methods of MenuModel by calling the private
property.
private
Hi,
You can test le file a attached to this mail.
This is what I get (under windows with msys2 and vala 0.30) :
$ ./test
** Message: test.vala:21: FileAttribute.TIME_CREATED =>
FileAttributeType.INVALID
** Message: test.vala:56: Can be read !!!
** Message: test.vala:60:
Hi,
According to this
https://git.gnome.org/browse/vala/tree/vapi/gio-2.0.vapi#n516 it seems that
the signal isn't bound in vala. Maybe vala doesn't accept yet that a
property and a method (signal) have the same name.
As Robert Schroll says, connect to the notify signal of the property.
"...
), the property is steal
serialized, but in this case the result is correct.
Did I miss something, or is there a binding problem with json-glib ?
Thank you.
/* -*- Mode: vala; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* core-json-api-simple-object.vala
* Copyright (C) 2015 Luc
Hi,
I've compiled a 64 bits version of vala-0.26 for windows.
It can be used with MinGW-builds (64 bits)
http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-posix/seh/
and
this GTK+ 3.14
Hi everyone,
I'm looking for a language to start a new project.
This project consists of a server (a REST API server using JSON), and
clients (nothing really new :-p).
I am wondering if vala (or a particular version of vala) is stable and
mature enough to be the base for developing the server