-
Notifications
You must be signed in to change notification settings - Fork 275
Closed
Description
I would like to implement tab (and some other widgets) but I need some guidance regarding library's code - everything is so composable that I have a feeling I will write duplicated code most of time time.
I have read the post and checked how button is implemented (array composite of 2 elements) but I still don't get many things:
- What is the purpose of
_basetypes? That is,proxyvsproxy_base,compositevscomposite_baseetc - Why do various elements are class templates and inherit from
typename Base? What's the benefit of doing this over just inheriting fromelement?- Are there any restrictions on the inheritance (eg
Basemust beelementor a type derived from it)?
- Are there any restrictions on the inheritance (eg
- I figured out that the
supportdirectory is a collection of helpers (implementation details etc) but what is the reliation ofelement/*toelement/gallery/*? Both directory trees containbuttonheader and source - their reliation/dependency is unclear to me. - What are some very good widget example implementations that I should look at when implementing other widgets (eg if I would like to implement radio box, I should surely check check box)?
Metadata
Metadata
Assignees
Labels
No labels