vala Questions
2
Solved
The warning is produced by the c code generated by vala.
warning: missing braces around initializer
The code works but the warning is annoying. The vala code referenced by the warning is
stru...
2
Solved
The question pretty much says it all- how could I import file2.vala to file1.vala?
1
Solved
The compilation warnings below are not so clear to me, appart from the
deprecation warhing, but the signature of the method in the valadoc :
http://valadoc.org/#!api=gstreamer-1.0/Gst
shows no ...
1
Solved
Using this library with Vala :
http://valadoc.org/#!api=glib-2.0/GLib.DateTime
GLib.DateTime now = new GLib.DateTime.now_local();
var sec = now.to_unix()
var msec = (sec * 1000) + now.get_mi...
Angara asked 19/10, 2013 at 15:42
3
Solved
It would be ideal to be able to create a new widget that uses builder to load its contents, eg.
public class MyDialog : Dialog
{
public MyDialog
{
Gtk.Builder builder = new Gtk.Builder ();
bu...
1
Solved
I'm trying to use the set_cell_data_func on a Gtk.TreeViewColumn. My code compiles but gives a segmentation error when running. I have also tried the insert_column_with_data_func instead but the re...
1
Solved
I have a drawing program that uses SDL, written in C++. I would like to create a graphical interface only in Vala and use it to call functions from a program (functions are ready to use and I only ...
0
I want to embed the Python interpreter into a program written in Vala to allow for some runtime scripting. I can run parts of my vala code from Python using Introspection, and I've found a rudiment...
4
Solved
Is it possible to write a Vala application and get it to run on an Android device?
5
Solved
According to Vala documentation: "Before 0.3.1, Vala's parser was the classic flex scanner and Bison LALR parser combination. But as of commit eba85a, the parser is a hand-crafted recursive descent...
Burial asked 28/3, 2013 at 2:29
1
Solved
According to df there is plenty (about 50G) space left on the device.
/ # df db
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mmcblk0p3 61812032 11308736 50503296 18% /db
Why might th...
Scenic asked 12/11, 2012 at 22:26
1
I need to display a virtually infinite scrollabe list of interactive widgets and add/remove them as necessary when new data is added or the user scrolls into an uncached area.
A TreeView (as asked...
1
Solved
I compiled a vala program by using following command:
valac test.vala
Of course am I able to run the program on my computer, but when I am trying to run the .exe file on a different one I get fo...
1
Solved
I want to port my C# WinForms application to be usable both with Windows and Linux. I have some experience with Java and more experience with Python but I don't really like the first and I'm concer...
2
Solved
I have found zero documentation on this subject (Have I been searching in the wrong places? It seems strange to me).
I simply need to be able to use a Qt GUI for my Vala application. An example wo...
1
Solved
I am thinking of developing an application using Vala. I would like to write unit tests for my code - but I have not (as yet) found any actively maintained unit test frameworks for Vala (e.g. Valad...
Bahrain asked 2/5, 2012 at 9:35
1
Solved
I am working with some legacy C code which I need to refactor and generally clean up, to remove spaghetti type programming, adhere to the DRY principle etc.
I was thinking of rewriting using...
1
Solved
I am trying to use a C macro from Vala. It seems to me that this should be possible with the CCode directive but I fail to find any meaningful documentation about how to use it.
There is a brief s...
Shock asked 16/4, 2012 at 13:27
1
Solved
When I create a custom dialog in GTK (both, GTK2 or GTK3) and set it to be modal, all input to other windows of my application is ignored. This works nearly always, but it fails under certain condi...
Calgary asked 20/1, 2012 at 11:25
2
Solved
Vala is a programming language with C# same syntactic, valac compiles vala program to C source code, is it possible to run my vala program on windows os?
Wedded asked 8/4, 2012 at 5:54
1
Solved
I wrote a maximum() generic function in Vala.
However, it does not compile.
Here it is:
T maximum<T>(T a, T b) {
return a > b ? a : b;
}
void main() {
stdout.printf("%d\n", maximum(10,...
1
Solved
I have been developing an image processing application in Java but I have been recently interested in VALA. The reason is because I believe I can increase the application performance (my concern is...
1
Solved
I am trying to keep a gtk.window on top, but I'm having trouble.
Here is my code so far. The example is in vala gnome (on windows 7).
public void onTop() {
window.decorated = false;
window.moda...
6
Solved
I'm just wondering how the Vala project is coming along. I'm not sure if this will be a great new technology or just one that will fall by the wayside. Does anyone know how many people are wo...
3
Solved
When I try to use gettext in vala I get not errors or warnings from vala but I get the following error from the c compiler:
/usr/include/glib-2.0/glib/gi18n-lib.h:29:2: error: #error You must defi...
© 2022 - 2024 — McMap. All rights reserved.