Unfortunately, I think you will find in GTK visibility refers to whether a
widget _should_ be displayed,
not whether it _is_ displayed.
I tried that signal on my test - no go. [☹]
Chris M
________________________________
From: W. Martinjak <mats...@play-pla.net>
Sent: October 12, 2016 11:38 PM
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] GladeVCP introspection
I've raped the Calculator example from here
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?GladeVCP_Custom_Widgets
LinuxCNC Documentation Wiki: GladeVCP Custom
Widgets<http://wiki.linuxcnc.org/cgi-bin/wiki.pl?GladeVCP_Custom_Widgets>
wiki.linuxcnc.org
Here we attempt to describe how to build a custom glade widget using python.
Note i am not a programmer by trade, more of a hacker, so what I show you
works, but ...
, "ported" it to PyGObject (gtk3) and added some "features" for showing the
"notify::visible" functionality.
https://github.com/tinkercnc/gladvcp-test
[https://avatars0.githubusercontent.com/u/5290721?v=3&s=400]<https://github.com/tinkercnc/gladvcp-test>
tinkercnc/gladvcp-test<https://github.com/tinkercnc/gladvcp-test>
github.com
gladvcp-test
Hope it helps.
And for gtk2 maybe this helps
http://stackoverflow.com/questions/1667525/visibility-notify-event-in-pygtk
python - Visibility_notify event in pyGTK - Stack
Overflow<http://stackoverflow.com/questions/1667525/visibility-notify-event-in-pygtk>
stackoverflow.com
I am on windows and I am developing a pygtk app. I need to know when a window
is visible or hidden by another window. In order to stop an heavy drawing
process.
--
"In der Wissenschaft siegt nie eine neue Theorie,
nur ihre Gegner sterben nach und nach"
Max Planck
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
Emc-developers Info Page -
SourceForge<https://lists.sourceforge.net/lists/listinfo/emc-developers>
lists.sourceforge.net
The Enhanced Machine Controller (EMC) is a CNC machine controller that runs on
Linux and is available under the terms of the GNU General Public License.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers