Re: Multiple lines in statusbar
- From: "Andrew E. Makeev" <andrew solvo ru>
- To: Egon Andersen <post talura dk>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: Multiple lines in statusbar
- Date: Fri, 29 Apr 2005 11:25:38 +0400
Egon Andersen wrote:
Hi,
I've sometime multiple lines of text in the statusbar.
Normally I achieve this by just inserting "\n" in the text-string.
This works fine on Linux, but recently I saw that on Windows I only
get a single line and the line-break are shown as the square fallback
character.
(I can't tell if it has ever been more than a 'one-liner' on windows.)
I find this behaviour a little strange as the same way of making
multiple lines works for e.g. labels on both Linux and Windows.
Linux is using just '\n' (LF = 0xA) character for end of line, but MS
Windows - '\r\n' (CR + LF = 0xD + 0xA) characters.
Guess, STL lib defines that in std::eol when you are using std::cout,
std::cerr output streams.
-andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]