1
vote
0answers
45 views

Way to catch shutdown event in Unity, Ubuntu 13.04

I'm developing gui application (C++/Qt) and now search for correct(documented) termination way for application. Is there any documentation how Unity DE notifies gui applications to exit (some analog ...
4
votes
2answers
137 views

Where to find GUI code

I've been rummaging through Unity's source code (Shell Interface) and I was a little curious about something; where in the code are you supposed to find positional code? I'll clarify a bit with some ...
3
votes
1answer
112 views

Can't get iconify() and deiconify() to work properly

I'm writing app for Ubuntu with C++ and Gtkmm. In my app i use libappindicator to show icon with simple menu in notification area. Icon and menu works ok, i can minimize window to panel (using ...
3
votes
1answer
99 views

C++ gtkmm-2.4 - How to calculate size of Unity Launcher/Panel?

I am using gtkmm-2.4 for my Ubuntu apps and to determine the size of the window for the application I use get_desktop_geometry. This returns the dimensions of the display you ask for. My issue is that ...
1
vote
1answer
154 views

Unity, C++, opening a Unity folder out of a QT-application

I wrote an QT-application, which shows a "QTreeWidget" of a certain directory and its sub-directories. Now I would like to make unity open a folder e.g. /home/Username/, by clicking one of the ...
1
vote
1answer
196 views

Stopping the Unity global menu from hijacking the menubar from my app

I'm developing an application for Ubuntu that (ab)uses the Gtk::MenuBar class to create a custom widget. It works fine on Gnome-Shell, but on Unity the widget gets hidden. I know I can disable the ...
8
votes
2answers
2k views

Unity Launcher API for C++

I am trying to develop some program in QT with QT SDK. Yesterday I was reading about Unity Launcher API on official ubuntu website. But there is example only for Vala and python. Is possible to use ...
11
votes
2answers
510 views

Can unity places be written in C++?

Is C++ a supported language for writing unity places?