cogentcore / core

A free and open source framework for building powerful, fast, elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web with a single Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.75k stars 83 forks source link

Improve documentation for custom widgets and widget customization #1082

Open alvarolm opened 3 months ago

alvarolm commented 3 months ago

Describe the feature

I believe that proactively fomenting the users to write or customise their own widgets its a key feature(s) for usability and adoption of the framework, this would provide diversity of components over time and other benefits.

Beautiful work !

Relevant code

No response

kkoreilly commented 3 months ago

Yes, we have strong support for custom widgets and widget customization, and we are planning to write more documentation on that soon. For now, there is documentation on the advanced updating page.

kkoreilly commented 3 months ago

When I do this, I will also clean up the advanced updating page and maybe move some of it to other pages like an advanced plans page.

I will also add documentation for custom core.Value widgets and note that you need to use tree.Add* for adding children to them in their Init functions.