Tagged Questions
-1
votes
1answer
24 views
Do you could use python in ubuntu phone?
They will be able to create applications for the Ubuntu Phone with python language
0
votes
0answers
25 views
qucikly dependecies problem
I use quickly to develop an app. The thing is I wanted to use a library called BeautifulSoup which is found in Universe repository, under python-bs4 library.
So I did a quickly configure ...
1
vote
0answers
37 views
What's “Unity.LayoutHint” intended for?
I currently write my own lense in python (Ubuntu 13.4) using singlet. In the api documentation, there is a Unity.LayoutHint (View), which is used by Unity.PreviewAction (View). I don't see any change ...
0
votes
0answers
20 views
Adding a window to quickly app: turn a dialog into a window?
I am trying to add a window to me app, not a dialog. As I didn't find a way to do it straightforwardly, I thought of a possible solution: add a dialog, then turn it into a window. But when I do so, ...
0
votes
1answer
36 views
Problem with Quickly text input field
The Problem
I am using Quickly to try the mybrowser demo from the Ubuntu Website.
Everything goes well until I add a simple text field (for URL entry) in Glade, then, no warnings are issued but the ...
2
votes
1answer
98 views
Convertion of tiff image in Python script - OCR using tesseract
I want to convert a tiff image file to text document. My code perfectly as I expected to convert tiff images with usual font but its not working for french script font . My tiff image file contains ...
0
votes
1answer
74 views
Can I create an app for the Ubuntu Touch platform using PyQt?
Will I be able to create an app for the Ubuntu Touch platform targeted at phones and tablets using PyQt?
What are the options for writing apps for Ubuntu Touch using Python?
Thanks.
2
votes
1answer
100 views
Easiest way to add a GUI to a Python code?
I'm planning out a Raspberry Pi project, and I want to make it very easy to use. My dad will be using it, and I'd like for it to be usable without having to interact with the terminal. I just want a ...
0
votes
0answers
15 views
Spin button General properties in Glade arranged in a weird manner
Can you see in the properties you have to scroll all the way to the right to see whats on the buttons.
Is this a bug or can I edit this from somewhere, this only happens in spinbuttons and their ...
0
votes
1answer
56 views
How to set quickly to use python3 when creating new applications in Ubuntu 12.04
I'm just starting to learn python and use the standard set of tools in ubuntu 12.04 (quickly, glade, gedit).
When I do quickly create ubuntu-application foo the application uses python 2.7 by ...
0
votes
1answer
37 views
How can I add a pip based dependency to a Quickly project?
There is a great topic here about dependencies from ubuntu repositories. But my app depends on python package, which has to be install with sudo pip install package. Can I add this kind of dependency ...
0
votes
1answer
41 views
Quickly can't package, but raises no errors
I am trying to make a .deb package for my project in quickly. This is what I get:
ilya@ilya-laptop:~/Projects/online-translator$ quickly package
...........Ubuntu packaging created in debian/
...
0
votes
0answers
54 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 ...
-5
votes
1answer
67 views
why when i write url it dosent go to the site [closed]
I am using Quickly to make a browser application. However,when i write the url example:www.google.com , and press enter. it does not go to the site.
This is my Python program:
# -*- Mode: Python; ...
3
votes
1answer
35 views
Adding my own dependency to a quickly app
I have a paid app I'm getting ready to release on the software center but I need to add a package as a dependency. The problem is that I have to package the python module to a *deb and it is not ...
1
vote
1answer
61 views
how do you implement a progress bar using Python / glade web browser [closed]
im trying to get the progressbar in glade to work in conjunction with my web browser. What i want to happen is the progress bar shows how far along a page is being loaded.
I have scoured the ...
1
vote
0answers
47 views
Store cookies with WebKit (python)
So I was watching the "Create Your First Ubuntu App"-Video from Jono Bacon and got the idea, to create a simple app. That creates a window with a WebView und opens the URL to Google Keep.
Everything ...
0
votes
1answer
72 views
how do you add a home button and tabs to custom written web browser in ubuntu
how do you code in a home button for a web browser?
im creating a web browser in ubuntu for use in ubuntu. I am using a mix of Glade, Python, quickly, WebKit and WebView
i have got nearly ...
0
votes
1answer
17 views
from quickly.widgets import url_fetch_progressbar can not be found?
at the moment im creating a web browser using a mix of python and quickly(glade)
im trying to get the progress bar at the bottom of the page to work properly (with no luck atm)
i have inserted this ...
0
votes
1answer
102 views
Progress bar for python/ quickly web browser
i have been doing this web browser for roughly a day now, i have got the main look of the browser set up how i want it.
i have now decided to add a little progress bar at the bottom of the main ...
0
votes
1answer
82 views
How do you get the website title to show up in the menu area / webpage title are in python / quickly created web browser?
hi there im creating a web browser using a mix of quickly and Python, im wanting to get a websites title to show up in the very top of the page. im not sure of what code that i need adding to the ...
0
votes
1answer
94 views
ComboBoxText in Glade / GTK+3 / Python - disappears when displayed 2nd time
I'm trying to implement a drop down list in an Ubuntu app using Glade (GTK+3) and Python. I can get the ComboBoxText to display, populated with strings. However when I close the window it is contained ...
0
votes
1answer
23 views
Export Package [Eclipse]
I am just wondering how do I export a .deb package for Ubuntu Software Centre in Eclipse? I have created an application that runs Python and Webkit now I wish to submit to the Software centre. How do ...
2
votes
2answers
54 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 ...
2
votes
1answer
79 views
PyGTK TextBuffer adding Tags and reading text
As in topic I have TextView() and TextBuffer() added to it, I also have Tags created so when I select text and click button it will make text BOLD or something. Up to this point all works well, now I ...
1
vote
0answers
89 views
How to create an Ubuntu app using python and Qt4 designer
I recently started developing Ubuntu desktop apps using Quickly. But then I tried out the Qt4 designer and I feel more comfortable with it than Glade designer that Quickly uses. I liked developing ...
1
vote
1answer
28 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, ...
0
votes
2answers
70 views
Sample Application built with Quickly can't access Web
I am running Tutorial application example for Quickly ( I named App Smallbrowser). This is code from SmallbrowserWindow.py :
import gettext
from gettext import gettext as _
...
3
votes
1answer
3k views
How to use Qt Creator with Python?
I want to use Qt for developing Ubuntu desktop, phone and tablet applications but I don't want to learn a new programming language (C++, JavaScript). Is it possible to write Qt application in Python ...
1
vote
1answer
122 views
Detailed tutorial for Quickly and python for app development?
Where can I get a complete reference for ubuntu app development using Quickly and python? I saw the video at http://developer.ubuntu.com/get-started/ but that shows only how to use a text field and ...
1
vote
0answers
75 views
Ubuntu 12.10 - set alternating row colors in gtk3 TreeView
Ubuntu used to have alternating row colors for gtk TreeView widgets. Some applications still do, like Banshee. Alternating row colors would really help my application (written in python 2.7, and using ...
6
votes
2answers
153 views
Create a Gtk Window insensitive to Show Desktop and Won't show in Launcher
I want to make a Gtk.Window which is pinned to the Desktop and acts like a desktop widget. I've found that I can do this by setting self.set_type_hint(Gdk.WindowTypeHint.DESKTOP) which keeps it below ...
1
vote
1answer
70 views
How do I combine two toolbar buttons into one?
In my application toolbar, I have two toolbar buttons Travel Planner and Departures as shown below,
I need to change it this,
As you can see in the 2nd image, it seems that 1 button has 3 ...
2
votes
0answers
54 views
How to make Gtk spinbutton symbolic in 12.04 in only a specific application?
I am currently developing an application for Ubuntu 12.04 and Ubuntu 12.10 systems. My application is completely monochromatic except for the spinbuttons as seen in the screenshot below.
This issue ...
1
vote
1answer
116 views
Highlighting Gtk Entry fields on invalid input by user
I am creating a program using Python and Gtk. I want to guide the user by pointing out mistakes if any. I have attached a sample glade interface below. Here the user is supposed to enter a valid ...
2
votes
1answer
304 views
How can I install a Gsettings Schema without root privileges?
The typical workflow to install a Gsettings Schema is this:
Create a schema, with the extension .gschema.xml, with contents like this:
<?xml version="1.0" encoding="UTF-8"?>
...
6
votes
1answer
73 views
Can apps created using Quickly for Ubuntu be used in other linux distros?
I need to write a small program to update my mongodb. I'm currently on ubuntu but I need to use it on other linux distributions. I would just like to make sure that applications using this method:
...
2
votes
1answer
77 views
Screenlet behaves like it has no underlying window
I'm trying to write a screenlet from scratch following this guide http://www.ibm.com/developerworks/linux/library/l-script-linux-desktop-1/index.html.
I have created the Hello World! example but when ...
20
votes
4answers
2k views
Can I develop ubuntu for phones apps in Python?
Does anyone know if we can develop apps for ubuntu for phones in Python ?
PyQT / PySide would seem to support also QML. But can we use them on the phones ?
1
vote
1answer
100 views
Quickly ~ Web Application fails to opendatabase
I'm building a Quickly ~ HTML5 Application, it works great until I try to use WebSQL Storage, which fails to open a databse:
var db = openDatabase('mydb', '1.0', 'Test DB', 5 * 1024 * 1024);
giving ...
3
votes
2answers
175 views
PYGTK to PYGI: gtk.timeout_add equivalent
I have converted some Python code to use PYGI but I can't figure out how to convert this line:
gtk.timeout_add(PING_FREQUENCY * 1000, self.doWork)
To by clear, since I don't really know the ...
0
votes
1answer
82 views
Drawing tool in Python
I am trying to implement drawing concept like line,rectangle,pencil and brush tool in Gtk.Textview . Is it possible to draw into Gtk.textview?
Thanks in Advance...
1
vote
1answer
116 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 ...
2
votes
1answer
143 views
Write application indicator with no icon
I wrote an application indicator that displays information about my monthly network consumption.
I do not want it to have an icon next to the text I display.
How do I write an application indicator ...
1
vote
1answer
71 views
How do I capture the output of a command and put it in a label?
This is an extract from the code of a Quickly application I'm working on:
# Code for other initialization actions should be added here.
self.apachestart = self.builder.get_object("apachestart")
...
2
votes
1answer
195 views
Advantages & Disadvantages of Cairo, TKinter and Pygame in Python?
We are trying to develop a painting area with integrated tools to draw lines, circles, selection tool and trying to enhance the image manipulation process.
Is it possible do the things in text view ...
1
vote
1answer
65 views
How to run an action when clicking on an appindicator
I'm looking at writing a simple app indicator and I need it to update it's information whenever it's clicked on to open the menu. Is there any kind of on_click action thing?
Let me rephrase it then: ...
4
votes
2answers
73 views
Can I have a .desktop Launcher for both Python2 and Python3 depending on version installed?
After very few issues only I moved my application from Python2 to Python3 making sure it will still run with Python 2.7, and hence has python >= 2.7 as dependency only.
This was mainly done because ...
0
votes
1answer
564 views
How to create AppIndicator with Python?
I have no knowledge of Python, but because ubuntu recommends it i will use it for the appinidcator.. So i got these 2 files:
and the code of the .py file is:
#!/usr/bin/python
import appindicator
...
1
vote
1answer
144 views
Quickly Network commands in python
I am working on a program that mounts a windows shared network drive using quickly. So I sat up my GUI and everything.. But I don't know any python commands that mount a network place.. Usually when I ...



