Hi,

On Sun, 30 Nov 2008 01:54:53 +0900, Bernd Holzmüller 
<bernd.holzmuel...@ics-ag.de> wrote:
> The function I would like to be added most is wxNotebook::HitTest, because
> otherwise I have no chance of knowing whether the user is over a specific tab.
> This is a precondition for displaying tab specific information (like file 
> path)
> when the user is over a tab.

I added notebookHitTest function and its flags, now.

http://www.mail-archive.com/wxhaskell-de...@lists.sourceforge.net/msg00356.html

But this is just thin wrapper. Because there is no higher-level interface
for *HitTest functions in wxHaskell now. I don't know what is the good design. 


> The other functions are wxRichTextCtrl::BeginSuppressUndo and 
> wxRichTextCtrl::EndSuppressUndo.
>
>> But some functions are not easy to support. I think BeginSuppressUndo
>> and EndSuppressUndo are wxRichTextBuffer class functions. wxHaskell doesn't
>> support support wxRichTextCtrl and wxRichTextBuffer currently, so we can't
>> support soonly.
> 
> I currently use wxRichtTextCtrl (calling function textCtrlRich) in my current
> application (to display colored text), so what do you mean with "wxHaskell 
> doesn't
> support wxRichTextCtrl currently"?

Yes.  textCtrlRich is not wxRichtTextCtrl now. This is just wrapper function of
creating wxTextCtrl class. So, wxHaskell doesn't support wxRichTextCtrl yet.

textCtrlRich :: Window a -> [Prop (TextCtrl ())] -> IO (TextCtrl ())
textCtrlRich parent props
  = textCtrlEx parent (wxTE_MULTILINE .+. wxTE_RICH2) props


Best Regards,

>  However, if these functions are difficult to implement, it is not *that* 
> important.
>
> http://docs.wxwidgets.org/stable/wx_wxrichtextbuffer.html#wxrichtextbufferbeginsuppressundo
>
>> I planed to add some classes support after 0.11 release, so please wait
>> next next version.
> 
> I am looking forward to it! I would love to have wxHaskell to support more
> functionality because I do implement quite a few things with wxHaskell in the
> mean time.
>
> 
>
> Or is there an easy way to make these functions available in my
> application right now?
> 
>> If you're using unix platform, you can add these function easily. See this 
>> thead.
>>
>> http://www.mail-archive.com/wxhaskell-users@lists.sourceforge.net/msg00450.html
>>
>> But I think you're using Windows platform, so you can't add functions easily.
> 
> You are right. I work on Windows most of the time. (But I chose wxHaskell to
> have applications work on both Windows and Linux).
>
> Many Thanks for your help!
>
> Best regards,
> Bernd
>
> P.S. I still had process termination problems after my last mail (the 
> wxProcess
> topic). I solved it by using runInteractiveProcess instead of
> runInteractiveCommand in Mads' solution.

-- 
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to