Tagged Questions
2
votes
2answers
47 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 ...
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
29 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 ...
1
vote
1answer
86 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
283 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
62 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
2answers
212 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.
...
2
votes
1answer
287 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
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 ...
2
votes
1answer
43 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
389 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
219 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 ...
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
215 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
2answers
482 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
84 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
74 views
Remove a Custom Dialog Windows (PyGTK + Quickly)
Do Quickly have a remove dialog command?
Like: quickly remove dialog <dialog-name>
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 ...
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.
0
votes
1answer
45 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
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
96 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 ...
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 ...
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 ...
2
votes
1answer
82 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 ...
4
votes
1answer
279 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 ...
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. ...
5
votes
1answer
133 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
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:
...
2
votes
0answers
79 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
719 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 ...
1
vote
2answers
651 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 ...
0
votes
1answer
203 views
Package PyGTK app with Quickly fails [closed]
So, I have fully functional PyGTK app and I want to package it with quickly since that is the easiest way to do it, and the only logical way, since if someone took efort to implement such tool, why ...
6
votes
1answer
509 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 ...
2
votes
1answer
542 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 ...
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
...
0
votes
0answers
259 views
GUI for Quickly? [closed]
This isn't so much a question as a challenge.
I've just been looking at developer.ubuntu.com and I'm very impressed with the effort to try to get developers to write apps for Ubuntu. However, I'm ...
8
votes
2answers
586 views