gtk-rs-core
gtk-rs-core copied to clipboard
Need to improve documentation around glib wrapper types
Or more generally, "How gtk memory management works."
The most relevant write up as of now is: glib_wrapper!
docs
The most important parts that are missing:
- What are the semantics of
Boxed
,Shared
andObject
wrappers- Which are the traits implemented by each wrapper.
- How is "inheritance" implemented using
glib_wrapper!
- Is it possible to derive a widget such as
DrawingArea
so as to add custom fields which can be accessed during event callbacks.
- Is it possible to derive a widget such as
- Motivation behind creating
*GlibPtr*
traits, and their behavior. - Details about thread-safety.
I greatly approve!