Cross-platform Python library for creating GTK+ graphical user interfaces using Python. PyGObject is intended to replace this with the introduction of GTK+3.

learn more… | top users | synonyms

1
vote
1answer
21 views

Python unity indicator applet and glade child window exits at the same time

Since I don't have much reputation. The original question has been posted in stackoverflow and here is the link: Python unity indicator applet and glade child window I have created an unity ...
0
votes
0answers
45 views

Can you name Ubuntu applications that were developed using Python, pyGtk, Glade? [closed]

I started using Python at a very basic level. As a second step, I would like to develop Python software using pyGTK and Glade as GUI designer. I found very easy to learn by examples and I think it ...
0
votes
1answer
27 views

What is the name of the icon for usb drives in Ubuntu?

I am developing a PyGtk application that I would like to display the image for a USB stick from the user's theme. However, I cannot seem to pin down the name of the icon, and Google is no help. ...
2
votes
1answer
140 views

running gnome-terminal with no window border on startup in xubuntu 12.10

I created a script to launch a session of gnome-terminal when I log into xubuntu. I specifically wanted it in a specific position on the window, and with no window borders (surprisingly, there's no ...
2
votes
2answers
48 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 ...
2
votes
1answer
71 views

PyGTK TextBuffer adding Tags and reading text

As in topic I have TextView() and TextBuffer() added to it, I also have Tags created so when I select text and click button it will make text BOLD or something. Up to this point all works well, now I ...
0
votes
0answers
7 views

How to update PyGTK(Python GTK) to 2.21 in Ubuntu 10.04.4

Ubuntu LTS 10.04.4 support PyGTK till 2.17 Can use ppa way to update PyGTK version 2.21 at least?
1
vote
1answer
27 views

How can I bind Gio.Settings of TextBuffer or TextView?

I'm trying to bind a TextView to the key "text" by TextBuffer. I get the text, but this property is not recorded. widget = self.builder.get_object('textbuffer_text') settings.bind("text", widget, ...
0
votes
0answers
26 views

Quickly: How do I bind menu item with show window?

I'm working in Glade. I need to make my About dialog box open when the user clicks the corresponding menu item. This feature is set up by default but I messed it up and I can't get to fix it... I ...
0
votes
0answers
30 views

Quickly: How can I use a DrawingArea to draw a 2D game level?

I want to draw images in a DrawingArea (or other widget) as I'm making a 2D game editor. I'm using Quickly, which uses PyGObject and Python 2.7. I'm new to GUI programming. I'm looking for some ...
1
vote
0answers
25 views

My program needs a other program

For my program i need android-tools-adb. How can i include this in my debian package? Or is there an other way to handle this problem? I remember that Rhythmbox asked you an question if you want to ...
2
votes
1answer
127 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
57 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 ...
1
vote
1answer
42 views

How to use small icons in kupfer?

I don't like the large (128px) icons used in Kupfer, how can I configure it to use smaller icons? The theming documentation suggests it can be done. I've duplicated the built in customtheme.py ...
1
vote
1answer
79 views

Upgrade Webkit PyGTK Libraries

I'm developing a PyGTK-HTML5 Application (Using Quickly), but the webkit libraries (WebView) are a bit old, at least for using some of the latest HTML5 APIs (like IndexedDB) is it possible to upgrade ...
0
votes
1answer
62 views

jhbuild sanitycheck not moving

I am following Jhbuild documentation. while doing jhbuild sanitycheck I am getting following problem. root@august:/home/frank/jhbuild# jhbuild sanitycheck You should not run jhbuild as root. ...
3
votes
1answer
36 views

Icon name for unlocked keyring

I am working on a program and I want to implement icon denoting keyring state. If you start seahorse you'll see it has the same icon of padlock in two states, locked and unlocked. I am unable to find ...
1
vote
1answer
87 views

Is there a auto-complete tag like control for quickly/pygtk?

I am making a todo like application with indicator support using glade/python/pygtk/glade. I am making a form to save a Todo item. Each todo will belong to 0 or more projects. When a user enters a ...
0
votes
0answers
58 views

how to save a gtktextbuffer content in file

i tried to save sengtktextbuffer content in a file. my code seens working but i have a problem in file. some characters are unreadable in outfile outfile my code: def on_save_clicked(self, widget, ...
0
votes
1answer
100 views

How extract strings from a .ui file (glade) with gettext?

I'm trying to extract the strings from this file: http://bazaar.launchpad.net/~gufw-developers/gui-ufw/gufw-13.04/view/head:/data/ui/add.ui Which is the command for it? This not works: ...
0
votes
0answers
117 views

Python Crashes While trying to run GTK Script Help?

I am using Ubuntu 12.04, While I am trying to run a python script developed for providing native GTK interaction with python, It crashes so does python. My Other GTK python programs are running ...
1
vote
2answers
287 views

'module' object has no attribute 'element_make_factory'

i have this code : import pygst import st, pygtk player_name = gst.element_make_factory("playbin", "Multimedia Player") player_name.set_property("uri", "../media/alert.mp3") ...
1
vote
1answer
130 views

Playing sounds in Python Quickly without any extra libs?

I was wondering is it possible to play sounds in Ubuntu using Quickly and Python without including any libs like pygame or pymedia or anything ? Just the stock packages that come with Python ? Thank ...
1
vote
3answers
63 views

how to kill an app started by `quickly run`

I am building an app and it hangs on some thread . how can i kill that app ? tried ctrl+c but it didn't work (the icon stays in the notification area) thanks
1
vote
1answer
117 views

how to create a pygtk status bar icon using quickly python

How can i add an icon to the status bar using python ? like the skype icon ? and is it possible to use the default notifications like those that appear when connecting or disconnecting to a wifi ? ...
1
vote
0answers
15 views

Allowing only certain rows in gtk+ treeview to accept children

I have a gtk+ treeview with 2 columns in it "name" and "type". I want to only allow rows to accept children based on the value of the "type". So if the "type" column value is 0, it can then accept ...
1
vote
0answers
56 views

How to print with PYGTK on quickly

I am trying to make a program that can open save and print texts with Quickly, but I can't get the printing part to work. In my code when you press the "printbutton" it opens a print dialog: def ...
1
vote
1answer
177 views

Installing Ubuntu One on Ubuntu 11.10 server

I have installed "Ubuntu One" on an Ubuntu server 11.10 based on these instructions: How do I configure Ubuntu one on a 11.10 server? Everything went smooth during installation. However when I try ...
1
vote
2answers
216 views

Which database to use for quickly and pygtk

I'm writing application using quickly Pygtk and glade. this application should have database connection (such as MySQL) for reading and writing data from the local or outsourcing machine \ server. ...
6
votes
3answers
626 views

Custom session: Window does not capture full screen area by default. 12.04

I am trying to create a custom session by creating a custom.desktop file in /usr/share/xesessions folder. Remember this is not a gnome or some other session. I have created my own application for this ...
2
votes
1answer
291 views

Dynamicly add or remove items from list and tree in pygtk and quickly (glade)

I'm trying to make some mini CRM application in python using gtk(pygtk), glade and started to develop it using quickly(which is awesome). I'm created some dialogs and added listview to the GUI using ...
0
votes
1answer
71 views

Problem serialising TextBuffer

While trying to follow the serialisation instructions from this answer I encountered a few problems. The following is supposed to serialise a TextArea's content to a string. The first two line ...
0
votes
1answer
51 views

Why is my Gtk.Notebook not fetching its label properly?

I am using this method to save a file: def save(self): file_data = ConfigParser.ConfigParser() subjects_number = self.subjects.get_n_pages() si = range(1, subjects_number) for sn in ...
0
votes
1answer
54 views

Use MongoDB and PyMongo inside an PyGTK app

I am abort to make an Python app with Quickly. The app need to store some data in an database, To this I am planing to use MongoDB. So my question is like this: How can I make the py-app to auto ...
1
vote
0answers
99 views

How to design non-windowed Gtk.Frame in Glade?

I'm building a ToDo app for personal purposes, and I'm using Quickly and Glade. I want it to display a list of the pending to-do elements. The problem I'm having is that I can't find the way to ...
0
votes
2answers
83 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
1answer
44 views

How does one connect to a GTK signal with a dash inside it while using Quickly?

I'm currently writing an app with Quickly where I want to connect to the "preedit-changed" signal of an entry box. While with signals like clicked where you can write a function on_button1_clicked, ...
1
vote
2answers
399 views

Multi-threading in application designed in quickly

I have a tree which I populate with a file list from my computer on the click of a button. While the program is populating the tree the whole GUI hangs. Is there a way to populate the tree in another ...
2
votes
1answer
222 views

Can I execute an application built with Quickly (python - pygtk) on MS Windows?

I am working with QUICKLY, using Python and PyGtk. I know there is an option for packaging; so I can create a .DEB file. This is for Ubuntu. I was reading about PyGTK and it seems that PyGtk runs on ...
3
votes
0answers
65 views

How do I provide arguments to mapped methods in quickly preferences dialog?

I'm using quickly on 11.04 and I'm trying to add a textbuffer object to the preferences dialog so that its contents is updated automatically to the couchdb. So in __init__.py I changed the dictionary ...
1
vote
3answers
190 views

Pygtk dialog and return id/info

i am writing an app with quickly-pygtk-glade and i want to show a dialog and get the return id...I used the run() method but if a close the dialog and reopen it i get an empty window and some errors! ...
0
votes
1answer
219 views

A GtkEntry signal emitting at focus change

I'm writing a very simple app using Glade and PyGtk. In the app, I need to collect user inputs and parse it as a conf file. In order to dump all the freetext user inputs to a StringIO, I am using the ...
0
votes
1answer
82 views

Problem with Gtk.Image

i am having a problem with a Gtk.Image. I use the set_from_file() function to add the image to the Gtk.Image but the image is not displayed! Instead the broken icon is... The image exist and i can ...
0
votes
1answer
80 views

What is the schema XML file in the data/glib-2.0 folder of my Quickly application?

I created an Ubuntu application with Quickly, and I can see an XML file in the folder data/glib-2.0 of my project root and I am not exactly sure what this is for. The XML looks like this: <?xml ...
1
vote
1answer
242 views

Why can't I define the size of a Gtk.Entry embedded in a Gtk.Toolbar?

I have embedded a Gtk.Entry box into a Gtk.Toolbar, however changing the requested width of practically anything (i.e. the Gtk.ToolItem that contains the Gtk.Entry and the Gtk.Entry itself) doesn't ...
2
votes
1answer
393 views

How can I build vim with a gui without gtk?

I've recently started playing around with pygobject. However, gvim or vim's python-complete feature crashes, because, as I understand, you cannot mix GTK2 and GTK3 libraries in the same process. ...
0
votes
1answer
294 views

Get folder from file chooser button pygtk

i want to get the location of the folder that is selected by a filechooserbutton in pygtk... how can i do this? i connect the current folder changed signal from filechooser but the signal is emitted ...
0
votes
1answer
217 views

Quickly app not starting

I'm creating a web-browser named "Surf's Up!", and I have programmed the code and the interface, but when I try to run the app, an error message appears: Traceback (most recent call last): File ...
0
votes
1answer
106 views

Error when importing pynotify

When i add import pynotify and try to run my app i get /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' ...
0
votes
2answers
486 views

Python - access variable in another class

I have 1 main window and 1 dialog. Now I need to access variable in main window from dialog. For example in java we have 2 classes: demo and myclass In my class I have following code: public ...

1 2 3