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
2answers
2k 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
497 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 ...
1
vote
3answers
821 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
865 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
170 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 ...
1
vote
1answer
250 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 ...
2
votes
1answer
2k 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 ...
6
votes
1answer
4k 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
776 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
549 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
287 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
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
288 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
92 views

Remove a Custom Dialog Windows (PyGTK + Quickly)

Do Quickly have a remove dialog command? Like: quickly remove dialog <dialog-name>
4
votes
2answers
1k 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 ...
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 ...
2
votes
1answer
50 views

How do I make an amd64 version of my application?

I am here because I am able to successfully upload the i386 build of my program to launchpad, but I have no idea how to create a native 64-bit application. Your help would be greatly appreciated.
1
vote
1answer
203 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 ...
0
votes
1answer
65 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 ...
4
votes
1answer
1k 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
342 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 ...
1
vote
1answer
220 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 ...
0
votes
1answer
236 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
147 views

Opening 2 top level windows (quickly/pygtk)

Is there a way using quickly to have an appliaction have two completly seperate windows (not a window with a dialog) And be able to open each of the windows from each other and maybe even also from ...
3
votes
1answer
813 views

PyGTK: Opening Links in Default Web Browser

Is there a way to create a Gtk.Button("http://www.google.com"), when clicked will open the system default Web Browser using the label as the URL? What I could do is... import os button = ...
1
vote
1answer
198 views

Quickly message box

How to make message like this using Quickly
0
votes
2answers
515 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
79 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 ...
1
vote
1answer
146 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 ...
7
votes
1answer
595 views

How do I add a Notebook to a Box in a VBox?

I have created an empty box in Glade to add a Notebook to. The reason I am not adding the actual Notebook in Glade is because I hear that you cannot add pages to a Notebook made in Glade. So, in ...
2
votes
1answer
92 views

Why changing signals causes NameErrors in a sane code? - PyGtk issue

I'm working on a very simple app for Ubuntu. I've asked a question on stackoverflow, and it seems that the issue I am having is caused by signals, not by the scope of variables, as I originally ...
3
votes
1answer
2k views

In development based on Quickly, why do codes start with “from gi.repository import Gtk”?

I am developing apps in Quickly. Default codes start with from gi.repository import Gtk. Why is it so and not simply import gtk for example? The point is, a lot of tutorials, documentation and forums ...
3
votes
1answer
353 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 ...
4
votes
1answer
395 views

Quickly Application making it run on startup

I have a PyGtk application that I made using Quickly, and I would like to have it run on startup when installed. How would I go about doing this? I'm not sure if sticking the .desktop file in ...
5
votes
2answers
533 views

How to add sub menus in appindicators?

I am using this code to try to add submenus in appindicator #!/usr/bin/env python import gobject import gtk import appindicator def clean_quit(w): print "in quit" gtk.main_quit() if ...
1
vote
1answer
325 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. ...
5
votes
1answer
193 views

Opening files with quickly's PyGTK

I have already added the listeners and etc, but I can't get the actual open dialog code to work. I think it is something to do with the difference between gtk and Gtk but I literally just started ...
1
vote
0answers
202 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: ...
2
votes
1answer
712 views

Changing TextView font in PyGTK

I have TextView widget in Glade named "formula-view". I'm trying to do this to change font: formulaView = self.builder.get_object("formula-view") fontdesc = pango.FontDescription('Ubuntu 16') ...
2
votes
0answers
80 views

How do I use this Add/remove widget? [duplicate]

Possible Duplicate: What GTK widget is this? How do I add this little add/remove GTK widget in Glade Designer 3.12.1? I don't see it anywhere in the widget bar. If it can't be done using ...
3
votes
2answers
1k views

Problems with simple media player tutorial [duplicate]

Possible Duplicate: Facing problem with “gtk.RESPONSE_OK” in the simple-player quickly tutorial I'm following along with this tutorial, but came to a stopping point where the program has an ...
2
votes
2answers
1k views

Open Custom Dialog Windows (PyGTK + Quickly)

I have just downloaded Quickly, created a new project, set up simple GUI and created new dialog (quickly add dialog create (as you can see, I called it create)). I already have click handler in the ...
3
votes
2answers
146 views

Help building pygtk application

This is my application. It is created with quickly. I would like to package it for Ubuntu now. I tried to package it with uickly, but that failed. At first, I was trying to install it using ...
6
votes
1answer
863 views

PyGTK Application Icon Blurred in Unity

I have 128x128 icon referenced in main window glade file like <property name="icon">../media/my-icon.svg</property>. I tried, with both svg and png, but it is always very blurred in ...
1
vote
2answers
532 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 ...
3
votes
1answer
1k views

Appindicator best practices in PyGTK apps

I have problem adding appindicator to my PyGTK app. When I place this into my init.py, before gtk.main(), it works, but when I put it in my main window finish_initializing() method, it does not get ...
3
votes
2answers
1k 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 ...
3
votes
1answer
462 views

gDevilspie fails to launch, what to do?

When launched from terminal: ---:~$ gdevilspie pyGTK is not correctly installed, exiting. Installed in 11.10 Using Ubuntu Software Center...
0
votes
1answer
553 views

Custom PyGTK dialog with Glade

I'm building simple PyGTK app using Glade UI designer. I followed pattern from default Ubuntu app, where preferences and about dialog are implemented extending gtk.Dialog, so I added new dialog with ...
1
vote
1answer
177 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 ...