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

2
votes
0answers
73 views

How do I get the new toolbar style in my pygtk app? [duplicate]

Possible Duplicate: What is the black header widget in some programs? I've noticed that I still have the old school gnome2 GtkToolbar style when I just run a simple glade/gtk application: ...
1
vote
3answers
85 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
777 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): ...
1
vote
3answers
755 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
210 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
2answers
516 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 ...
1
vote
1answer
171 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
333 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
210 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
183 views

Quickly message box

How to make message like this using Quickly
1
vote
1answer
76 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
1k 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
471 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
90 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
77 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
350 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
298 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
183 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
117 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 = ...
1
vote
1answer
150 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
960 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
6k 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
510 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
85 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
145 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
303 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
425 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
26 views

I found a bug in quickly system [closed]

I made a little program and I'm found a bug in quickly system. I found a bug in pygtk yelp help system. In helpers.py the program does not find the correct language settings in yelp. A fault arises ...
1
vote
0answers
34 views

Best way to port PyScripter+GTK programs from Windows to Ubuntu

I have a bunch of small python graphics programs that I developed with PyScripter and GTK on Windows. I was hoping to switch to Ubuntu, but PyScripter is not available in Linux, and Spyder does not ...
1
vote
0answers
26 views

How to get pygtk working on Ubnutu14 with Python3 [duplicate]

I'm trying to run a simple helloworld.py example for pygtk on Ubuntu 14, this is my Ubuntu version info: This is my ubuntu version: Distributor ID: Ubuntu Description: Ubuntu 14.10 Release: ...
1
vote
0answers
69 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
273 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
274 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
200 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
176 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
751 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
66 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
275 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
457 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
381 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
78 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
737 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
141 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
781 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
161 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
247 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
64 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
316 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 ...