ellipsize in wxStaticText (Re: wxStaticText GTK woes)

Francesco Montorsi f18m_cpp217828 at yahoo.it
Wed Jan 10 08:13:57 PST 2007


Vadim Zeitlin ha scritto:
> Wed, 10 Jan 2007 16:50:49 +0100 Francesco Montorsi <f18m_cpp217828 at yahoo.it> wrote:
> 
> FM> yes, but what if the programmer wants to show the string ellipsized
> FM> always at the end, even in LTR mode?
> 
>  Why would he want to do this?
The following may be a very dummy question: aren't the languages which use LTR 
layout read from left to right?

In that case, when showing a path in a wxStaticText the programmer may want to 
show to the user always the first part of the path because e.g. the user is 
interested in the volume and not to the complete path.

When in LTR I suppose the path "C:\a\b\c" gets mirrored ("c\b\a\:C") and thus if 
the programmer wants to show the first part he needs to use wxST_DOTS_START...

Francesco








More information about the wx-dev mailing list