On Thu, Sep 12, 2013 at 2:25 PM, Tim Peeters <tim.peet...@canonical.com>wrote:
> > > ---------- Forwarded message ---------- > From: Tim Peeters <tim.peet...@canonical.com> > Date: Thu, Sep 12, 2013 at 2:07 PM > Subject: Re: [Ubuntu-touch-coreapps] Upcoming UI Toolkit Panel/Toolbar API > changes > To: Leo Arias <leo.ar...@canonical.com> > > > Leo is right here for the toolbar, which we promote to use. But for some > specific applications such as the webbrowser-app, currently the Panel > component is used instead of the Toolbar because it is (or was) more > flexible. There are no emulators for the Panel, so that can still be an > issue. > I have worked around the lack of a Panel emulator in the browser tests in the following way: from ubuntuuitoolkit import emulators as uitk class Panel(uitk.Toolbar): pass class Browser(uitk.MainView): def get_toolbar(self): return self.select_single(Panel) […] Not ideal, but rather elegant and non intrusive, and it allows me to use the standard emulators methods to reveal the panel and click on buttons inside it. HTH, Olivier
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp