The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unclutter Firefox menus iBot UNIX and Linux RSS News 0 03-03-2008 05:20 AM
Free software menus reinvented iBot UNIX and Linux RSS News 0 02-21-2008 03:10 PM
Deluxe Menus 3.1 (Default branch) iBot Software Releases - RSS News 0 01-11-2008 07:00 PM
Script file menus and coding sinjin UNIX for Dummies Questions & Answers 0 12-11-2007 09:28 AM
Creating menus in script file sinjin UNIX for Dummies Questions & Answers 6 12-11-2007 12:00 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-19-2002
crashnburn crashnburn is offline
Registered User
  
 

Join Date: Feb 2002
Location: Portugal
Posts: 22
ncurses -> the best way to use menus

hello there,

i'm exploring the curses lib and i'm having some trouble with "defining a style". to clarify: i'm creating a menu driven app and i've been thinking what's the best way to use menus: make global vars (not my favourite), creating a function which designs the menu and returns the selected option (doesn't seem the best either). can someone point me some code to use as example or give me some hint?

basically what i want to do is to create a menu which calls a submenu and then the submenu calls a function. also, i'm using scr_dump to save the screen, can't i do this without having to save the screen?

thx in advance
  #2 (permalink)  
Old 09-24-2002
crashnburn crashnburn is offline
Registered User
  
 

Join Date: Feb 2002
Location: Portugal
Posts: 22
you might wanna try using set_item_userptr() and item_userptr()
  #3 (permalink)  
Old 09-24-2002
crashnburn crashnburn is offline
Registered User
  
 

Join Date: Feb 2002
Location: Portugal
Posts: 22
thx, crashnburn
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0