Jane wrote: > > i am a bit confused about the feature called hotspots. > any widget can be a hotspot which means "Center the window > under this widget" in fluid. which window? the window which > contains the hotspot? pop-ups? any window? what center? > the screens center? centered beneath the mousepointer?
The intention is that the window that has the hotspot (or the window that contains the widget that has the hotspot...) will be positioned under the cursor when the window is shown. I think maybe some WM's might try to move the cursor to the window too. That said, not all WM's will pay any attention at all... > why can i have multiple hotspots? what does it mean to have > more that one hotspot? Just because you *can* does not mean that you *should*. It's probably best if you try to ensure there is only one hotspot marked in each window. > i'd like to have a certain dialog to always appear centered > of my main window. This is probably best done by using the position() or equivalent methods to set where the dialog appears. > i'd like some other windows to always appear centered below > the mousepointer. This is the sort of thing the hotspot is emant to help with. > is that possible using hotspots? in a consistent way for > linux/windows/mac? how? It generally works OK and fairly consistently on OSX and win32. On *nix systems, it pretty much all depends on the WM you are using. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

