0
votes
0answers
17 views

Is it possible to upgrade the default gtk-3.4.2 on Precise to a later version?

Is it possible to upgrade the default gtk-3.4.2 on Precise to a later version? I need to use a program that requires GTK+ 3.6 as the minimum, but the GTK+ version installed is 3.4.2. Is it possible ...
1
vote
1answer
617 views

How to get text buffer from file and loading into TextView using python and Gtk+3

I want to create an Ubuntu App that uses Gtk+3 and Python. However, I would like to know how I can get the text buffer from a file and load it into a TextView. Does anyone know how this can be done ...
2
votes
2answers
109 views

Thread works only on gui events - pygtk

I am developing a multithreaded application in pygtk using quickly and stuck with threads. So I am experimenting with various possibilities and found out that my thread work only when I do something ...
0
votes
2answers
130 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: ...
4
votes
2answers
910 views

Creating widgets using GtkBuilder

I am using Glade to design a Box with widgets and then load these widgets into my UI at run-time. To create each Box with widgets at run-time, I create a new GtkBuilder, call add_from_string passing ...
4
votes
1answer
747 views

How to apply gradient background to GtkWidget in GTK3?

Is it possible to use gradient as a background for generic GtkWidget? Related question: How to change GtkWidget background in GTK3?
0
votes
1answer
191 views

Opening a Window within an already open window (Quickly/Glade)

I have a question regarding window and button implementation. If I have a toolbar set up, and I have a button on it, is it possible to get it to open a window right within the program? I mean like ...
0
votes
1answer
401 views

How to hide a GTK window in Python before call or os.system

So, I'm depeloping a Python/GTK app which, after showing an assistant, it hides the assistant's window and runs an external app. The problem is that window.hide() doesn't works if, after the command, ...
3
votes
1answer
278 views

Can't add page in a notebook

I am having some trouble adding a page to a Notebook widget. The error I get is this: AttributeError: 'function' object has no attribute 'append_page' I assume this means the object pages in the ...
5
votes
2answers
1k 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 ...