Writing applications for Ubuntu (including Ubuntu Touch) and questions about the application submission process to the Ubuntu Software Center. This covers both open source and commercial applications.

learn more… | top users | synonyms

1
vote
1answer
539 views

Quickly ubuntu-application + indicator template don't work

I've started to work with quickly and python (because I wanted to have some GTk3 integration and create and appindicator), and so I create the projecto like this : quickly create ubuntu-application ...
0
votes
1answer
126 views

How to use Events (GdkEvents) in Glade

When selecting a widget, in the common tab you can find the events control. What is it for? How to use it? Thanks!
0
votes
1answer
130 views

Creating Ubuntu Browser App Frames

After watching the video i am inspired to create one browser but stuck at one place, could you please help me with this. Requirement = - Like you displayed in your Video i wan create Multiple ...
2
votes
1answer
85 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 ...
0
votes
1answer
389 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, ...
2
votes
1answer
114 views

Broken Debian package with Quickly due to UnicodeDecodeError

I created a test application with Quickly. When I used quickly package, I get this warning: Ubuntu packaging created in debian/ ...
3
votes
1answer
1k views

Glade: How can I set the value of a spin button?

I've done some spin buttons with Glade for my Python/GTK3 app, but I don't know how to set things like default, lower or higher value. How can I do it? Using the following things for development: ...
9
votes
3answers
361 views
1
vote
1answer
79 views

In a Quickly app, should code go in “myapp” or “myapp_lib”?

I've just started looking into Quickly and Ubuntu desktop/GTK dev, and I'm a bit confused by the organisation of the template that Quickly provides. Specifically, I'm confused about two related ...
1
vote
1answer
94 views

What are the different application directories in a quickly ubuntu-application template for?

When you create a new ubuntu-application with quickly you will notice that it creates a directory structure like this: MyApp/ setup.py bin/ help/ tests/ setup.py MyApp/ MyApp_lib/ What are each ...
2
votes
1answer
471 views

In Glade, how do I set a widget size (i.e. minimum and maximum)?

I want to set the size of one of the widgets of an app developed with Quickly and Glade. I know how to set a minimum size in the 'Common' tab, with 'Width request' and 'Height request'. But I would ...
1
vote
1answer
122 views

Using .add() on the same widget more than once

I asked this question on Reddit and was directed here. http://www.reddit.com/r/Ubuntu/comments/vhadl/quickly_dynamic_ui/ Unfortunately I am having the same issue and the problems seems that you can ...
0
votes
1answer
35 views

How can I relocate the default quickly directory?

I don't want quickly to create applications in my home folder by default. Instead I want them to be in ~/Projects. Is there a way to do this?
0
votes
2answers
820 views

How do I show an animated gif in the app I am developing?

I am developing Discvur, a simple Imgur viewer, for the Ubuntu App Showdown. Therefore I use quickly + Glade + Gtk + Python. PyGObject instead of PyGtk would be highly appreciated. I would like to ...
2
votes
1answer
502 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') ...
0
votes
1answer
888 views

How do I get the size of a Gtk widget?

I am developing an app using Quickly + Glade + Gtk + Python. I would have liked to know the size of a displayed widget. Here is what I wrote already: from gi.repository import Gtk, WebKit […] ...
1
vote
2answers
435 views

How do I include basic image editing in my python application?

I am making an application for the Ubuntu App Showdown and I want to include basic image editing like adding black and white, grey effects etc to the image. But I don't know how to do that. I have ...
2
votes
1answer
75 views

Can i use closed source application for artworks or icon in my application for the showdown?

I want to develop an application for "ubuntu app showdown". Can i use Closed Source Application for artworks or icons ? like Corel or Photoshop or etc. (What if i use them with winehq in ubuntu?)
3
votes
1answer
289 views

GTK3 tabs with big icons

I want to implement something similar to the ubuntu software center's tabs. What widget is it? Any working example in python where I could take a look? Is this widget available in Glade? Thanks ...
3
votes
1answer
270 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 ...
9
votes
2answers
842 views

Why do the GNOME symbolic icons appear darker in a running application?

I'm creating an application that uses symbolic icons from the default theme. However, there are a few icons that I need that cannot be represented by those from the default theme, so I'm creating my ...
1
vote
2answers
918 views

Python, Gtk3 and Gstreamer

This isn't a really happy combination, but it does work for the most of the time. However, I just bumped into a problem with Gio.File. This will always result in TypeError and Python segfaulting: ...
3
votes
1answer
345 views

Use primary-toolbar with Mono

I am trying to create an application for the Ubuntu App Contest. And I defined image of the design, but I am having problems with it. Principally with the primary-toolbar design, so it would look like ...
1
vote
1answer
82 views

How to keep Text within GTK CellRenderers at center?

Hello I am using GTK3 CellRenderers in my project, but I want to put text within that at Center, how will I do that?
5
votes
1answer
309 views

How do I prevent webpages from stealing focus in Webkit?

I use a gtk TreeView to display different websites in my Python program. When the selected rows change, the web page is updated to the url field in the store. This works nicely, but a lot of web pages ...
0
votes
1answer
142 views

any basic app packaging guide for a newbie? [duplicate]

Possible Duplicate: Simplest Debian Packaging Guide? i've made an app using wxpython, i have some .py files and some icons, how can i package it for uploading it to launchpad?? i've ...
6
votes
1answer
2k views

How to use accelerators in Gtk?

I need to make an application in Vala, using Gtk, that supports keyboard accelerators that can be changed by the user. First, I add an entry to the global Gtk.AccelMap and then set the accel_path ...
1
vote
1answer
262 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
352 views

Why does creating a new tab give me 'TypeError: Expected Gtk.Widget, but got GObjectMeta'?

def on_btn_new_subject_activate(self, widget): self.subjects.append_page(Gtk.TextView(), "Testing") I am trying to create a new tab on a text area but I whenever the signal is called by the ...
4
votes
1answer
359 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
431 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 ...
12
votes
2answers
740 views

How to Change Quickly's Editor?

I've just downloaded Ninja IDE and I really like it's interface. Is there a way to configure the Quickly app to launch my project in Ninja IDE when I type quickly edit?
3
votes
1answer
303 views

How to add widgets on GUI developed with Glade?

I am using Quickly and Glade for the first time. I want to add certain widgets such as label and buttons on viewport via python code. Is it possible?
0
votes
1answer
123 views

Teeview-Binding to CouchDB not working with quickly (PyGtk + Glade)

For the Ubuntu App Developer Showdown I need to know some basics about quickly. One really important thing is to know how the Treeview-Binding works with CouchDB. I did the Tutorial1 ...
6
votes
1answer
572 views

How to use the AccountsService API with Python?

I'm writing an application for the Ubuntu app showdown and I try to read/write the user's profile picture using this >>> from gi.repository import AccountsService, GLib >>> ...
1
vote
3answers
593 views

Which framework/toolkit for modern unity applications?

I want to code some applications for ubuntu (no other platforms), but which gui-toolkit would be the "official" one... in the past (gnome) gtk+ was my choice, but afaik unity uses Nux. I don't want to ...
7
votes
1answer
123 views

Are the Ubuntu App Developer Showdown Workshops recorded?

I am a new developer who wants to participate in the Ubuntu App Showdown. I would like to go to the Ubuntu App Developer Showdown Workshops but its abit hard with my schedule. Will these workshops be ...
4
votes
1answer
399 views

How to run an application in /opt?

I want to know how one can run his application in /opt and installed in /opt. I want it for the ubuntu app showdown http://developer.ubuntu.com/showdown/ I will be using qt with qt creator and c++; ...
1
vote
1answer
66 views

Is a port of an existing program eligible for the App Showdown?

For example, the original program is Xlib based, and I port it to GTK3. What about porting my old gtk2-based app to gtk3? Are either of these two eligible for entrance into the App Showdown?
1
vote
2answers
243 views

Will Quickly + pyside work properly like any quickly application?

I was thinking of using Quickly but I don't like Glade and I want to use pyside. I want to start my starch. Should I delete all the files and create a pyside python file? Will Quickly still work with ...
2
votes
1answer
282 views

How to use quickly with c++

I wanted to know that how can i create application using c++ with quickly. Recently i wanted to use pyside with it so i deleted all the files in the main folder expect init.py And it works I wanted to ...
1
vote
1answer
116 views

How can I store variable changed by user?

I'm working on simple application for Ubuntu App Showdown. I'm relatively new to programming (started learning Python last week), so maybe this question sounds stupid. Anyway, lets say there's a ...
1
vote
1answer
161 views

Invalid syntax error when following “Creating your first ubuntu app” video

$ quickly run Traceback (most recent call last): File "bin/mybrowser", line 32, in <module> import mybrowser File "/home/michael/mybrowser/mybrowser/__init__.py", line 14, in ...
1
vote
1answer
156 views

Is there a recommended DB to work with Quickly?

CouchDB used to be the recommended DB to work with Quickly until 12.04, when it was dropped out. Now, I want to know if there is another DB recommended to replace CouchDB that works nicely with ...
3
votes
1answer
69 views

How to View Submitted Apps for the Ubuntu App Showdown

I was wondering how to view the submitted apps for the contest. I am rather interested in what others are doing and so that I can start viewing for the poll. Not to mention I want to try some new ...
1
vote
2answers
282 views

How to stop bzr from using ssh (asking a password) for downloading?

I have configured bzr to push updates and now it's using ssh for downloading all the branches too. Is it possible to use ssh only for uploading?
0
votes
1answer
2k views

How to connect GTK3 button click events to callbacks

So, I'm developing my 1st app with GTK3 and I don't know how to link my buttons with their respective defs. Can anyone post a tutorial, an example or some docs? Using next things for developing my ...
2
votes
2answers
962 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 ...
2
votes
1answer
383 views

How do I access the preferences from my main dialog window? Also how do I add a new preference?

class PreferencesCalorieBurnerDialog(PreferencesDialog): __gtype_name__ = "PreferencesCalorieBurnerDialog" def finish_initializing(self, builder): # pylint: disable=E1002 """Set ...
2
votes
1answer
140 views

Java packaging and uploading to a PPA in Launchpad

I have a java application (created as a class) and I want to know how I can (or should I even) convert it to .deb format and then how to upload it to a Launchpad PPA so that everyone could install it? ...