rodrigocfd / windigo

Windows API and GUI in idiomatic Go.
https://pkg.go.dev/github.com/rodrigocfd/windigo
MIT License
405 stars 22 forks source link

Documentation? #34

Closed mk360 closed 6 months ago

mk360 commented 7 months ago

Is there any documentation to use the library? I tried running the example and it worked (although...), and I'd like to build on top of it. But I can't seem to find any documentation anywhere. For example, I wanted to make my window draggable, but can't find out how to do that 😅

Also, is there a way to catch runtime errors (in the console for example)? The window seems to freeze after just one interaction.

rodrigocfd commented 6 months ago

Is there any documentation to use the library? I tried running the example and it worked (although...), and I'd like to build on top of it. But I can't seem to find any documentation anywhere. For example, I wanted to make my window draggable, but can't find out how to do that

It's a layer over the Win32 API, so just follow the documentation of the Win32 functions you're calling.

Also, is there a way to catch runtime errors (in the console for example)? The window seems to freeze after just one interaction.

You'll have to catch each error that interests you.