We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to set an attribute on a widget using a tk.WidgetAttr but the key and value fields are not exported:
tk.WidgetAttr
key
value
atk/tk/widget_attr.go
Lines 10 to 13 in 069a392
Outside of the tk package, how is one supposed to create and use these widgets?
tk
This:
disabled := tk.WidgetAttr{"state", "disabled"}
gets this:
implicit assignment to unexported field key in struct literal of type tk.WidgetAttr
and this:
disabled := tk.WidgetAttr{key: "state", value: "disabled"}
unknown field key in struct literal of type tk.WidgetAttr
The text was updated successfully, but these errors were encountered:
PR here: #35
Sorry, something went wrong.
No branches or pull requests
I'm trying to set an attribute on a widget using a
tk.WidgetAttr
but thekey
andvalue
fields are not exported:atk/tk/widget_attr.go
Lines 10 to 13 in 069a392
Outside of the
tk
package, how is one supposed to create and use these widgets?This:
gets this:
and this:
gets this:
The text was updated successfully, but these errors were encountered: