Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Show() in .usc
Re: Show() in .usc [message #31514 is a reply to message #31513] |
Tue, 08 March 2011 15:21 |
|
koldo wrote on Tue, 08 March 2011 14:01 | Hello all
I would like to use void Ctrl::Show(bool) method in layout designer. It would be necessary to change it to return Ctrl&.
What do you think?
|
Currently it returns void, right? I guess there should not be a problem if chaining is enabled. It should not break any existing code and it might make our life bit easier... IMHO it makes sense to have a possibility to hide a widget by default directly from layout editor
Just a note: If this change is made then also Hide() should return &Ctrl for consistency...
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Thu May 16 14:58:07 CEST 2024
Total time taken to generate the page: 0.02317 seconds
|