Re: Shared Buttons causing seg fault?
- From: Kevin Vandersloot <kfv101 psu edu>
- To: ruben mrbrklyn com
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Shared Buttons causing seg fault?
- Date: 18 May 2001 09:28:27 -0400
You need to call gtk_button_new before connecting to the signals. So
call your PackNewButton before calling gtk_signal_connect.
Regards,
Kevin
On 18 May 2001 08:18:30 -0400, Brooklyn Linux Solutions wrote:
What is this declaration?
This did not create the button?
Ruben
int main(int argc, char *argv[]){
*****> GtkWidget *window, *button, *box;
gtk_init(&argc, &argv);
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_window_set_title(GTK_WINDOW(window), "Verticle Packing Box");
gtk_signal_connect(GTK_OBJECT(window), "delete_event",
GTK_SIGNAL_FUNC(Delete), NULL);
gtk_signal_connect(GTK_OBJECT(button), "clicked",
On 2001.05.18 06:57:18 -0400 Angelo Cano wrote:
<<<You haven't created the button yet.>>>
--
Brooklyn Linux Solutions
http://www.mrbrklyn.com
http://www.brooklynonline.com
1-718-382-5752
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]