Hi Manuel,

On Wed, Nov 13, 2013 at 9:15 PM, <bidon12...@free.fr> wrote:

> Could you please tell me how to detect when a value <pane> is already
> opened
> so that I don't open a second one ? How would I give it focus ? I have seen
> the find-window word but I have not been able to do it.
>
you could store a reference in dynamic variable and use it to check if the
window still opened in your action. Depending on the behavior you want, you
can create a new dynamic scope for each "<sgui>" call, or set the dynamic
variable in the global scope. For example, store the gadget you create, and
call "find-world handle>>" to see if the window is still opened; if a
window is already opened, you can give it focus with
http://docs.factorcode.org/content/word-request-focus,ui.gadgets.html


> Another question : for app distribution, can all the factor internal
> goodies be
> turned off ( inspect, Prettyprint, etc ... ) ?
>
those things you get from right clicking on a object come from
http://docs.factorcode.org/content/article-ui-presentations.html
Looking at the implementation of object-operations, you can remove the
right click menu by setting the operations variable to f

And finally, is there somewhere a file explorer widget ?

I don't think there is one, although it is possible to do cross-platform
filesystem operations:
http://docs.factorcode.org/content/article-io.directories.html so making a
basic one shouldn't be too hard

Cheers,
Jon
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to