1
vote
0answers
28 views

Recommended way to check/fire alarm in Python (PyGI/PyGTK)

I am learning to develop an application by using Quickly (quickly create ubuntu-application). This application will stay in Application Indicator / Notification Bar and only work when a defined ...
2
votes
1answer
249 views

PyGTK changing theme for popup menu

I spent few hours searching on google and I gave up now... I need to change background for popup menu in my app. It set to whatever system default theme is... and I need this to be set to Radiance ...
0
votes
1answer
80 views

pygtk inline toolbar background

as in topic I need your help with inline toolbar for my app. I'll need this background bar to be expanded to the end of the widget while buttons remains on the left, as it is in keyboard layout ...
0
votes
2answers
116 views

GTK Recent Chooser Menu callback not working

I am currently very puzzled why something so simple fails so hard: This is the source code for a very very simple recent chooser menu, but it fails. My output is this: Display name: ...
2
votes
2answers
508 views

PyGTK - events from gtk.Menu in Unity global menu

I have an GUI application written in PyGTK and need to read key-press/release events from application menu. For example, when pressing shift key and click on menu item, do something else, then ...
14
votes
1answer
704 views

How to enable overlay scrollbars in my app?

I'm testing my app in Natty 2nd beta, in which most applications are showing the new overlay scroolbars, I guess only non-native GTK apps can't show it (like LibreOffice or Firefox). My app is coded ...
8
votes
2answers
1k views

How to add a pygtk Widget to the Glade palette?

Say I've created a gtk Widget like this: class AwesomeTextView (gtk.TextView): def set_font(self, font_description): self.modify_font(pango.FontDescription(font_description)) How can I ...
13
votes
1answer
2k views

Putting an arbitrary gtk.Widget into an appindicator.Indicator

Putting any gtk.Widget inside a gtk.Menu works, somewhat, by putting an empty gtk.MenuItem in first. It doesn't seem to be reliable - but it basically works. With an appindicator.Indicator, it doesn't ...