Questions tagged [gtk3]

The GIMP ToolKit (GTK+) in its version 3.x. GTK+ is a highly usable, feature-rich toolkit for creating graphical user interfaces (GUIs) that boasts cross platform compatibility and an easy to use API.

GTK+ is written in C, but has bindings to many other popular programming languages such as C++ (), Python (), and C# among others. GTK+ is licensed under the GNU LGPL 2.1, allowing development of both free and proprietary software with GTK+ without any license fees or royalties.

"GTK" stands for GIMP Tool Kit; it was originally developed to serve as the widget set for The GIMP, the GNU Image Manipulation Program. In the intervening years its usage has expanded greatly.

The latest version is GTK+ 3, released in January, 2011.

For questions not specifically regarding GTK 3, please use instead.

Reference documentation in C

Reference documentation in Python

3219 questions
38
votes
5 answers

How do you install GTK+ 3.0 on Windows?

Trying to setup GTK+ 3.0 on Codeblocks Win7. Having some trouble finding exactly how to do this. The GTK website directs you to msys2. It seems there was once a direct download on the GTK site for an all-in-one Windows bundle that is no longer…
NOP da CALL
  • 851
  • 2
  • 8
  • 15
37
votes
5 answers

Is there a gi.repository documentation for python?

I'm looking for a gi.repository module documentation and I can't find anything on the internet. All I found is documentation of new Gtk3 libraries for C, or old PyGtk 2.0 Reference Manual I'm looking for something like PyGtk 2.0 Reference Manual but…
Jan Vorcak
  • 19,261
  • 14
  • 54
  • 90
34
votes
1 answer

Capturing arrow keys with F# and Eto.Forms

Using F# and Eto.Forms on Linux, with the Gtk3 backend. EDIT: Adding updates to this google groups thread. My current best theory is that the way Eto adds keypress events to a widget in its Gtk backend does not let you capture events before a…
Martin DeMello
  • 11,876
  • 7
  • 49
  • 64
33
votes
3 answers

ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded

Running into this issue when working with Hugo and the AWS CLI on Ubuntu 18.04. ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored. This is a fresh install of Ubuntu…
CommandZ
  • 3,333
  • 1
  • 23
  • 28
29
votes
5 answers

Where can I download precompiled GTK+ 3 binaries or windows installer?

I have taken a look at GTK+3 and I like it. But unfortunately compiling from source has never worked for me. Is there any okace with decent binaries or even better, a windows installer?
ApprenticeHacker
  • 21,351
  • 27
  • 103
  • 153
28
votes
5 answers

GTK+ 3.0 and GNOME 3 Programming! Any Blog or Book or Tutorial?

I am new to gtk and gnome programming and like to study GTK+ 3.0 and Gnome 3 programming. Since both of these are recent APIs, I can't find a good tutorial or blog post about these topics. The books I found on GTK+ or GNOME programming are very old…
Jomoos
  • 12,823
  • 10
  • 55
  • 92
28
votes
2 answers

Can I make Eclipse on Ubuntu look more compact?

Possible Duplicate: Gigantic Tabs in Eclipse on Ubuntu Back when I was using Eclipse on Ubuntu 10.04 LTS, I found that the tabs and bars used a bit too much vertical spacing, which made the interface a bit too spacey for my taste. However, I…
Redsandro
  • 11,060
  • 13
  • 76
  • 106
28
votes
1 answer

Webkit browser's inspector is missing a few things

I'm using a Webkit browser inspector like this. When I run it in Ubuntu 12.10, I'm getting errors when using the inspector. For example: ** Message: console message: file:///usr/share/webkitgtk-1.0/webinspector/UIString.js @42: Localized string "Go…
NoBugs
  • 9,310
  • 13
  • 80
  • 146
26
votes
3 answers

GTK+ 3 StatusIcon replacement

I want my GTK application to have a status icon in the system tray, I have got this working quite nicely using a StatusIcon, however this has been deprecated: gtk_status_icon_new has been deprecated since version 3.14 and should not be used in…
Tomha
  • 847
  • 2
  • 8
  • 16
26
votes
5 answers

PyGObject GTK+ 3 - Documentation?

PyGObject appears to have no real documentation. This tutorial is as close as it gets. I've been struggling all morning simply trying to find a description of the arguments accepted by the Gtk.Window constructor. It seems I can't do much reflection…
HOLOGRAPHICpizza
  • 975
  • 1
  • 9
  • 14
24
votes
1 answer

Is there a way to have an OpenGL context inside a GTK3 application?

I had a look at GtkGlExt, but it's only for GTK2. Unfortunately, after some hours of searching, it seems that no one take care of having something like an OpenGLDrawingArea… Any information will be welcomed. Even if it's like "it's not possible for…
Adrien Clerc
  • 2,636
  • 1
  • 21
  • 26
24
votes
3 answers

How to bind a text domain to a local folder for gettext under GTK3

With gettext you can either use the default system-wide locale directory, or specify one yourself using bindtextdomain. This is useful when running a program directly from source when the compiled .mo translation files are not available in the…
Emilien
  • 2,971
  • 2
  • 22
  • 32
22
votes
4 answers

How to distribute a GTK+ application on Windows?

I have installed GTK+ (specifically GTK3) via MSYS and MinGW on Windows. I now want to copy the GTK+ dlls to my application directory so that it can be run on a computer without a global GTK+ installation. Which dlls are required for GTK+ to…
bradrn
  • 8,337
  • 2
  • 22
  • 51
21
votes
2 answers

How does one add an item to GTK's "recently used" file list from Python?

I'm trying to add to the "recently used" files list from Python 3 on Ubuntu. I am able to successfully read the recently used file list like this: from gi.repository import Gtk recent_mgr = Gtk.RecentManager.get_default() for item in…
Laurence Gonsalves
  • 137,896
  • 35
  • 246
  • 299
21
votes
1 answer

how to set a specific css class to a widget in gtk3? (c)

I'm trying css in gtk3 and I don't understand how to use specific class. C code: provider = gtk_css_provider_new(); display = gdk_display_get_default(); screen = gdk_display_get_default_screen (display); gtk_style_context_add_provider_for_screen…
Marco Rossi
  • 671
  • 1
  • 7
  • 14
1
2 3
99 100