[10312] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Okay, newbie here

daemon@ATHENA.MIT.EDU (Christopher Wiegand)
Sat Nov 21 22:20:52 1998

Date: Sat, 21 Nov 1998 20:20:00 -0700 (MST)
From: Christopher Wiegand <cwiegand@urgentmail.com>
To: gtk-list <gtk-list@redhat.com>
In-Reply-To: <19981121223323.A1405@informatik.tu-chemnitz.de>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

First off, please forgive the stupid question. I program C in text mode, and
I'm trying to learn GTK so I can do GUI stuff. I'm used to VB5, for
background.

I'm doing a program where the user will select a combo box, enter some text,
check (or not) a checkbox, then press "Do it!" and normally in vb5 I'd do
something like this:

private sub cmdDoIt_click
	dim myString as string
	myString = "pgpv "
	if me.chkAddKeys.value = vbChecked then myString = myString & " -K "
	myString = myString & " -o " & me.txtOutFile & " " & me.txtInFile
	shell myString
end sub

Now, I can't find in any documentation how I refer to a window, per se. How do
I get the value of a textbox in the same window I'm in? Or refer to another
window? Do I have to keep some kinda linked list to keep tabs on my controls,
windows, etc..?

Again, thanks for any help.

Chris Wiegand

'If Bill Gates had a dime for every time Windows crashed...
 ... Oh wait a minute, he already does...' - Anonymous

Linux \'lih-nucks\ n.: Antidote to the computer viri known as Windows.


-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post