Find the answer to your Linux question:
Results 1 to 3 of 3
I'm trying to write a simple program in C using XWindows libraries and I can't figure out how to create a window that displays a dialog box that takes text ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    1

    How do I create a dialog box that accepts text input in XWindows.

    I'm trying to write a simple program in C using XWindows libraries and I can't figure out how to create a window that displays a dialog box that takes text and outputs it to a field.

    Can anyone help?

    Thank you.

  2. #2
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    Here's a link

    X: Index

    Why wouldn't you use GTK+ or KDE this will simplify your task...Gerard4143

    Here's a link for GTK+ with some tutorials:

    http://library.gnome.org/devel/

  3. #3
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    I don't know if this fills your need, but if it does, you don't even have to mess with any X Window library, no GTK+, no KDE, no nuthin'.
    Code:
    man xmessage
    man system
    --
    Bill

    Old age and treachery will overcome youth and skill.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...