PDA

View Full Version : [xubuntu] Programming a GUI with Xubuntu



Liminalitus
May 31st, 2009, 05:37 PM
Hello all. I'm a bit of a (super) newbie when it comes to Xubuntu, and this seems like a great site to ask questions. My question is this: If I want to go about writing a GUI for a program in Xubuntu, how would I do that, and would it work on all other Ubuntu OS's? And can I use C++? Sorry if my English is bad.

Linteg
May 31st, 2009, 05:49 PM
XFCE and Gnome both use the GTK+-toolkit. If you want to develop GUI apps with C++ I'd recommend using gtkmm (which is a C++ interface for GTK). The development package required should be available as libgtkmm2.4-dev, you'll also need g++ (GNU's C++ compiler) and pkg-config, they're all available in Xubuntu's repositories so install them with Synaptic (or Add/Remove Software).
gtkmm documentation is available at http://www.gtkmm.org/documentation.shtml.

Liminalitus
May 31st, 2009, 09:24 PM
Ah. That helps me very much. Thank you, friend.