I recently got back into application design, I used to use basic and studio for windows, i used those to make easy simple programs that done nothing but amuse me. Now I wish to make programs that actually do something and could possibly be useful to someone. I am using Elementary OS 0.4 Loki its built on Ubuntu 16.04 and they have a simple guide on there dev docs that shows you how to set up a Launchpad and how to connect it and everything and make a simple program its using a language called Vala (I don't know the language) and GTK stuff in the sample it gives you this ("window.set_position (Gtk.WindowPosition.CENTER);") I wanted to make the "Hello World!" box appear at the Top Right instead of the center but I cant find a list of what can go there like .Top_Right or something like that, so after about 2 hours of going insane im asking for HELP anyone know anywhere I can learn Vala GTK variables and stuff or if you just know the answer to my problem.. thanks for the help.... I really need it...
Look at the GTK3 api reference. Ex, for Gtk.WindowPosition
Got this by ducking (I know, but that's what duckduckgo wants to call it) Gtk.WindowPosition and perusing the first link.
I'm turning in a bit early tonight, but that should be enough to get you started. If you need more help, I'd be happy to help you to the best of my ability.
thank you its musch appriciated i may need help in the future right now im looking into some open source prodjects and tutorials
No problem. Let me know if there's anything else I can do.
Just as a heads up, programs built in vala have a hard time compiling on RPM distros. If you build the program with GTK3 it should work across many more platforms.
If you're looking to invest into a language long term I wouldn't recommend Vala. Project seems dead. The guy behind the Budgie desktop / Solus OS is actually planning changing his codebase to C I think. Its probably still an interesting language to get into (I wouldn't know, never tried it), just don't want to see a fellow programmer invest time into something that is probably not going to stay relevant for very long.
Snappy / Flat packages to the rescue !!!!!!!!!!!!!!!!!!!!!!!
Long term plans. Ikey's using Python where he can, but for core stuff like Budgie and Raven, it's vala because it's faster and memory management is better (I believe).
I would ABSOLUTELY recommend avoiding Vala in the long term. It's just not as good as C.