You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

adolf

Beginner

  • "adolf" started this thread

Posts: 2

Location: Ireland

Occupation: IT sector

  • Send private message

1

Tuesday, September 26th 2006, 10:30am

kdialog --progress new line

Hi,

I'm trying to figure out how to break lines in kdialog --progress dialog.

Example:
kdialog --progressbar "Line1 Line2 Line3" 10

creates dialog with Line1,2,3 in one line but

kdialog --progressbar "Line1\n Line2\n Line3" 10

does the same.

Anyway way to issue new line in this dialog?

Thanks in advance for reply.
Regards

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Tuesday, September 26th 2006, 1:17pm

RE: kdialog --progress new line

Just type newlines (i.e. press Enter) inside a non-terminated quote section:

Source code

1
2
3
$ kdialog --progressbar "Line 1
Line 2
Line 3" 10
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

adolf

Beginner

  • "adolf" started this thread

Posts: 2

Location: Ireland

Occupation: IT sector

  • Send private message

3

Saturday, September 30th 2006, 11:37pm

Ah cheers! Thanks a lot! Will give it a try.
Regards