[comp.windows.x] popping up a text-entry box.

pattersw@gemma.cs.rpi.edu (Bill Patterson) (11/25/90)

I need to be able to do something like this (I'm usingthe athena widgets):

----------------------------
someFunction()
 {
   char* message = "Filename :";
   char* result;
   result = popUpTextBox(message);
 }

char* popUpTextBox( message )
    char* message;
 {
   /* pop up a mac-like dialog box, wait for the user to type something
      in, and then return whatever he typed.                              */
 }

----------------------------

Anybody have any suggestions on what the function popUpTextBox should
look like?

Please e-mail (I can't keep up with the volume of this group).

Thank you for any help.

Bill Patterson
pattersw@turing.cs.rpi.edu
--

-----------------------------------
Bill Patterson
pattersw@turing.cs.rpi.edu

Computer Science Department
Rensselaer Polytechnic Institute
Troy, NY.

"Jane, you ignorant slut."
-----------------------------------