I'm not quite familiar with GUI programming under windows. Is it
possible to port to UNIX-like system?
Yeah that was my thought too, why don't you try to have a generic
interface done, which doesn't have to expose everything from Windows,
but could also be implemented in Linux, MacOSX etc. ?
Also, maybe decompose the events as interfaces, you pattern
"btn.OnLBDown().Attach(onclick)" seems quite tedious and doesn't feel
like Go. Lastly, maybe find some way to output a proper .go file with
all the constants for the resources instead of 101. But this is if you
keep with the Windows resource system.
FWIW, this is a goal of my (highly-incomplete) gui library:
https://github.com/droundy/gui
I don't have so much time for working on this, and in fact I recently
scrapped the user-friendly API aspect pending a redesign, but I'd like
to move this together. I think, however, that the best way to
implement the generic API would be on top of nice APIs such as go-gtk
or gforms that implement precisely what is possible with the native
toolkits.
--
David Roundy
COM is becoming very important on Windows. All the new APIs in Vista
and 7
are mostly COM based. Windows 8 WinRT is also fully COM based.
So Go might need some COM friendliness in the future, when targeting
Windows.
CGO could support COM?! It's really a good news, I didn't aware of it
before, can you show me a demo? Many thanks!
On Thu, Sep 22, 2011 at 14:17, AllenDang <alle...@gmail.com> wrote:
> After four months intermittent development, I'm glad to announce my
> second project for Go -- gform. As it's name tells, an easy to use
> Windows GUI toolkit.
Thanks! This looks exactly like what I want for GUI programming under Windows.
I see that it is based on your w32 package. Was there ever an effort
to merge your "w32" to Alexander Neumann's "winapi"
(https://github.com/lxn/winapi)?
--Benny.