Hi Guenther, The correct function will be windowCenterOnScreen win direction (windowCenterOnScreen :: Window a -> Int -> IO ()).
It's not presently wrapped, but will be in the darcs repo by the end of the day (UK time) as it's about a five line trivial change, so I'm pretty confident in making the prediction. Regards Jeremy On Thu, 10 Jun 2010 20:13 +0200, "Günther Schmidt" <gue.schm...@web.de> wrote: > Hi, > > what's the right code to center a top-level window on the screen? > > Günther > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > wxhaskell-users mailing list > wxhaskell-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > -- Jeremy O'Donoghue jeremy.odonog...@gmail.com ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users