Re: Multiple lines in statusbar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux