Frage

I want to use the new GTKListBox and GTKListBoxRow used by Gnome in their Control Center using python 3 and gobject.

Here's a picture of the widgets I'm talking about:

Gnome Control Center GTK List Box

Looking the code I figured it out that the widgets were that ones, but maybe I'm mistaken.

Any way I could use them?

Thanks

War es hilfreich?

Lösung

They're just normal GtkWidgets so you shouldn't have a problem using them. However they are new in Gtk 3.10 which will have a stable release towards the 23 September. In the mean time you can build it from the git sources or if you're lucky your distribution might have some development packages (e.g. arch linux has the gtk3-git in the aur) If you decide to build it yourself I'd recommend using jhbuild as once you've set it up it makes it easy to stay up to date with the latest git changes. The documentation for the development version of gtk is available online

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top