Re: One Window, change the frame continous
- From: "Leandro A. F. Pereira" <leandro linuxmag com br>
- To: gtk-app-devel-list gnome org
- Subject: Re: One Window, change the frame continous
- Date: Wed, 11 Jun 2003 10:42:30 -0300
Quoted by a mob of trained ewoks
For `anand <askatti ece iisc ernet in>'
On Wednesday, 11 June 2003 (17:34):
That is I want to have one single window and wants to change the inside
frames continously each time displaying one or the other event.
Each time i click NEXT button it should show me new frame DYNAMICALLY.
Learn about pipes (man popen).
.
.
.
.
Ready? OK.
popen() your shell script and parse it's output. You can do something like
this:
echo "license=license.txt"
Your program will then know it's a license, and will display it in a TextBox.
You can also change the "Next" button's text with something like "Accept".
echo "installdir=$HOME/myinstall"
Your installer will prompt the user to change the default install dir.
echo "package=Common,common.tgz"
echo "package=Documentation,docs.tgz"
echo "package=Examples,examples.tgz"
Something like this can be used to list available packages to install. You can
either use a VBox and include as many CheckButtons as needed, or use the new
TreeView stuff from GTK2.
Details in making the C program able to "talk" with the shell script is left as
an exercise for the reader :)
--
Leandro Pereira (oO) <leandro linuxmag com br>
www.mindcrisis.tk /||\ GPG key: 0x062E7976
"Se você obedece a todas as regras, acaba perdendo
toda a diversão." --Katherine Hepburn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]