Cross-platform Python library for creating GTK+ graphical user interfaces using Python. PyGObject is intended to replace this with the introduction of GTK+3.
1
vote
2answers
397 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
2answers
549 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
20 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
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, ...
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 ...
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
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
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 ...
1
vote
1answer
100 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
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
2answers
285 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
2answers
215 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
77 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
116 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
190 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
280 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
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 ...
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
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 ...
1
vote
1answer
220 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
0answers
66 views
Gtk containers for a list of items
I am trying to create a task management app with Quickly/Glade, but have troubles finding the right containers to represent information on the screen.
Basically, which containers should I use in ...
1
vote
0answers
152 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
137 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
422 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
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. ...
0
votes
2answers
302 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
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
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
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 ...
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
137 views
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.
...
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
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: ...
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
2answers
484 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
85 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
46 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
174 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
119 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
194 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
61 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
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
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?
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 ...
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 ...

