lxn / walk

A Windows GUI toolkit for the Go Programming Language
Other
6.79k stars 885 forks source link

any OnCreating Event for MainWindow? #704

Closed tky753 closed 3 years ago

tky753 commented 3 years ago

I want to set the start location for my MainWindow, now I call mw.SetBoundsPixels after Create(), but after Create() the window frame is already drawn, so is there any way to change window location before Create() finished?

lxn commented 3 years ago

With https://github.com/lxn/walk/commit/c606e16f74d2812ff49d6be7553de012a9ac6d73 you can now set some initial bounds.