Re: [Emc-developers] GladeVCP introspection

2016-10-13 Thread andy pugh
On 13 October 2016 at 07:40, W. Martinjak wrote: > Btw, posting an example/showcase would be very useful. It was quite a bit of effort to convert your example to GTK2 and a GtlBuilder style handler. And I am not seeing the required desired effect. https://filebin.net/5g508yqiw8p1guiy The aim is

Re: [Emc-developers] GladeVCP introspection

2016-10-13 Thread andy pugh
On 13 October 2016 at 07:40, W. Martinjak wrote: > getting the properties and connecting the signals to the appropriate widgets > is part of the user/developer. I have considered modifying Touchy, Axis, Gscreen and Gmoccapy to set the "visible" property for embedded dynamic tabs when their cont

Re: [Emc-developers] GladeVCP introspection

2016-10-12 Thread W. Martinjak
On 2016-10-13 03:15, Chris Morley wrote: > Unfortunately, I think you will find in GTK visibility refers to whether a > widget _should_ be displayed, > > not whether it _is_ displayed. H getting the properties and connecting the signals to the appropriate widgets is part of the user/deve

Re: [Emc-developers] GladeVCP introspection

2016-10-12 Thread Chris Morley
@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

Re: [Emc-developers] GladeVCP introspection

2016-10-12 Thread W. Martinjak
I've raped the Calculator example from here http://wiki.linuxcnc.org/cgi-bin/wiki.pl?GladeVCP_Custom_Widgets , "ported" it to PyGObject (gtk3) and added some "features" for showing the "notify::visible" functionality. https://github.com/tinkercnc/gladvcp-test Hope it helps. And for gtk2 maybe

Re: [Emc-developers] GladeVCP introspection

2016-10-12 Thread andy pugh
On 12 October 2016 at 19:24, W. Martinjak wrote: > The «visibility-notify-event» signal? For the Notebook object itself I see Xlib.protocol.request.QueryExtension event event event In sequence as the tab loads, and then nothing else afterwards. -- atp "A motorcycle is a bicycle with a p

Re: [Emc-developers] GladeVCP introspection

2016-10-12 Thread W. Martinjak
On 2016-10-12 19:10, andy pugh wrote: > There doesn't seem to be any event to trap that tells the GladeVCP > panel that it has been hidden. The «visibility-notify-event» signal? -- "In der Wissenschaft siegt nie eine neue Theorie, nur ihre Gegner sterben nach und nach" Max Planck -

[Emc-developers] GladeVCP introspection

2016-10-12 Thread andy pugh
Can anyone think of a way for a GladeVCP panel to know that it is currently visible and active? Background: I have a GladeVCP panel in Touchy. When it is visible I want it to act on the Touchy "Cycle Start" button, which already does different things (or nothing) in different tabs. However, neith