LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-22-2009, 06:13 AM   #1
ravidangaych
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Rep: Reputation: 15
options of menu dialog box horizontally


I want options of menu dialog box horizontally .

Normally menu dialog box show options vertically
1 red
2 green
:
:
and so on


But I want like this

1 red 2 green ..... and so on

if anybody can help me
 
Old 06-23-2009, 03:12 PM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
And where do you want that? In your distro's menubar, in a application that you're using or in a program that you're writing, .......??
 
Old 06-24-2009, 01:42 AM   #3
ravidangaych
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Original Poster
Rep: Reputation: 15
Exclamation options of menu dialog horizontally

Sir has given me a projectin that he want

1 First option 2. SEcond option

as soon as first option is selected

internal options of First option get display on the same screen
 
Old 06-24-2009, 07:42 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
And the language is .....

For web based examples, I suggest that you search for dynamic html, javascript and menu; in any combination.

For other languages, I'm not able to help you.
 
Old 06-25-2009, 02:20 AM   #5
ravidangaych
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Original Poster
Rep: Reputation: 15
Question options of menu dialog box horizontally

I am making script using bash shell scripting

menu dialog box shows options vertically
1 . first option
2. second option
:
so on

But I want horizontally
1. first option 2. second option ... so on
 
Old 06-25-2009, 06:25 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Well, just print the optiosn in a single line...

If you are using some kind of braching to decide what options must be presented or something more complex you can just add -n to the echo command.

Quote:
-n do not output the trailing newline
 
Old 06-26-2009, 05:22 AM   #7
ravidangaych
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Original Poster
Rep: Reputation: 15
Exclamation options of menudialog horizontally

dialog --menu "select" 10 30 3 `echo -n " 1 red 2 green 3 yellow"`


giving opions vertically

not horizontally
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print dialog options in Fedora Core 8 Vanyel Linux - Desktop 0 03-06-2008 04:43 PM
How Do I get black box to load full menu options? donnied Linux - Desktop 5 06-11-2007 04:07 PM
Gnome Logout dialog, shutdown and hibernate options have disappeared trainpic Ubuntu 2 04-04-2006 07:06 PM
Open Office tools>options dialog box size foreigner Linux - Software 1 01-18-2006 12:50 AM
Dialog box help!!!!!!!! HopelessLinuxNewbie Fedora 1 08-24-2005 11:48 AM


All times are GMT -5. The time now is 06:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration