All Questions
Tagged with vala development
20 questions
0
votes
1
answer
113
views
How do I set up a Vala project with multiple namespaces in Meson?
I realize this is a bit beyond the scope of elementary OS, per se, but all y'all seem to be the main users of Vala, and I'm not sure where else to ask this.
I am working on a project with a large ...
1
vote
1
answer
65
views
StackSIdebar is not visible
I used Gtk.StackSidebar to create a sidebar for an app that I am making.
https://github.com/Suzie97/Project_X97, this is the link to my github repo.
The sidebar is not correctly visible on the window. ...
1
vote
1
answer
55
views
Window position and size not saved when app is closed
I made this simple application and made it so that the window position and size is saved on closing the app, so that the next time the user opens the app, he can resume his work directly.
https://...
0
votes
1
answer
265
views
gsettings schema isnt installed
I am learning to make apps for Elementary OS. I wrote my app it compiles well without any errors. But when I try to open the application, it displays a message stating gsettings schema isnt installed.
...
0
votes
1
answer
105
views
How to add granite package
What package do I need to add to my project in order to use granite? All I get is "The name `Granite' does not exist in the context of..."
I tried libgranite-dev but it isn't found.
Also, ...
1
vote
1
answer
70
views
Do I have to use Vala to build my app to get it on the App Store?
I notice they have Vala shown front and center, but I'd much rather use electron with React so I don't have to learn a whole new language. Would they accept a submission in React?
Found this:
Your ...
1
vote
2
answers
32
views
Can't change value in struct property inside class
io = {};
io.wchar = 111111;
debug((string)io.wchar); // (null)
So the problem here is that io.wchar is still null. You can look at the whole class here: https://github.com/stsdc/monitor/blob/dev/src/...
2
votes
1
answer
169
views
Debugging applications during development
I wanted to start working on issue https://github.com/elementary/calendar/issues/419 but I encountered a bug. So I wanted to debug the application code I added.
I found this tutorial on debugging ...
3
votes
1
answer
495
views
Setting up a development environment for elementaryOS apps?
what's the best tool chain for building elementary applications these days? I've been playing with an existing project that contains a lot of other magic (such as meson, ninja and the like), and while ...
-1
votes
1
answer
50
views
Compiling with custom vapi leads to error
Added CUSTOM_VAPIS with vapi/libgtop-2.0.vapi to vala_precompile() in CmakeLists.txt and got this error:
No rules for target '../src/vapi/libgtop-2.0.vapi' ...
How to add vapi files properly?
0
votes
2
answers
124
views
Missing Library
I'm trying to get into developing for Elementary using Vala. I have been unsuccessfully trying to build Valama (an IDE for Vala) for ages but keep hitting hurdles.
Currently when I try to make Valama ...
0
votes
1
answer
174
views
WebKitGTK not installed / unknown version detected
Trying to build pantheon-mail I bump into this error when running cmake.
CMake Error at src/CMakeLists.txt:493 (message):
WebKitGTK not installed / unknown version detected
Which version of ...
6
votes
5
answers
3k
views
Concern about the future of vala
I'm prototyping an application using Vala, in hope of targeting elementary OS. It was actually the elementary website at Build for elementary OS that first steered me towards Vala.
Now, Gnome is ...
1
vote
1
answer
237
views
StatusIcon not showing/working
Good morning dear community, i have a little trouble and i can't found any proper explanation for this issue, actually i'm developing an small application to hear radio streaming using Vala and ...
0
votes
1
answer
42
views
Determine if Notebook or Desktop in Vala
I'm developing extension for wingpanel-indicator-power which allows you to change the screen brightness directory from the indicator.
The the moment this is only possible by accessing the power ...
2
votes
1
answer
368
views
Buttons' Look in a Gtk.MessageDialog
Elementary's human interface guidelines specify how dialogs should look:
In Valadoc, there is a minimal example on how Gtk.MessageDialog is to be used:
Gtk.MessageDialog msg = new Gtk.MessageDialog (...
5
votes
1
answer
230
views
Can't build package from developer getting started doc
I'm following the developer getting started document, and have worked my way here:
http://elementary.io/docs/code/getting-started#launchpad-recipes
I'm able to build the hello-packaging application ...
1
vote
1
answer
718
views
error: Package `libcanberra' not found in specified Vala API directories
When I try to compile a project with pkg libcanberra using command [valac --pkg libcanberra *.vala
], I am getting below error,
error: Package `libcanberra' not found in specified Vala API
...
1
vote
1
answer
63
views
Granite Widgets : Unable to append a new action item to welcome page at runtime
I am trying to add and remove action to welcome screen at run time on pressing Add and Delete buttons in Header Bar.
I am unable to append a new action item to welcome page at runtime.
check Code ...
2
votes
0
answers
32
views
Can I use Pantheon-Files FileChooserDialog module from custom FileChooserDialog Object?
I want to use the new Pantheon-Files FileChooserDialog module, but it doesn't seem to work when creating my own widget based on Gtk.FileChooserDialog (like seen below). Is there anyway for me to be ...