Setting Window properties in Gtk3 (gi.repository) like Gdk.gdk.Window.property_change ?

What is the right way to set window properties in Gtk3, specifically
window manager hints (such as _NET_WM_STRUT_PARTIAL) ?

In GTK2, this was done using 'gdk_property_change'


This was changed to `_gdk_x11_window_change_property` in commit 166ff5e9
2010-12-17 00:00:01 (

However, the Gtk3 Python bindings don't mention it.

I managed to work around it using Xlib calls, but is this (or can it be)
supported in Python Gtk3 ?

Example Python code:

* Gtk2

* Gtk3

Coding for Gtk is new to me, so forgive me if I'm looking in the wrong


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]