Re: Beginner
- From: John Cupitt ng-london org uk
- To: hitoruna3 yahoo com
- Cc: gtk-list gnome org
- Subject: Re: Beginner
- Date: Mon, 10 Jun 2002 12:34:45 +0100
David Aliaga wrote:
> I have create a window with GTK with some entry
> widgets in it.I want to use them to initialize some
> parameters in a program I am writing.
Hi Dave, you want something like this:
void
my_OK_callback()
{
// read values out of the entry widgets
// pop down dialog
// start your program running
}
int
main()
{
// make dialog window
// link OK button to my_OK_callback() above
// show dialog
gtk_main();
}
J
==========================================================
Coming soon:
Fabric of Vision
Dress and Drapery in Painting
19 June - 8 September 2002
For information and tickets:
http://www.nationalgallery.org.uk/exhibitions/fabric/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]