-
Notifications
You must be signed in to change notification settings - Fork 887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using custom icons with MainWindow? #236
Comments
Never mind, I misunderstood what |
The SetIcon method on MainWindow lets you do this. |
I'm still having a hard time figuring this out. In #157 (comment), it says:
How do you find the correct resource id to load the icon? |
There is an old issue on the rsrc repo, please read the text below the code block: |
Thanks. Looks like the ID is printed out when using Also remember to create the MainWindow before calling SetIcon on it. Something like:
|
package main import (
) func main() {
} |
Apps appear to use the default system icon here:
walk/window.go
Line 334 in c5fab5f
Is it possible to specify a custom icon? I am already embedding one with rsrc/goversioninfo but its not being used.
The text was updated successfully, but these errors were encountered: