Re: [Pharo-project] HostWindows rewrite
That is certainly possible. In fact, if the tools are available in both systems, have Morphic rescue a troubled native system too. However, all I am saying is that we should avoid both of the following: (1) native widgets are a joke and should never be used (2) native widgets are the answer to all problems for all time I do not (much) care whether the IDE is emulated or native. I **do** care that I can mix them up as needed in my own software. Case in point, I Dolphin, I do a lot of emulating for large grids, etc. Native and emulated both have their uses, and we should not do anything that clobbers either unless we gain a lot from it. Bill Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254 Email: bschwab@anest.ufl.edu Tel: (352) 273-6785 FAX: (352) 392-7029
siguctua@gmail.com 11/24/2008 2:25:58 PM >>> 2008/11/24 Bill Schwab <BSchwab@anest.ufl.edu>: I agree: it would be useful to control host windows in some way, whether as described below, or via Wx, etc. The native windows/controls have their uses, though they are not (IMHO) the panacea that many believe them to be. So, it would be very nice to be able to mix native and emulated GUI elements.
Bill
I just thought, that having multiple native windows can help great in debugging graphics (Morphic) code. Currently, if you got a bug in morphic code, there's a big chance in complete loss the display and no way to see anything or debug it. With multiple host windows, you can spawn a new host window with debugger, and then step through the drawing routines and see what is happening and how your code drawing things.
Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254
Email: bschwab@anest.ufl.edu Tel: (352) 273-6785 FAX: (352) 392-7029
antony.blakey@gmail.com 11/9/2008 4:35 PM >>>
On 09/11/2008, at 10:17 PM, Igor Stasenko wrote:
What you'll never see in new plugin: - native widgets support or any kind of dealing with native
widgets/
controls.
Notwithstanding this, IMO a really good feature would be the ability to create and manage native views within windows, where e.g. a Morph could be 'backed' by a native view. This feature alone is enough to later allow native controls (such as WebKit) to mix with 'light' controls with correct z-ordering/clipping/event handling etc.
Of course one could retrofit such a feature, but using native views from the start would encourage any Morphic mods (or other widget
set)
to use native views and hence be ready for better integration.
Antony Blakey -------------------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787
Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their
apparent
disinclination to do so. -- Douglas Adams
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (1)
-
Bill Schwab