Is this OK?
- From: vladimir <vladeck sezampro yu>
- To: Gtk app devel <gtk-app-devel-list gnome org>
- Subject: Is this OK?
- Date: 01 Aug 2002 02:08:49 +0200
Great free software developers!
g_signal_connect (G_OBJECT (button_cancel),
main_window); /* this is main window the button is in */
void kstudentnew_quit_cb (GtkWidget *widget, gpointer callback_data)
gtk_widget_destroy ((GtkWidget *)callback_data);/* destroy main
is this OK?
Can I cast callback_data like this? Main window is not main for app, but
for entry dialog for some data. When user cancel this window it calls
this callback. Is there cleaner way, or can go with this one?
[Date Prev][Date Next
] [Thread Prev][Thread Next