[Gambas-user] DesktopWindow.Name; Unexpected result

Gianluigi bagonergi at ...626...
Sat Jun 17 20:05:24 CEST 2017


Hi Tobias,

I have Ubuntu with Unity but I trust in yours words :-)

Regards
Gianluigi

2017-06-17 14:50 GMT+02:00 Tobias Boege <taboege at ...626...>:

> On Sat, 17 Jun 2017, Gianluigi wrote:
> > 2017-06-17 13:51 GMT+02:00 adamnt42 at ...626... <adamnt42 at ...626...>:
> >
> > >
> > > Ah! Now I see where your confusion lies...
> > > 1) DesktopWindow.Name : "i.e. its title as specified by the application
> > > that owns this window."
> > > 2) DesktopWindow.VisibleName : " i.e. the window title as displayed by
> the
> > > window manager."
> > >
> > > The difference is subtle and not easy to find an example for, but it
> does
> > > happen I can assure you.
> > >
> >
> > OK, I'll take your word for it.
> >
>
> I can get something like this here easily by opening two konqueror windows
> and pointing them to the same directory (see screenshot). However, the
> properties of the DesktopWindow objects look like this:
>
>   $ ./konqueror-windows.gbs3
>   Name: var - Konqueror   VisibleName: var - Konqueror
>   Name: var - Konqueror   VisibleName:
>
> So, apparently this can happen, too.
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>



More information about the User mailing list