shelarcy | 13 Nov 2008 04:09
Picon
Gravatar

Re: Binding wxImage::Get/SetOption and InMemoryStream constructor

Hi Jules,

I added your function with some changes (e.g. rename functions and
use auto-generated haskell function instead of hardcode function)
in the darcs repositoy.

http://www.mail-archive.com/wxhaskell-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f <at> public.gmane.org/msg00304.html
http://www.mail-archive.com/wxhaskell-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f <at> public.gmane.org/msg00322.html

Please check these functions. If there is a bug in these functions, please
send us tiny example. Because I want to fix that before wxhaskell 0.11 release
when these functions have bug.

Best regards,

On Sat, 29 Mar 2008 20:04:55 +0900, Jules Bean <jules@...> wrote:
> So, I have successfully added some of the missing bindings that I needed.
>
> The code is so short that I embed it in this email. I'd be interested
> to hear any comments on the way I did this, and what you would want to
> change before committing it to wxhaskell.
>
> 1) Loading images from in-memory blocks
>
> Stub C++ file to bind to the appropriate wxImage constructor:
>
> #include "wx/wx.h"
> #include "wx/image.h"
> #include "wx/mstream.h"
>
(Continue reading)

Bernd Holzmüller | 18 Nov 2008 08:49
Picon

Missing functions

Hi all,

I noticed there are several functions in wxWidgets that are not mapped 
to wxHaskell (0.10.3). I need, e.g., notebookHitTest, 
textCtrlBeginSuppressUndo and textCtrlEndSuppressUndo.

To the wxHaskell developers: can I hope to see these functions in the 
next version?
Or is there an easy way to make these functions available in my 
application right now?

Thanks,
Bernd

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
shelarcy | 28 Nov 2008 04:51
Picon
Gravatar

Re: Missing functions

Hi, I'm sorry about my reply is late. I was busy current two weeks.

On Tue, 18 Nov 2008 16:49:43 +0900, Bernd Holzmüller <bernd.holzmueller <at> ics-ag.de> wrote:
> I noticed there are several functions in wxWidgets that are not mapped
> to wxHaskell (0.10.3). I need, e.g., notebookHitTest,
> textCtrlBeginSuppressUndo and textCtrlEndSuppressUndo.
>
> To the wxHaskell developers: can I hope to see these functions in the
> next version?

Please show your important functions list. If we can add them easily,
we'll add them before 0.11 release.

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. 

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. 

> 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 <at> lists.sourceforge.net/msg00450.html

(Continue reading)


Gmane