Questions tagged [vala]

Questions related to the Vala programming language.

Filter by
Sorted by
Tagged with
0
votes
1answer
117 views

Item list with text input error on Vala

I have an item list and I want to put a text input: using Gtk; public class TreeViewSample : Window { public TreeViewSample () { this.title = "Programa de odontologia"; ...
1
vote
1answer
524 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
1answer
52 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 ...
4
votes
3answers
569 views

GTK+ Incorrect Window Size

I'm not sure whether to ask this question on this site or on StackOverflow, because although this is programming related, I suspect that the behavior is influenced by the OS. So I have decided to ...
3
votes
1answer
505 views

How to use Gtk.Popover() in Vala?

I can't bind Gtk.Popover() to button.
6
votes
2answers
841 views

How to install Vala on elementary OS

I am learning vala. I need to setup vala environment on my elementary OS. How to install Vala on elementary OS?
2
votes
0answers
31 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 ...
3
votes
1answer
219 views

Why is LibSoup not found when compiling Vala?

I am try to create a application in Vala, but I need libsoup and checkout with this command: pkg-config --list-all | grep soup. I have libsoup, but if I try to compiling with this command: valac --pkg ...
2
votes
1answer
87 views

Adding “quicklist” actions to apps in the dock

If i have Noise or Terminal in the dock and right click on the app icon in the dock it presents me with a bunch of options eg. "Open as Root", "About" etc etc. How do i do this for my app? I'm ...
4
votes
1answer
91 views

Creating the “About” dialog

I know i have to use Granite.Widgets.AboutDialog but how do i create it so it looks exactly like the Noise about dialog? I can't find how the About dialogue is created in Noise source code. Any help/...
1
vote
1answer
1k views

How can I use a system icon in my application?

I would like to use the refresh icon in my application. Rather than creating my own icon I would like to use the refresh icon used in Files, in a way that the icon will be updated when the user uses a ...
3
votes
1answer
144 views

Template for a “About” dialog for an Elementary OS application

I have developed an application for elementary which is a Network Utility. The details of the Nutty application can be found here at launchpad: https://launchpad.net/nutty In response to a bug report,...
1
vote
2answers
183 views

Adding atspi-2 to the PKG_CONFIG_PATH environment table

I'm currently trying to learn Vala, but it fights me right from the start. I've basically copied the first Basic Sample found here. I'm trying to build it using this command: valac --pkg gtk+-3.0 &...

1
2