npcole / npyscreen

Automatically exported from code.google.com/p/npyscreen
Other
481 stars 109 forks source link

Can i monitor a smaller form in main form ? #103

Open Canbjerg opened 4 years ago

Canbjerg commented 4 years ago

Hi, i am working on my first tui project with Npyscreen. I have been working with this library for a week, it's very effective and provides beautiful interface screens. I want to thank Nicholas Cole for this great work first of all. And i have couple problems

I want to enter a button in my main form which should bring a pop up like a notify_yes_no looking one that i should change names of the buttons. I've seen OK_BUTTON_TEXT but it will be very useful if i can see a clear implementation it would help a lot. I want to change names of the buttons as Automatic and Manual instead of Yes or No. If i choose Manual button program should put another pop up screen which i can write my input. Program should put this input in a variable to work with later.

So, to do these tasks i couldn't find the right tools. I can manage things by leading another form after entering the button but it brings a new hole screen but i want to stay in my main form. Is there a way to this ? Can i bring a smaller form while i still can see my main form on the background? If not, is there a way to bring a pop up as Manual or Automatic and if i choose Manual it should bring another pop up to input text as i mentioned before ? I haven't seen a pop up tool to take inputs in documents or i don't know which one does it.

And finally, how can i put footers under forms like we do for boxes, is there a way to do all these ?