Tagged Questions

GTK+3 is a graphical user interface toolkit.

learn more… | top users | synonyms

0
votes
2answers
618 views

What is a desktop recorder with global shortcuts?

My OS is Ubuntu 12.04. I searched on google hundreds of times and I couldn't find any solution for desktop recorder software. There is the Kazam unstable version, but shortcut keys didn't work. I ...
2
votes
2answers
1k views

Question about GtkScrollbar class in custom themes

I very much like to use the Zukitwo theme as an alternative over the standard Ambiance theme, it is to my taste more easy on the eyes. However, the theme takes away the scrollbar arrows or ...
1
vote
1answer
1k views

Change Right-click menu background color

I'm using a modified Ambience theme (found in the Ambience-colors package, here: http://www.webupd8.org/2012/01/download-ambiance-and-radiance-themes.html ) and the right-click menus of the Ambiance ...
2
votes
1answer
6k views

How can I install GNOME or GTK+ 3.6 on Ubuntu 12.04?

Is it possible to install GNOME 3.6 or gtk+ 3.6 on Ubuntu 12.04? If yes, how? I want to write an application which uses GtkMenuButton. GtkMenuButton is a new widget introduced in GTK+ 3.6.
2
votes
2answers
868 views

Disable css warnings

Everytime I open a gtk application it outputs css warnings (lack of units assuming px etc). Can I disable this dreadful verbosity? example: $ gedit (gedit:19558): Gtk-WARNING **: Theme parsing ...
1
vote
0answers
247 views

Keybindings for individual letter keys (not modifier-combinations) on a GtkTextView widget (Gtk3 and PyGI)

I've been able to set several keybord shortcuts for a GtkTextView and a GtkTextEntry using the new css provider system. I'm finding, though, that I only seem to be able to establish keybindings for ...
1
vote
2answers
252 views

How can I edit the color of search bar in nautilus gtk3?

i want to change search bar in nautilus to purple but i don't know how this is my first theme still don't know my way around. here is a example
7
votes
1answer
837 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 ...
0
votes
1answer
320 views

python/gtk3 set modal window issue

i have an application that has two Gtk.Window's and one of them calls the another, but when using Gtk.Window.set_modal(True) it doesn't work, i still can interact with the main window... any help? ...
2
votes
0answers
303 views

How to use a different gtk (gtk3) theme for some applications?

I want to use a custom theme for Nautilus and for some other applications but I want to keep the generic theme for the rest of the applications and system. I know it can be done in gtk2. For ...
7
votes
1answer
361 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 ...
0
votes
1answer
224 views

Can I change the file icon with Gio? [duplicate]

Possible Duplicate: How can I change the folder icon? I'm using python. I want change a file icon with Gio from a python app. I found a lot of deprecated documentation and I'm not sure how ...
2
votes
1answer
69 views

How to a deb package without Quickly?

I am developing an app now, I'm using GSetting as my setting back-end, but I can't make my .gschema file installed while open the .deb file. I'm wandering if there is some simple guide for green ...
5
votes
2answers
693 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 ...
10
votes
1answer
279 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 ...
1
vote
2answers
2k views

How can I theme Synaptic Manager?

I use Lubuntu 12.04 and a gtk2 theme, Elegant Arch. With such a theme, gtk2 applications like Thunar will be themed, while others like Nautilus, would be not (see this question ant the images ...
8
votes
2answers
1k 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.
1
vote
1answer
351 views

How do I have my GTK+3 theme look different in certain applications?

If I want my GTK+3 theme that I'm writing to theme certain UI elements in some applications a bit differently than for most applications, how would I go about doing that? For example, I might have a ...
2
votes
1answer
1k views

BasiliskII in12.04

I'm trying to install Basilisk2 on 12.04. I converted the rpm from http://basilisk.cebix.net/#download to deb. Running it, however, gives me: BasiliskII: error while loading shared libraries: ...
1
vote
1answer
507 views

Fade out Label / Button / Status Bar with GTK

What is the easiest way to fade out and fade in elements in Python / GTK 3? Coming from webdevelopment, my initial take on this problem was to call c = widget.get_style_context(), ...
0
votes
2answers
130 views

GTK Recent Chooser Menu callback not working

I am currently very puzzled why something so simple fails so hard: This is the source code for a very very simple recent chooser menu, but it fails. My output is this: Display name: ...
2
votes
1answer
5k 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 ...
2
votes
1answer
556 views

How do I set a fallback for a GTK+ theme?

I was looking for a way to apply a custom GTK3 theme on a per application basis like can be done with GTK2 but it appears it can't be done as there are open questions here that have not been resolved. ...
0
votes
1answer
697 views

GTK3 and GTK2 themes checkbox

I have a good theme. But there is one disadvantage. I don't see if checkbox is checked or unchecked until I place mouse cursor above it. Can you tell me what I should change in the theme to be able ...
0
votes
2answers
336 views

Apply primary-toolbar background behind GtkEntry widget with GTK3

In PyGI (GTK3), how can I make a GtkEntry widget appear against the same background applied (by the user's theme) to the primary toolbar. I tried adding the same style class like this: ...
2
votes
1answer
225 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 ...
2
votes
1answer
2k views

How can I add cut/copy/paste functionality to my application?

I'm developing an Electoral Calculator (https://launchpad.net/electoralcalculator) using Python 2.7, Gtk+3 and Glade and I want to add cut/copy/paste functionality to my application. I want to give ...
1
vote
3answers
2k views

Python GTK 3 IDE

Just a Quick Question, to Check if there are any available IDE for Python GTK 3. IE: An IDE which give the programmer an auto complete feature with method Description Etc.
4
votes
5answers
7k 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
310 views

Python Gtk event ignore

I would like to ignore some key events in a text view, now i do the following def on_key_press_event(self,source,event): keyname = Gdk.keyval_name(event.keyval) if(keyname=="Return"): ...
2
votes
2answers
473 views

Quit application on Ctrl+C in Quickly framework

I found that when I run my application using "quickly run" and press Ctrl+c to kill it, the application does not quit. I am using Quickly 12.04. For GTK2 applications, I used def ...
0
votes
1answer
443 views

Gtk.MessageDialog window parameter problems

I'm in a deeply nested class (which inherits from Gtk.Box) and I need to get a reference to the GtkWindow I'm in to pass to a call to Gtk.MessageDialog() yet I cant seem to find a reference to it. I ...
2
votes
1answer
84 views

What are the default arguments for ClutterGst?

Hello everyone I am trying to make a simple video player using Gtk3 python & Gstreamer. I am also using Clutter,ClutterGtk & ClutterGst The problem arises when initialise the ClutterGst like: ...
2
votes
1answer
967 views

How do I implement a quit dialog in Gtk3?

I have almost finished my Ubuntu App Showdown app, but would like to make it somewhat more robust, upon application quit I iterate through the open files checking for unsaved files, if any are found I ...
0
votes
1answer
100 views

Which packing constant to use for set_child_packing() in Python

I want to change a child of a box's padding; so I am using set_child_packing on the box holding the child. I can't figure out what to use as the constant for for the pack_type. Using PACK_START from ...
4
votes
2answers
919 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 ...
5
votes
1answer
536 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.
4
votes
1answer
792 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?
1
vote
1answer
3k views

How to change GtkWidget background in GTK3?

I'm trying to use override_background_color on some GTK3 widgets but they still showing up with the default background color.
0
votes
1answer
196 views

Opening a Window within an already open window (Quickly/Glade)

I have a question regarding window and button implementation. If I have a toolbar set up, and I have a button on it, is it possible to get it to open a window right within the program? I mean like ...
2
votes
2answers
148 views

Why does GtkCalendar counts months from 0?

So I spent several hours in rage, figuring out why isn't my code writing to the /sys/class/rtc/rtc0/wakealarm correctly. The problem is that it doesn't return anything if the value is wrong. And ...
0
votes
1answer
129 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!
2
votes
1answer
194 views

Ready-to-use time and/or datetime selection widgets for GTK3?

I've checked hamster-applet, gnome-control-center datetime and gnome-schedule. They all define a different datetime selection composed from basic widgets. I'm surprised it wasn't made available as a ...
0
votes
1answer
416 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, ...
0
votes
1answer
116 views

What widget can I use to edit text and highlight parts of it?

Using the quickly ubuntu-application template (i.e. python and GTK3), what solutions exist to display a text editor in which I can highlight some parts of the text and add annotations/extra visuals at ...
1
vote
2answers
178 views

Problems related with spin buttons

So, I have an important problem related with spin buttons in Python/GTK3. I'm trying to create a spin button in my project, Virtuam, and it seems to work... but with a bug which blocks the +/- ...
3
votes
1answer
308 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
288 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 ...
1
vote
1answer
87 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?