Top "Gtk3" questions

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.

ValueError: Namespace Gtk not available

When following the instructions 2. Getting Started — Python GTK+ 3 Tutorial 3.4 documentation Tries In [6]: import gi ...: gi.require_version('Gtk', '3.0') ...: …

linux python-3.x ubuntu gtk3 pygobject
Can't import Webkit from gi.repository

When I try to import Webkit from gi.repository, it gives an ImportError: from gi.repository import Webkit ERROR:root:…

python webkit importerror pygobject gtk3
How to get native windows decorations on GTK3 on Windows 7+ and MSYS2

I am trying to port my application from linux to windows and I have a problem with theming. In linux …

gtk gtk3 gtkmm msys2 gtkmm3
How to capture Enter key press in GtkEntry

I am trying to capture the Enter key when it is pressed in a GtkEntry. Most of the resources I …

gtk gtk3 gtkentry
How to draw a GdkPixbuf using GTK3 and PyGObject

I have a small application that uses a DrawingArea to draw a simple map using PyGObject and GTK3. I load …

python gtk3 pygobject
How to fix Invalid UTF-8 string passed to pango_layout_set_text()

I'm getting the following warning from my application that uses gtk+: (foo:11333): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_…

c gtk gtk3 pango
How to install GTK3 and minGW on Windows using MSYS2

I am a big fan of C and I just finished reading "C Programming Langauge 2nd Edition". I must admit …

windows gtk gtk3 msys2
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.…

linux ubuntu gtk3 hugo
How to disable buttons in GTK3

Windows API has a function called EnableWindow that disables controls so user can't interact with them any more. Is there …

c gtk gtk3 gtkmm
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 …

windows gtk gtk3 msys2