bug-ncurses
[Top][All Lists]
Advanced

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

Re: Ncurses menu library


From: bugzilla
Subject: Re: Ncurses menu library
Date: Wed, 8 Jul 2009 11:10:55 -0700 (PDT)


Thomas Dickey-2 wrote:
> 
> On Thu, Jul 02, 2009 at 05:07:59PM -0700, bugzilla wrote:
>> 
>> Hi,
>> 
>> i was wondering how can i change the number of spaces between item name
>> and
>> his description.
>> i seen set_menu_spacing but that can't be larger than TABIZE and me i
>> need
>> to right
>> justify the description, like this:
>> 
>> [item1]<======== Terminal Size =======>[description]
>> 
>> Is it possible with ncurses menu library ?
> 
> You can set TABSIZE (since it's a global variable).  Looking at
> set_menu_spacing, I see it's only checked during that function, so you
> could
> set TABSIZE, call set_menu_spacing and restore TABSIZE.
> 
> (sounds ugly, but it would work for ncurses)
> 
> -- 
> Thomas E. Dickey <address@hidden>
> http://invisible-island.net
> ftp://invisible-island.net
> 
>  
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-ncurses
> 
> 

oh okay, it works. Thanks you
-- 
View this message in context: 
http://www.nabble.com/Ncurses-menu-library-tp24315825p24396628.html
Sent from the Gnu - Ncurses mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]