U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
Bar::Item - adding 'Get' function(s)?
https://www.ultimatepp.org/forums/index.php?t=rview&goto=49060&th=10187#msg_49060
else desired info has to be passed in some way(duplicated)]]>luoganda2017-12-10T16:29:55-00:00Re: Bar::Item - adding 'Get' function(s)?
https://www.ultimatepp.org/forums/index.php?t=rview&goto=49367&th=10187#msg_49367
mirek2018-01-31T18:35:56-00:00Re: Bar::Item - adding 'Get' function(s)?
https://www.ultimatepp.org/forums/index.php?t=rview&goto=49395&th=10187#msg_49395
this is more or less to get info for custom usage, bypassing Help,Tip etc,
not that it can't be done, but it's not straightforward,
data(f.e. text)hasToBeDuplicated if custom info is desired.
What sort of info?
all of it would be neat - but for example 'text':
there is a Bar::Item,
then forExample there is ToolButton::text which is set by the Bar::Item overridenFuncs
ToolButton::text is protected, it could be accessed with subclassing,
but then again in ToolBar it's defined as Array<ToolButton> item;, so it can't be accessed with subclassing anyway
It's similar for Menu bars.
...ahh, there is one thing i overlooked for possible solution,
subclassing Bar::Item itself and using that wherever possible - but then again - data
duplication would probably be needed, but at least similar data - when access to it(if desired) - would be in same place]]>luoganda2018-02-03T13:46:16-00:00