PyGObject-Tutorial
PyGObject-Tutorial copied to clipboard
[21. Glade and Gtk.Builder] Lack of info about interaction between widgets
This page describes only how to direct signals from XML to Python code. There is a lack of description of other interaction types.
-
interface element 1
[ -->python code
?] -->interface element 2
Examples:- to turn off one GtkRadioButton when another GtkRadioButton is on
- to open GtkFileChooserNative by pressing GtkButton
-
[
interface element 1
--> ]python code
-->interface element 2
Example:- to run GtkSpinner when a certain part of Python code is being executed
If you can create a pull request with an example and some explanation, I'd be happy to merge it.
@sebp I'm a beginner in PyGObject and Glade, so I can hardly do it. Perhaps it will be interesting @BharatKalluri - author of cool tutorials on GTK interface development.