Hello Jeremy,
after some digging I found the function frameCenter.
Best regards
Günther
Sry, my spelling program had swaped the name of the function without me
noticing.
Am 11.06.10 09:19, schrieb Jeremy O'Donoghue:
> 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...@we...>
> 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
>> wxh...@li...
>> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
>>
|