Is GTK signal 'realized' similar to the Windows WM_INITDIALOG event message for dialogs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux