I'm adding this to my Factor FAQ: Currently, Factor uses a cross-platform UI library written in Factor itself, using OpenGL and a small amount of native code on each platform. The listener uses this library. There is a Cocoa binding, which is used for the window frame and menu for Mac applications, though it could be used for other things. Similarly, for Unix, there is an X binding, and it has been used in a Factor window manager, Factory. On Windows, there is a binding to some parts of the Windows API through C, but not parts that create widgets. There aren't any bindings to wxWidgets or Gtk yet. Gtk bindings would be doable but somewhat challenging due to their heavy use of macros and complicated structs, and a SWIG binding could be helpful in implementing them. wxWidgets bindings would be impossible right now, as alien does not support C++'s name mangling.
On 10/29/07, Graeme Prentice <[EMAIL PROTECTED]> wrote: > > > What GUI interface capability does Factor have. > > It seems that it's not like e.g. wxWidgets where the same top level code > produces a more or less equivalent result in terms of listboxes, checkboxes, > treeviews etc. regardless of which platform you compile for - the same top > level code still works and geta translated to a native look and feel by thw > WxWidgets infrastructure. > > How does factor work? Do you have to redo all the user-level GUI generating > code for every platform you want it to run on? > i.e. to create a GUI app for Windows, I have to learn some Window API stuff, > or maybe try and bind to WTL and for Linux I have to learn X11 - is that > right? > > Thanks for any enlightenment. > Graeme > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
