mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[GH-ISSUE #74] error: no member named 'SetFont' in 'MyCtrl' in GUI Tutorial Gui21 #45
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @erusyd on GitHub (May 5, 2022).
Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/74
In GUI Tutorial Gui21, when I right click to add "User class", the default widget properties are as follows:
If I set "SetFont()" and "SetInk()" in Gui21.lay like this:
It compiles with error:
I have to remove "SetFont()" and "SetInk()" in Gui21.lay to get it compiled.
So what are they for of these widget properties?
@mirek-fidler commented on GitHub (May 7, 2022):
Well, it is sort of gray area, these are leftover from normal widgets, the idea being that either your widget knows them or you leave them unused.
Should I try to remove them?
@erusyd commented on GitHub (May 8, 2022):
OK. Maybe the gray area is not prominent. I think we can simply remove them or set them read-only if we can't use them. They are misleading as these properties are editable.
@mirek-fidler commented on GitHub (May 14, 2022):
Done.