Re: Shared Buttons causing seg fault?
- From: Clemens Kirchgatterer <clemens root at>
- To: ruben mrbrklyn com, gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Shared Buttons causing seg fault?
- Date: Fri, 18 May 2001 15:00:05 +0200
Brooklyn Linux Solutions wrote:
What is this declaration?
This did not create the button?
of course not! you only declared button as a POINTER to a gtk_button.
this is not C++ where you would normally do only:
GtkButton button();
or:
GtkButton *button = new GtkButton();
and all necessery memory allocation would get done in the constructor.
in GTK+ you must also make a call to gtk_button_new() ...
regards ...
clemens
--
This signature is under construction ...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]