GTK+3 is a graphical user interface toolkit.

learn more… | top users | synonyms

27
votes
5answers
9k views

Can I apply a different GTK3 theme from the main one to an individual application?

For example, can I keep Ambiance as main theme but assign elementary theme to elementary's app?
16
votes
3answers
5k views

How to fix GTK3 scrollbar behavior

I have removed the overlay scrollbars. How can I configure GTK3 scrollbar clicking behavior? GTK3 applications scrollbars behave strangely under Ubuntu 12.10 and 13.04. This also happens with Fedora ...
13
votes
3answers
5k views

How can I “diff” two files with Nautilus?

I have installed Meld and found out it's a great comparing tool. Unfortunately there is no integration with Nautilus 3.2. This means, I can't right click on files and select an option to open them in ...
10
votes
1answer
297 views

Can I theme the menubar to look different if a window is maximized?

I know you can theme the Unity menubar in GTK+3 using CSS, but is there a way to theme it differently depending on whether a window is maximized? This would be useful for e.g. themes where the ...
9
votes
3answers
7k views

Can gtk2 themes be converted to gtk3 themes?

I really don't like the stock gtk3 themes and have never found one I like. I do however have a few gtk2 themes I really like. Can these gtk2 themes be ported to gtk3 or made to work in 11.10?
9
votes
3answers
6k views

How do I theme the Nautilus background image?

I want to change the background image in the Nautilus file browser. My idea is to put my own style in the background. I'm using Ubuntu 11.10 and Nautilus is version 3. I know that I have to change ...
9
votes
2answers
828 views

How can I enable the GTK3 header bars on Ubuntu 16.04?

I want to see the applications like when running on Gnome 3 (with the buttons in the title bar): Instead of how I see them normally: I can achieve what I want by running these commands before ...
9
votes
3answers
677 views

GtkIconView doesn't automatically fill the space with icon when user resizes the window

In the Ubuntu Accomplishments project we are having a few unusual bugs: https://bugs.launchpad.net/bugs/986708 https://bugs.launchpad.net/bugs/974728 Namely that we have a window with a ...
9
votes
4answers
1k views

How do I disable mnemonics in GTK3?

In Natty Narwhal I used to do some nifty tricks with .gtkrc-2.0 to disable mnemonics (underlined menus) but now it's impossible. I assume in Oneiric Ocelot it will be something different because it ...
8
votes
3answers
2k views

How to create a sliding widget (GTK+, Quickly)

Recently I've seen this widget in Gedit: It appears when you press Ctrl + F. What I am interested is in how to get the sliding effect. Any suggestion will be appreciated.
8
votes
1answer
2k views

Hide Title Bar When Maximized in GNOME 3.16

In GNOME 3.14 and 3.12, I had a modification in metacity-theme-3.xml which basically hides the title bar from any window when it's maximized. I preferred this method to the Maximus Two extension ...
7
votes
2answers
10k views

How can I find out what ibus-daemon and ibus-ui-gtk3 are doing?

Occasionally my desktop slows down a lot. The mouse pointer moves slowly or not at all, my fan starts whirring, and the end is generally nigh. If I'm very patient normality usually restores itself, ...
7
votes
2answers
2k views

How do I open GTK Inspector?

I am using GTK.3.15. When attempting to open GTK Inspector using the Ctrl+Shift+I or Ctrl+Shift+D, nothing happens. Does not matter what application or widget I am using. Nothing happens and my ...
7
votes
1answer
935 views

How to update gtk-3.4 themes to the new gtk-3.6

Is it too complicated to achieve? if it's not could you tell me how, please. I have some basic knowledge about gtk and css. Also, is this going to continue happening each time gnome releases a new ...
7
votes
1answer
453 views

How do I theme the Sound Menu playback buttons? [closed]

In my GTK+2/3 theme I am making for Ubuntu 12.04 LTS, there's a very noticeable problem when it comes to the Sound Menu buttons - they are completely black with white icons: Obviously, this does ...
6
votes
3answers
4k views

How to add vte terminal widget in GTK3?

I'm trying to add vte widget in my application and the examples I've found use .fork_command() to execute a command in that widget. But according to http://developer.gnome.org/vte/0.26/VteTerminal....
6
votes
5answers
11k views

Are there any tweaks for fixing the appearance of Eclipse Juno on ubuntu?

As we have previously established ;-) running Eclipse on ubuntu is a bit disappointing on the UI side. Things are even worse now that Juno is out. Are there any tweaks specific to Gtk3 and Juno that ...
6
votes
1answer
6k views

Making Gtk.Window Transparent?

Here's my code and I simply cannot figure out why my top level window doesn't become transparent. xwininfo says that windows has 32 Bit depth. I am running Ubuntu 11.10 and if I call .set_opacity(.5) ...
6
votes
1answer
1k views

Mouse-scroll does not work in gedit [closed]

Since the update to 13.10 scrolling in Gedit does not work anymore. Anywhere else it does. It could be related with Bug #1240957 “Scrolling behaviour and window focus has changed a...” : Bugs : “gtk+...
6
votes
1answer
596 views

How can I resize the volume OSD in Gnome3 (Shell)?

How can I resize the volume OSD display to a more "sane" size? Currently it takes about 1/4th of my screen height. I may be shortsighted, but not that shortsighted. I checked my theme settings, but ...
5
votes
2answers
949 views

How to get rid of the background gradient of the inline GtkToolbar?

When you run the below code, it will show an inline toolbar in a window. Notice how the inline toolbar has a stand-out backbround. Is there a way to apply CSS to get rid of it and make blend with ...
5
votes
2answers
2k views

Will it be possible to use GTK3.2's HTML5 extension in 12.04?

Does anybody know whether or not it will be possible to use the GTK3.2's new HTML5-extension in Ubuntu 12.04? They announced that GNOME3.2 will be included, but will they build the GTK packages with ...
5
votes
2answers
2k 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 ...
5
votes
1answer
395 views

Remove black line from (15.04 - Vivid) Files/Nautilus sidebar

Is there a way to remove the black line from the sidebar of the latest Ubuntu? It sticks out and always causes me to lose focus when I'm working, because it stands out way too much compared to the ...
5
votes
1answer
595 views

Python/GTK3 app crashing on importing “indicate” (python-indicate)

I'm trying to integrate my Python/GTK3 app with Ubuntu's messaging menu and every time I try to import "indicate" (python-indicate) my app crashes, with the following traceback: /usr/lib/python2.7/...
5
votes
1answer
2k views

How to remove window decorations (title bars) from Ubuntu 14.04

I never used window decorations to maximize / minimize windows, but keyboard and mouse/keyboard shortcuts for all operations. In the good olde days, you could just disable and tweak the window ...
5
votes
1answer
564 views

Why debug packages don't include sources?

I was expecting that after installing the package libgtk-3-0-dbg I would get DDD to show the source code when stepping into gtk+, however I had to download the source package myself (from here) and ...
5
votes
1answer
1k views

How do I force a redraw using python in gtk3?

Apparently, in Gtk3 the 'expose' event/signal is replaced with the 'draw' signal. How do I force a redraw using python in Gtk3? I was not able to find any window invalidation function.
5
votes
1answer
537 views

Ubuntu 16.04 Gnome Conky does not work right

I downloaded and installed Ubuntu gnome 16.04 and I installed icon and theme and much. Finally I installed conky-manager but it doesn't work correct like this.
5
votes
1answer
2k 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?
5
votes
2answers
2k views

gtk3 theme not working

the theme I'm trying to install has three folders: metacity, gtk2 and gtk3 if i activate it using gnome-tweak-tool it wont work everything looks extremely ugly, not the way it's supposed to be ...
5
votes
3answers
11k views

How to change the background colour of a window?

Since 11.10 you can't change much in the appearance options, just the windows border styles but NOT the background colour like you could do it in Natty. For some odd reason as I upgraded to 11.10, it ...
5
votes
1answer
502 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 ...
5
votes
1answer
3k views

How do I get same scrollbar style for gtk-2.0 and gtk-3.0 apps?

Sorry for my English mistakes, I'm Spanish. I'm using Ubuntu 11.10 in a tablet. I've removed overlay-scrollbars and I have increased the scrollbars size to use them with fingers. In /usr/share/themes/...
5
votes
1answer
1k views

How to theme Nautilus' resize area/handle border?

I'd like to change the visual appearance of the marked resize border/areas in Nautilus: If I knew how those elements are named in GTK+, I'm sure I could find out what I'd need to add to /usr/share/...
4
votes
3answers
2k views

Evince 3.10 with menubar

I find that the 2 buttoms menu from the evince v3.10.0 are not really useful. Why did ubuntu NOT re add an menubar?. It would have been looking better in unity ! The unity top panel has enough ...
4
votes
1answer
8k views

GTK3 theme in KDE

I am using Kubuntu 12.04 and QtCurve widget style which does not support GTK3: How can apply a GNOME theme for GTK3 apps? I found an advice here: installed gnome-themes-standard and gnome-themes-...
4
votes
1answer
134 views

Correct handling of application URIs from Unity Dash

At some point, Unity changed the Uri type it returned when a drag-n-drop operation occurred of applications from the Unity Dash to a Gtk window in an app I wrote. In 13.04 (Unity 7.0), the data call ...
4
votes
1answer
2k views

When will Firefox have pixel-perfect scrolling in Ubuntu? [closed]

Last I rebooted into Win8 I saw Firefox had pixel-perfect scrolling - like Ubuntu has with Nautilus, gedit and some other apps. When will Firefox for Ubuntu have scrolling that doesn't act like mouse ...
4
votes
2answers
1k 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 ...
4
votes
1answer
972 views

Creating a Gtk window with input shape mask in python

I am trying to create a Gtk3 Window with a custom input mask, so that the window wouldn't receive any mouse clicks. This is a piece of code that I've came up with: surface = cairo.ImageSurface(cairo....
4
votes
1answer
2k views

Hide window title in gnome-shell using mutter, gdk, wnck or gtk

I'm after a way to: get list of all application windows currently open, as a Gdk or Gtk window remove window decorations for selected windows (maximised in my case). I'd like to do this using ...
4
votes
1answer
225 views

How do I change background entry color when renaming a file, folder etc.?

I've been trying lots of workarounds still I cannot find that specific code line for changing that background. I looked at solutions here and here but my problem appears to be slightly different ...
4
votes
1answer
6k views

How can I change GTK3 themes from XFCE or Openbox?

Running Ubuntu 12.10, the problem I'm having is that when running XFCE or Openbox as my desktop I cannot seem to switch the gtk theme away from the default Ambiance. I've tried gtk-theme-switch, ...
4
votes
1answer
2k views

How can I improve Eclipse's user Interface to get rid of the excessive padding and spacing?

Eclipse Juno (historical versions too) has too much padding applied to the tabs and borders. This makes it hard to work with multiple project folders, especially ones containing multiple packages and ...
4
votes
1answer
292 views

PyGObject: Gio.File.copy_async() doesn't exist in Ubuntu 12.04

According to GIO Reference Manual Gio.File has a methode copy_async. In Ubuntu 12.04 I'm getting an AttributeError when I try to call this method. What should I use instead to for asynchronous ...
4
votes
1answer
3k views

Reload Gtk+ 3.0 theme

I'm trying to customize my Gtk+3.0 theme, when I make a change in my theme, I change between two themes (with MyUnity) to force applications to reload the theme and test mine. But when I do that, the ...
4
votes
1answer
2k views

How to change the cursor to hourglass in a python gtk3 application

I've a function taking quite a long time to perform and I'm trying to change the cursor to an hour glass during the time the function is executed. But it only works the very first time the function is ...
4
votes
2answers
1k views

KEY.is_pressed() in gi.repository.Gdk?

I was wondering if anyone knew how to detect if a key is currently pressed with either Gtk or Gdk and python? I don't want to use the key-pressed or key-released event for this scenario, but rather ...
4
votes
1answer
287 views

How to create local GTK3 settings?

I have changed gtk-main.css of my current theme to get different tooltip colors. But this applies to all users. Is there a way to create local GTK3 settings just for a specific user? TIA Kibu