[9068] in The GTK GIMP ToolKit mailing list archive

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

[gtk-list] one function takes the control

daemon@ATHENA.MIT.EDU (el mono)
Mon Oct 5 21:18:57 1998

Date: Mon, 5 Oct 1998 20:11:29 -0500 (GMT-0500)
From: el mono <nicosi@col2.telecom.com.co>
To: lista general de gtk <gtk-list@redhat.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


This is my problem:

I need one function that launch a dialog and only returns when this dialog 
have been closed. The function is something like this:

void config_style (strStyle *style);

I mean, when the function returns the style structure must have the 
fields properly filled. If I try whith this:

void config_style (strStyle *style)
{
	GtkWidget *dialog,...
	...
	/* configure the dialog */
	/* put the buttons, lists, labels ,etc. */
	/* make the signal connections */
	return;
}

When the function returns the dialog will be alive and any modifications 
made to de style structure by the signal handlers will be done at any 
time and I need to have the security that any modifications will be done 
to the structure.

I hope you understand what I'm trying to say.

Thanks 4 your help.

P.D.: Please forgive my bad english.

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


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