5
votes
Accepted
How to install Vala on elementary OS
You should check the elementary Development Guide. In the section "Developer SDK" we cover grabbing essential development libraries, including the Vala compiler.
For development tasks, you're going ...
5
votes
Accepted
In which programming language elementary OS terminal is written?
The terminal in elementary OS is written in Vala.
You can see information about Pantheon Terminal and even read the source code on its Launchpad page.
5
votes
Accepted
Elementary Tweaks - How can I Toggle "Prefer Dark Theme" via Terminal?
I don't think there is an command for this, but you can edit a file.
Create/edit the following file:
~/.config/gtk-3.0/settings.ini
And change it to this:
[Settings]
gtk-application-prefer-dark-...
3
votes
Accepted
Using Granite with a different language besides Vala
Granite is written in Vala, so it provides a C API which you can use from C++. Using it should be fairly straightforward; just #include <granite.h> in your code, and build with something like
...
3
votes
Is elementary OS good for programming beginners?
I made the switch from macOS to elementary OS a few months back because I am bit tired of Apple's ways (a different rant) and if anything improved my development workflow. I thought I would have to ...
3
votes
Just installed elementary OS. How to get MySQl and C++ to work?
Ok. Let's see.
The package build-essential installs the C and C++ compilers along with the make tool and some headers.
You'll need mysql-server and mysql-client to have a local database and access ...
3
votes
Determine base Ubuntu version
You can use uname -v which gives the full Ubuntu based version unlike the other answers. Output is below :
#49~14.04.1-Ubuntu SMP Thu Dec 31 15:44:49 UTC 2015
If you need to only print the version (...
3
votes
How to use Gtk.Popover() in Vala?
You can associate the popover creation with a button event, like in the following example:
var button = new Gtk.Button ();
var imag = new Gtk.Image.from_icon_name ("help-info", Gtk.IconSize.MENU);
...
2
votes
Accepted
Fatal error with webkit2gtk-4.0 (webkit2.h)
According with Valadoc , webkit2gtk-3.0 bindings are replaced in Vala by webkit2gtk-4.0 since version 0.25.2 .
In order to install webkit2gtk-4.0 you can try in terminal:
sudo add-apt-repository ppa:...
2
votes
App development with Ruby in elementary OS
This GitHub repository gives you some basic examples on how to build a GTK app using Ruby. This is example #2 being run:
1
vote
Accepted
Linked style doesn't work for buttons
The Gtk.HeaderBar provides special styling for Gtk.Button's so that they look good inside it.
The solution:
In your case the solution is easy: remove the image-button style class from the ...
1
vote
Is elementary OS good for programming beginners?
I'd say elementary OS is as good as any other flavor of Linux for learning programming. You can install many different compilers and interpreters. Python should already be installed. I think gcc for C ...
1
vote
Can't open my command line c++ app
Okay, first, I think that "can't run" isn't correct, because you can run it - you can see at your screenshot, that it runs (there is no prompt line after you start program) and the process is on.
...
1
vote
Is there is full IDE available for writing apps on elementary OS?
You might want to try the nightly version of Gnome Builder:
I like to check in on the development of Gnome Builder from time to time, because for better or worse, I'm an IDE guy when it comes down ...
1
vote
Is it real to install any IDE on elementary OS, like NetBeans, Code:Blocks, etc
There are many IDEs available for elementary OS. I personally use Android Studio, IntelliJ IDEA, Atom, VS Code, Scratch, and Gnome Builder. Bottomline: Whatever language you are working in or whatever ...
1
vote
Accepted
Item list with text input error on Vala
Sounds like you want Gtk.Overlay.
That said, a better design would probably be to put both the Gtk.TreeView and Gtk.Entry an a Gtk.Box so the entry doesn't occlude the tree view…
1
vote
Accepted
error: Package `libcanberra' not found in specified Vala API directories
Installing libcanberra-dev package solved the issue.
1
vote
Accepted
Granite Widgets : Unable to append a new action item to welcome page at runtime
I can't check it currently, but this sounds like you are adding the widget and it simply doesn't show. When adding a new widget to welcomeLayout, running welcomeLayout.show_all () should show the new ...
1
vote
Accepted
Why is LibSoup not found when compiling Vala?
I am being told by people more knowledgable than myself for Vala that your compile command is not quite right. Every package needs the --pkg prefix, and you need to specify the full packages name as ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
programming × 34vala × 13
gtk × 5
applications × 4
pantheon-terminal × 4
development × 4
software-installation × 3
ide × 3
release-freya × 2
pantheon-files × 2
release-juno × 1
settings × 1
wingpanel × 1
appcenter × 1
themes × 1
command-line × 1
package-management × 1
design × 1
python × 1
shell × 1
package × 1
web-development × 1
java × 1