Find the answer to your Linux question:
Results 1 to 6 of 6
Hi friends, assume that, i wrote a script. it takes two argument. can i give this arguments with graphical user interface? how can i do it? which programming language supplies ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    28

    Interface


    Hi friends,

    assume that, i wrote a script. it takes two argument.

    can i give this arguments with graphical user interface?
    how can i do it?
    which programming language supplies it?

  2. #2
    Just Joined!
    Join Date
    Feb 2010
    Posts
    18
    hi,

    get a look at zenity

    bye
    Last edited by oz; 02-17-2010 at 09:58 PM. Reason: removed spam

  3. #3
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    You will need some sort of GUI toolkit. The most popular of these are Gtk and Qt, which were designed initially for C and C++ respectively.

    Having said that, these and many other toolkits are usable by other languages. Gtk and Qt bindings exist for many other languages:

    GTK+ - About
    GTK+ - Language Bindings

    Qt - A cross-platform application and UI framework
    Programming Language Support - Qt - A cross-platform application and UI framework

    Although these are the most popular toolkits, others exist. A popular one for scripting languages is wxWidgets:

    wxWidgets

    Gtk and Qt look different, but programming in these toolkits is generally the same. You will find documentation on the various libraries and their bindings on the websites above.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Apr 2009
    Location
    Berkeley, California
    Posts
    20
    Since you are dealing with a script, easier solutions are probably available via Xdialog, cdialog, or kdialog.

  6. #5
    Linux Newbie previso's Avatar
    Join Date
    Jan 2010
    Location
    SC
    Posts
    116
    If you'd like a cross-platform form, Java is a good alternative. Netbeans 6.8 is excellent. This IDE has many of the tools of VB.Net but in the Java language.

  7. #6
    Just Joined!
    Join Date
    Jun 2008
    Posts
    5

    Why not use the "dialog" function in bash?

    Quote Originally Posted by proopnarine View Post
    Since you are dealing with a script, easier solutions are probably available via Xdialog, cdialog, or kdialog.
    You could look up the syntax by yourself in google.
    I knew this from reading the "Beginning Linux Programming 4th edition"
    Page 75 to 81
    good luck!

Posting Permissions

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