The WM_INITDIALOG message is emitted for a dialog when it is safe and possible
to put data into the controls/widgets of the dialog, for example to put text
into entry widgets and fill listviews, combos, toggle checkboxes etc. Would the
following fragments work for GTK?
GtkWidget * dlg = gtk_dialog_new ( ) ;
....
// put empty/unfilled widgets here (table driven)
....
g_signal_connect ( G_OBJECT (dlg) , "realized" ,
G_CALLBACK (placedata) , dlg ) ;
with callback
void placedata ( GtkWidget * w , gpointer userdata )
{
// fill widgets here with applications data (tabledriven)
}
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list