Cross-platform Python library for creating GTK+ graphical user interfaces using Python. PyGObject is intended to replace this with the introduction of GTK+3.
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>
4
votes
2answers
583 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
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
0answers
155 views
How to set PyGtk toolbuttons label color?
I am just beginning learning Quickly and PyGtk,
after see this info-video on Ubuntu-develperment.
As in the video I am adding a toolbar to my glade-file,
then some buttons.
To style the toolbar for ...
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 ...
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 ...
3
votes
1answer
236 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
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 ...
1
vote
1answer
101 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
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 ...
3
votes
1answer
286 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 = ...
0
votes
1answer
136 views
0
votes
1answer
193 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 ...
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 ...
5
votes
1answer
326 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
70 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 ...
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 ...
3
votes
1answer
159 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
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 ...
4
votes
2answers
273 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
189 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
1answer
237 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
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
718 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
650 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
121 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 ...
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
508 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 ...
0
votes
2answers
299 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 ...
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
2answers
547 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
184 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
318 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
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 ...
1
vote
1answer
279 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 ...
4
votes
2answers
788 views
Porting “import gobject” to use GObject-Introspection. (PyGTK to PyGI and GTK 3)
I've been trying to port a library from PyGTK to use GI and GTK3. The problem is I can't find any resources specific to the gobject imports, but only for GTK. I was hoping that if someone would ...
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:
...
0
votes
0answers
258 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 ...
4
votes
1answer
528 views
Will pygobject for Python 3 be included in 11.10?
Will pygobject of Python 3 be included with Ubuntu 11.10? I am interested in using the new features provided with GTK3 with Python 3 but I have been unable due to the complexity involved with getting ...
13
votes
2answers
538 views
What are the conceptual and technical differences between “Apps” and packages?
I'm a bit confused by the recent announcement (http://developer.ubuntu.com/2011/09/announcing-the-ubuntu-app-developer-site/) of the new "App" developer site. I've fallen out of Ubuntu development and ...
8
votes
2answers
586 views
4
votes
1answer
147 views
How do I make my apps windows get their own Unity launchers?
I'm writing an application that potentially uses quite a few windows. It would be nice if I could make at least some of those windows get their own Unity launcher entries. How do I do that?
15
votes
2answers
1k views
Developing Unity compliant apps in Python - where to start?
I'm an experienced programmer who is interested in developing apps for Linux, specifically GTK, and more specifically apps that are Unity compliant. Aside from the obvious step of learning Python, ...