Questions about the GTK+ graphical user interface toolkit. The Gnome desktop uses GTK+.

learn more… | top users | synonyms

0
votes
1answer
810 views

Synaptic Package Manager looking bad under Gnome Shell [Ubuntu 12.04]

This is my first question and I really hope that is has not been answered anywhere, as I could not find it during the search I performed. I am working under Ubuntu 12.04 LTS and Gnome Shell (Gnome ...
8
votes
1answer
238 views

Why does Radiance have GtkLabel while Ambiance doesn't?

I was looking at the gtk-widgets.css files in Ambiance and Radiance (/usr/share/themes/theme_name/gtk-3.0/) after the recent light-themes update. One difference I noted in the section titled notebook ...
0
votes
2answers
326 views

Is there a GTK media player that can synchronize ID3 tags with directory structure?

I'm looking for a GTK media player which will keep the ID3 tags of my tracks synchronised with my library directory structure. That is, when I change the artist tag of a track from X to Y I'd like the ...
12
votes
1answer
3k views

What can be done to make Wine look more integrated into Unity?

Wine looks like an alien that says "Hello, I am definitely not part of your desktop environment". Many wine applications have no icons and wine itself runs on the ugly-looking windows 95 theme. Is ...
1
vote
2answers
57 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
3answers
3k views

How to install GTK+ “clearlooks” and “murrine” to fix this problem on Ubuntu with MATE?

This message says that the theme will not work correctly until I install the GTK+ "Clearlooks" And this another message says that the theme will not work correctly until I install the GTK+ ...
1
vote
2answers
457 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
167 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 ...
3
votes
1answer
904 views

How to reset my gtk theme's defaults?

I was trying to change the scrollbar's color's or contrast to make it more easily noticeable but after using this question's answers I got this effect on my windows this is my ...
1
vote
0answers
144 views

Ubuntu radial gradient desktop background [closed]

Is it possible to add radial gradient to the list of possible background gradients in Ubuntu 12.04?
1
vote
1answer
317 views

How can I edit the color of this button using a GTK theme?

Here is a screenshot of my current theme--Everything works but two things. Edit: I deleted the picture--Thunderbird had information that was probably not best to show online. Basically, the interface ...
3
votes
3answers
1k views

How can I create a GTK theme from a list of parameters?

It's a little difficult to find a good title for this... =/ Using dconf, I was able to edit the "gtk-color-scheme" in org -> gnome -> desktop -> interface. Using this, I was able to edit the ...
0
votes
1answer
6k views

Installing GTK dev environment with aptitude

I'm trying to install the GTK development environment on Ubuntu, and having difficulty simply get it installed. Basically, my goal is to simply compile a C file which includes the header file ...
0
votes
1answer
134 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 ...
1
vote
1answer
432 views

GTK2.0 Theme problem with button foreground

I have noticed that i can only change the foreground color of a gtk2.0 theme button with the "default" style. I did it like: style "default" { fg[NORMAL] = "#000000" fg[PRELIGHT] ...
3
votes
2answers
311 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
953 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 ...
1
vote
1answer
492 views

How to get the default theme using python “Gtk” (not “gtk”)?

When writing a lens for Unity in python I got stuck at replacing "import gtk" with "from gi.repository import Gtk" because I can't find the equivalence for the funcion: gtk.icon_theme_get_default(). ...
0
votes
1answer
972 views

Load and show an image from the web in Python with Gtk 3?

I'm writing an app on Ubuntu 12.04 with Python and GTK 3. The problem I have is that I can't figure out how I should do to show a Gtk.Image in my app with an image file from the web. This is as far ...
0
votes
1answer
89 views

I just downloaded webkitGTK using svn and I am not sure what to do next

here https://live.gnome.org/WebKitGtk/ it says to Run the following commands to configure and build WebKit (choosing an appropriate prefix): ./autogen.sh --prefix=/usr make but I am not sure what ...
5
votes
3answers
704 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
259 views

Undefined reference to gdk function

I have a gtk program in which I am trying to call a gdk function. I have the following include files: #include <gtk/gtk.h> #include <gdk/gdk.h> and am compiling with the following: gcc ...
0
votes
1answer
404 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
1answer
107 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: ...
3
votes
2answers
309 views

How do I find out if a program uses GTK 2 or 3?

Thinking of trying to tweak a theme to get Inkscape more compact. Was wondering if there was a way to tell which version of GTK+ it uses?
0
votes
1answer
2k views

GTK Fonts too large with openbox

I am having a problem with the default font sizes for GTK apps in openbox being too large. I do not quite understand how to fix the issue. They do not follow the settings set from within un or from ...
2
votes
3answers
1k 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 ...
0
votes
1answer
50 views

Dynamic editing and running quickly apps

Is there a possibility of viewing the app changes dynamically as i edit the code or the interface(in glade). I want to basically edit and view the changes in the app on the fly, without restarting ...
4
votes
1answer
5k 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
154 views

No longer running a gnome-session; how do I get the nice GTK theme back?

I changed my desktop environment (I forget exactly how) to remove the gnome panels and instead I'm using xmonad and xmobar and just terminal windows and so on. It seems I'm no longer running in a ...
1
vote
1answer
31 views

How can i fix the GTK hightlighted contex menues problems?

Here's a screenshot of the trouble I'm experiencing.
8
votes
3answers
2k views

What app tests all of GTK's UI elements?

I've seen it in screenshots before. What application provides a window that contains all of GTK's UI elements? I need an answer applicable to GTK+2 and GTK+3.
0
votes
1answer
226 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
88 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
139 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
118 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
166 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
882 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
119 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
330 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
135 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 ...
1
vote
1answer
167 views

Quickly message box

How to make message like this using Quickly
0
votes
1answer
34 views

PyGtk: Scrolllist with Entry, can I set an Id

I have a scroll list on my window that I am going to insert 2 entry for each row, I am trying to understand how I can catch the entry that has been changed and update my array with this value. I will ...
0
votes
1answer
152 views

How to add multiple pages which can be switched on press of a button in pyGTK using quickly?

I am building my first app using quickly, pyGTK and python. I am confused how to add multiple pages to the same window and how to switch between multiple windows on click of button ? In visual studio ...
2
votes
2answers
583 views

Trying to create a GtkTreeView from Python, doesn't seem to work

I'm writing an app using Gtk/PyGI, and I need to create a sidebar with a Nautilus-like tree. However, Gtk refuses to cooperate with me. I tried both with Glade and GtkBuilder (creating the ...
0
votes
1answer
179 views

Path to gettext locales directory

I want add locales support to my python app, but I have problem with path to directory with translates. Defualt is /usr/share/locale, but what is recommended method to define it? Writing path in ...
1
vote
2answers
870 views

Make new instance of main window, python gtk

I am fairly new to python and gtk and I am writing an app for the Ubuntu App Showdown using Quickly. I want to make a new instance of the main window when the user clicks on 'New'. I have the button ...
3
votes
2answers
323 views

How do I stop a container box from expanding horizontally in Glade?

Currently, when my button's label gets more characters, its container boxes resize horizontally, and push away the other containers next to it. I don't want this behaviour. How do I give my boxes a ...
2
votes
1answer
900 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 ...