Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Mon, Aug 20, 2012 at 6:03 PM, Caolán McNamara <caolanm@redhat.com> wrote:
Making a bit of progress in widget layout.

[*] maybe the cast-happy syntax looks a bit vile. Perhaps a bit family
of get_foos_by_name, or a get_by_name<T> template instead ?


How about get_VclContainer, get_CheckBox, etc ?
It's a library class, so it's supposed to make the client code easier
to use, even at the cost of introducing some extra weight into itself.
And it's not like there are lots of different ways of extracting the
widgets, so the "by_name" is unnecessary IMNSHO :-)

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.