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
3answers
525 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! ...
1
vote
1answer
188 views

Quickly/Glade linking a button to notebook page

Hey everyone (boy I seem to be posting quite a bit), I have a question regarding Glade and Quickly. Is it possible to map a button to a notebook within the same program. Like say for instance I have a ...
1
vote
1answer
144 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 ...
1
vote
1answer
274 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 ...
1
vote
2answers
1k 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 ...
1
vote
1answer
161 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
170 views

Quickly message box

How to make message like this using Quickly
1
vote
2answers
864 views

Installing python-pygments, ImportError

I want tot use pygments in my python app. At first, I installed pygments like this: $sudo python setup.py install --prefix=/usr/local /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown ...
1
vote
1answer
63 views

how do I make a python program write directly to the command line?

This is the code I have, I want it so that I can write to the command-line from the window after I press the "SEND" button. If I want to see my "ifconfig" in the terminal, the command gets writen in ...
1
vote
1answer
521 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 ...
1
vote
1answer
345 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 ...
1
vote
1answer
68 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, ...
1
vote
1answer
74 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 ...
1
vote
1answer
264 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
1answer
286 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
1answer
143 views

Quickly add Scrolling to Window

while creating my ubuntu application, I wanted to add in several images and then allow the user to scroll through them. The problem I am having, is that it just cuts the image off, and there are no ...
1
vote
1answer
127 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
2answers
766 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
3k 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
445 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. ...
1
vote
1answer
84 views

How can I open/show the default content-help-dialog with quickly?

If I create a Quickly-Project there is a default Menubar which shows the Help-Dialog(Contents - "index.page" from help/C - Folder). How can I manually show the Content-Help Dialog? There is no code in ...
1
vote
1answer
139 views

how to keep the app indicator menu visible after clicks?

I have a specific need in which I want app indicator menu item to respond to mouse click but menu should not disappear, for example when I click play in music menu, menu does not disappear, can i also ...
1
vote
1answer
262 views

Display and edit text and images in a quickly app

I need to be able to display images and text (images resizable and text editable). I was thinking maybe a HTML type thing could do this. For a really bad example like how a word processor works. ...
1
vote
1answer
387 views

Playing WMV files and Asx files

I have a question about this page: http://developer.ubuntu.com/resources/tutorials/all/diy-media-player-with-pygtk/ My question is about setting supported video and audio types? Do I have to have ...
1
vote
0answers
44 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 ...
1
vote
1answer
161 views

Multi-threading in Gtk python [closed]

I'm trying to display a GUI and do some work in the background.when the window is current window, GUI runs normally. Long after minimizing the window, GUI will freeze. The following code is created ...
1
vote
0answers
217 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 ...
1
vote
0answers
181 views

PyGTK/Quickly Add string to ListStore [closed]

I'm trying to build an application that will prompt the user for a string, and then add that string to a Scrolling Listview object using quickly and PyGTK. I've been following this tutorial: ...
1
vote
1answer
165 views

quickly run ERROR: run command failed Aborting

I have simple PyGTK app made with quickly. After syncing source files via Ubuntu One and running on other machine I got: $ quickly run Can't execute bin/myapp ERROR: run command failed Aborting ...
1
vote
1answer
617 views

PyGTK application example

I'm planing to write my first Ubuntu app. I'm new in Python and looking for good example, an open source app, just to pick the patterns and architecture. Is there any good example? It would be nice ...
0
votes
1answer
56 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. ...
0
votes
1answer
448 views

Set Window Icon to Gtk Stock Icon in PyGtk

I am trying to add a Gtk stock icon to my window. Here is the code: #! /usr/bin/python from gi.repository import Gtk class MyWindow(Gtk.Window): def __init__(self): ...
0
votes
2answers
462 views

Appindicator Theme Dependent Icons

I am developing PyGTK app with appindicator. I create my appindicator similar like in this example. In this example "indicator-messages" stock icon is used. So, I can: use stock icon (from existing ...
0
votes
1answer
183 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
1answer
313 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. ...
0
votes
1answer
295 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
1answer
68 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
615 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
2answers
128 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: ...
0
votes
1answer
595 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
135 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
2answers
2k 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 ...
0
votes
1answer
168 views

How do I programatically edit label widget in the runtime

How do I programatically edit label widget in the runtime , I am using quickly I tried self.title=builder.get_object("title") for initialising and def update_Label(self,url): ...
0
votes
1answer
63 views

Quickly/Glade autoadjust text position

In Quickly/Glade, is it possible to keep the text (well, labels) centered, so when I maximize my program's window, the text stays centered? It's probably something easy to do, but I have been unable ...
0
votes
1answer
276 views

Webview load specific URL (Quickly/Glade)

I was watching the Ubuntu Developer video about creating your own browser using webkit, but I was wondering if it would be possible to make webkit load a specific website. For instance, if I was to ...
0
votes
1answer
184 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
389 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, ...
0
votes
1answer
76 views

Quickly User Dialog error

I think there is an error in the Quickly tutorial. In the User Dialog section, the tutorial instructs users to enter: title = saver.title_text in the save dialog method. This gives some error which is ...
0
votes
1answer
9 views

How to get filename from FileChooserButton in PyGTK?

I'm using Glade and PyGtk to develop an application. Currently I'm using a button under a toolbar to open files using this code: def on_openVideo_clicked(self, widget): dialog = ...
0
votes
0answers
10 views

How to add command-lines to PyGTK application to run after executing .deb file?

I've just made a small application written in PyGTK using Quickly. Inside the application there are some functions which needs some other packages to be installed. For example I need "mencoder" to ...