making NavigationPage back button tap-able

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

making NavigationPage back button tap-able

Kenneth Tilton-3
The qooxdoo mobile hello world example uses the back button on the second ("Overview") page, and it responds either to a click or to the backspace key. So far so good.

I am developing a ClojureScript library that sits on top of qx.mobilde, and it is coming alon great. I just got most of the helloworld example working, except back key is not clickable. (backspace key works fine).

A big difference is that I did not create a custom class for the Overview page, I just instantiated NavigationPage and customized it as per the the stuff in the Overview class of helloworld.

That means I had to leave out the override of the internal _back member function:

    // overridden
    _back : function(triggeredByKeyEvent)

I must say I do not see how that makes the back button clickable, but it is the only difference I can see.

I saw the API offers a getTitleWidget and got my hopes up, but there is no getBackButton. If so I could add a "tap" listener and be good to go. 

Of course I could modify the source and do it that way, but I suspect I am missing something. Perhaps if I actually deployed instead of testing in a browser it would tap fine?


What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports.;132659582;e
qooxdoo-devel mailing list
[hidden email]