Re: Re: updated list of open /loaded guis

Dimitris Keletsekis <[email protected]> Tue, 23 Apr 2013 08:34:38 +0300
Newsgroups gmane.comp.windows.gui4cli
Message-ID <CAHiKg1VNUq1XNkLUpQBmxoD7f+ocNQVMJejpSNUiBS909nw+3g@mail.gmail.com>
Joseph,

See the SET GLOAD and SET GFREE commands.

Dimitris


On Fri, Apr 19, 2013 at 10:16 PM, jd <[email protected]> wrote:

> **
>
>
> Hello Dimitris
>
> Thanks, but that's what i was doing till now..
> The "problem" is that is not updated automatically as i see it in the
> Gui4CLi.gui 's Gui4Cli tree: Here, in this gui, when i load a new gui the
> new gui
> appears in the tree without me having to hit some button (Sameautomatic
> adaption when a gui is quitted).
>
> I don't see how this script detects that a Gui is loaded or quitted.
> Under AOS4 i did put a
> xNOTIFY env:Gui4CLI ON
> on the env:Gui4Cli folder.
>
> There is also no xTimer involved, in Gui4Cli.gui , so i guess the
> Gui4Cli.exe
> executable does the detection of a new loaded or quitted gui's and triggers
> the Gui4Cli.gui script .
>
> Is there a way to catch this trigger for my own gui which will have some of
> the functionality of Gui4Cli.gui ?
> Right now i have added a PULSE timer , but i don't like the interference
> when
> debugging.
>
> Thanks again for your time
>
> Joseph
>
>
> On 04/19/2013, you wrote:
>
> > Joseph,
> >
> > use gui #first
> > while $$gui.valid = 1
> > say "$$gui.name"
> > use gui #next
> > endwhile
> >
> > Dimitris
> >
> >
> >
> >
> >
> > On Fri, Apr 19, 2013 at 2:57 PM, jd_duch <[email protected]> wrote:
> >
> >> **
>
> >>
> >>
> >> Hi Dimitis
> >>
> >> Gui4Cli.gui is able to maintain an updated list of the loaded (or open?)
> >> guis. How?
> >> I looked into the doc & into the Gui4Cli.gui code, but it seems hidden
> >> in quite a complex gui.
> >> Could you give me some hint?
> >> Thanks in advance & sorry to have that much to ask
> >>
> >> Joseph
> >>
> >>
> >>
> Regards
>
>  
>