Tagged Questions
0
votes
0answers
30 views
Appindicator Icon Animation
I'm writing a software using pygobject for GTK+3 (Ubuntu 12.04, stable repo package versions for all dev tools) and I'd like my application to have animated AppIndicator icon.
It's easy to make ...
0
votes
1answer
66 views
How to change menu entries in AppIndicator, when it is running?
There is a similar question at StackOverflow, but it didn't help me: Changing items while running. I tried asking at StackOverflow, but people there where not too active: How to change GTK menu in ...
1
vote
0answers
129 views
Keybindings for individual letter keys (not modifier-combinations) on a GtkTextView widget (Gtk3 and PyGI)
I've been able to set several keybord shortcuts for a GtkTextView and a GtkTextEntry using the new css provider system. I'm finding, though, that I only seem to be able to establish keybindings for ...
4
votes
1answer
380 views
How to get rid of the background gradient of the inline GtkToolbar?
When you run the below code, it will show an inline toolbar in a window. Notice how the inline toolbar has a stand-out backbround. Is there a way to apply CSS to get rid of it and make blend with ...
0
votes
2answers
213 views
Apply primary-toolbar background behind GtkEntry widget with GTK3
In PyGI (GTK3), how can I make a GtkEntry widget appear against the same background applied (by the user's theme) to the primary toolbar. I tried adding the same style class like this:
...
3
votes
1answer
114 views
PyGObject: Gio.File.copy_async() doesn't exist in Ubuntu 12.04
According to GIO Reference Manual Gio.File has a methode copy_async. In Ubuntu 12.04 I'm getting an AttributeError when I try to call this method.
What should I use instead to for asynchronous ...
0
votes
1answer
69 views
Which packing constant to use for set_child_packing() in Python
I want to change a child of a box's padding; so I am using set_child_packing on the box holding the child. I can't figure out what to use as the constant for for the pack_type. Using PACK_START from ...
5
votes
1answer
204 views
Why does creating a new tab give me 'TypeError: Expected Gtk.Widget, but got GObjectMeta'?
def on_btn_new_subject_activate(self, widget):
self.subjects.append_page(Gtk.TextView(), "Testing")
I am trying to create a new tab on a text area but I whenever the signal is called by the ...
5
votes
2answers
814 views
Porting “import gobject” to use GObject-Introspection. (PyGTK to PyGI and GTK 3)
I've been trying to port a library from PyGTK to use GI and GTK3. The problem is I can't find any resources specific to the gobject imports, but only for GTK. I was hoping that if someone would ...