3
votes
1answer
25 views

Finding Mouse click position in IconView in GTK

I am building a file browser using Gtk.IconView in python. I am trying to find the path of an icon selected using " selection-changed" signal using gtk.IconView.get_path_at_pos(x,y). The docs are mum ...
0
votes
1answer
24 views

Can I use GTK+ stock icons in a free closed source business application?

If so, have I to indicate anything in license (classical "About" window)?
0
votes
1answer
42 views

How to change window opacity dynamically in Python and Quickly?

The app is written in HTML and is running using webkit and Quickly. The opacity can be changed using Glade. I want to add a slider functionality in HTML which will change the title of the HTML ...
2
votes
1answer
53 views

Problem embedding a pylab Figure in a Gtk application using quickly

I am currently trying to build a simple app that includes some pylab figures. I just started to use quickly and I am concerned about some import issues. That is, none of the matplotlib backends will ...
2
votes
1answer
64 views

Text justification in gtk.MenuItem

I'm writing an appindicator python script for my Gnome panel (under Ubuntu 12.10, English as the system-wide language) with a gtk.Menu, containing MenuItem's with Hebrew labels. The text is correctly ...
0
votes
1answer
211 views

Set Window Icon to Gtk Stock Icon in PyGtk

I am trying to add a Gtk stock icon to my window. Here is the code: #! /usr/bin/python from gi.repository import Gtk class MyWindow(Gtk.Window): def __init__(self): ...
0
votes
0answers
88 views

Quickly app not working on raspberry pi

I started developing an app using quickly which will target a raspberry pi board. I have created a single screen so far which contains a few buttons and labels. I run this on the board by doing a ...
5
votes
1answer
101 views

Is it possible to update the app indicator from code?

I use ruby-libappindicator bindings to manage ubuntu application indicators. I want to indicate if port 3000 is used by any application. Port checking isn't a problem but I also need to update the ...
0
votes
1answer
47 views

PyGtk Application Logo/Icon

I'm starting to develop some apps. I'm reading through python gtk documentation. It's all going fine but I have one question. How does Ubuntu find application logos? Like the one it displays in the ...
1
vote
1answer
331 views

How install GTK+ 3 for Python [closed]

I'm start programming in Python and I want learn GTK+ 3. I'm using a Distro based on Ubuntu 12.04 (Elementary OS) and I'm having some troubles to install GTK+ 3 in Python. Okay, I will show you what ...
0
votes
1answer
255 views

Gtk: Webkit WebView C++ (can't load url + awkward terminal output)

I am trying to include a webkit webview within my c++ application. My project uses Glade ui, and I embedded webview into a scrolled window. What I do not understand at all is this awkward output + ...
1
vote
1answer
190 views

GtkSourceView in Glade and C++

I try to develop a text editor in C++ and Gtkmm using Glade but I have a problem. When I try to run the program, I have the following message:"BuilderError: Invalid object type `GtkSourceView'". I ...
2
votes
1answer
470 views

How to control gnome-terminal from Python scrypt?

I am developing an application in PyGtk, and would like to launch a gnome-terminal and output commands to it. My user should then be able to modify the command, or maybe ignore using the up arrow ... ...
0
votes
1answer
46 views

Glade GUI in Python 2.7 crashes

I created a simple program using a glade .xml file and it, whenever I run the program, it crashes! Here's the Python code: #!/usr/bin/env python import pygtk pygtk.require("2.0") import gtk class ...
1
vote
0answers
16 views

Editing the GtkNotebok's Default Popup Menu

I'd like to know if it's possible to append a menu item to the popup menu that appears by default on right-clicking a GtkNotebook's tab page. Thanks.
1
vote
1answer
402 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 ...
9
votes
4answers
581 views

What is the recommended widget toolkit for Ubuntu desktop?

As I understand it, Qt - C++ and QML - or HTML5 are recommended for writing Ubuntu for Phones applications. Also, correct me if I'm wrong, but Python is the preferred language for Ubuntu Desktop. ...
5
votes
1answer
596 views

QML/Qt Development path verses “Quickly” and Gtk

It seems like recently the path Ubuntu is moving towards is to have code developed with QML and Qt, and that appears to sync with their move to be able to target tablets, phones, TV devices and the ...
1
vote
1answer
53 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, ...
6
votes
2answers
400 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 ...
4
votes
1answer
527 views

Is GTK+ supported on Ubuntu for phones

I wondered if GTK UI library would be supported on Ubuntu phone and tablet ? I know the SDK for mobile encourage QML/QT but will it be still possible to develop apps for phones, and especially ...
3
votes
0answers
323 views

How do I get high resolution icons in Unity for my application without a .desktop file?

I am trying to fix a problem I found with a Java application. It has a too low res icon. After reading the source of it I modified it to have a bigger icon. SWT uses the gtk_window_set_icon() function ...
9
votes
1answer
494 views

Make sniqt recognize all tray abilities (or create a working indicator in Qt)

There is this old thread of mine: How do I create a working indicator with Qt/C++? where I was suggested to use the QSystemTray library for making a tray icon in Ubuntu for my application. Sniqt is a ...
3
votes
1answer
402 views

How to add a print dialog to an application

I'd like to add a print dialog to my Python + GTK app, and I believe there are at least two methods: The upstream GTK print dialog The CUPS print dialog I'm wondering which would be the ...
2
votes
1answer
289 views

Gtk Textview: Pango Letter Spacing

I am desperatly trying to find some working solution on how to modify the Letter Spacing in a GTK TextView. I am using python with GTK 3.6 -- It seems that the solution is to somehow use Pango, but I ...
1
vote
1answer
182 views

writing note taking app, save and load text with tags from textbuffer written in python and glade

I am writing a note taking app with python and glade. I've been searching the web for the how to save and retrieve textbuffer with tags from simple app made with python and glade. I would like to get ...
1
vote
2answers
546 views

How do I change GTK theme of my app in run time?

I recently noticed that monodevelop, can change GTK theme in runtime . How do I add it in my quickly app?
1
vote
0answers
93 views

Quickly Warning

Every time I run my application I receive these warning errors can anyone tell me what is causing them? $ quickly run /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: ...
1
vote
0answers
177 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
2answers
56 views

How to display a “What's new” dialog on every new version of my app

I'd like to be able to present a dialog that runs at the start of my application and shows the new features this new version implements. This dialog should only run once, and not be showed again ...
1
vote
2answers
431 views

Error accessing Gio.Gsettings on application made in quickly

I am trying to develop an application using the quickly/pygtk stack. I got my Gsettings schemas all set up in ~/app-name-here/data/glib-2.0/schemas/net.launchpad.app-name-here.gschema.xml correctly ...
4
votes
2answers
161 views

How to rename an application while developing with Quickly

I've been developing an application using PyGI and Quickly, and I now need to rename it. Is there any quick way to change all of the app name references in a Quickly application, or will I just need ...
0
votes
1answer
133 views

window creation issue Python Gtk via Quickly

I'm currently learning python and GTK so please forgive the noobish question, I have a program (created in quickly) that has two main windows, that is to say that depending on context one or the ...
3
votes
2answers
289 views

How can I programatically show/hide my app window with global shortcut key?

I'm writing a Notational Velocity clone for Gnome/Ubuntu using Quickly (PyGI) and I want to allow users to set a global shortcut key that will toggle the visibility of the app window when the app is ...
2
votes
1answer
787 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 ...
5
votes
3answers
531 views

How to show a window of an already active app when trying to open a new instance of that app

I know the question is a bit vague. I'll try to explain better below: My app (python/gtk) is mostly an indicator. Using this indicator you can choose to show/hide the main window. When I try to open ...
0
votes
1answer
104 views

How to use inputted text with quickly

I just need the code necessary to have my application assign the input from a text box to a variable after 'Enter' is pushed, and then use it to change a label. This is what I have for this problem: ...
2
votes
3answers
917 views

GtkFileChooserButton 'Select Folder' mode returns no path

I have added a GtkFileChooserButton to my app via Glade. It is set to folder selection mode. When the widget is clicked it shows a dropdown list of Nautilus bookmarks with an 'other' option in the ...
4
votes
1answer
4k views

Why can python3 not import gi.repository?

Python2 does not suffer the same problem. greg@greg-precise:~$ python3 Python 3.2.3 (default, May 3 2012, 15:51:42) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more ...
0
votes
1answer
209 views

WebKit.WebView - wrap content

Currently, I have my WebKit.WebView in a ScrolledWindow, because otherwise my window would resize to fir the content. In stead, I would like the content to adjust to the container. So text should ...
0
votes
1answer
81 views

Problem with 'insert_at_cursor' attribute

I made something, so after clicking a button, some text should appear in the TextView. Part of my code: def on_button1_clicked(self, builer): self.writetest = ...
1
vote
1answer
131 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
2k views

How to draw on mouse click in Gtk.DrawingArea using pygi

I am writing a small application using PyGI which will interactively draw a line on a Gtk.DrawingArea between mouse clicks. But I am unable to figure out how to draw using the cairo context at the ...
1
vote
1answer
105 views

GTK+ Custom Accelarator Groups

I have successfully manage to add an accelerator to a menu item with the gtk_widget_add_accelerator() function. What bothers me is how i can add a custom accelerator that widget.With the first ...
3
votes
1answer
153 views

Ambiance theme text stays black -

I have used Jono Bacons creating your first ubuntu application to discover how to theme toolbars using the ubuntu theme. I followed the exact same code and the program loads with a black toolbar, ...
0
votes
1answer
796 views

Glade Widget Color

I start to get familiar with glade and quickly but one thing I can't figure out. How can I set colors, e.g. background colors or label font colors? Can I do this in Glade or do I have to do it in ...
0
votes
1answer
111 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 ...
2
votes
1answer
305 views

Maximize and Minimize Buttons disabled on my Quickly application

I was editing some basic settings in my application window design in Quickly/ GTK when I noticed that when I ran my app there was only a close button, not a maximize or minimize button. I know this is ...
0
votes
1answer
131 views

Quickly Glade Button link to external program [closed]

this is my first post so forgive me for any errors. I am using Quickly to create a program. The problem I am having, is when I create the button, I am unable to set the command I wish to launch on the ...
0
votes
1answer
153 views

Quickly message box

How to make message like this using Quickly