Re: [PHP-GTK] GtkRadioButton class

[email protected] (Markus Fischer) Fri, 10 Aug 2001 15:11:11 +0200
Newsgroups php.gtk
Message-ID <[email protected]>
On Fri, Aug 10, 2001 at 01:42:44PM +0100, Hien Quan wrote : 
> Does anyone know if the current build support the GtkRadioButton class? 

It is ... hm, but current CVS gives me segfault when creating a
new instance:

0x4063e0f0 in php_if_wrap_gtk_radio_button_new (ht=0, return_value=0x82b96dc, this_ptr=0x84f86f4, return_value_used=0) at gen_gtk.c:12812
12812		if (Z_TYPE_P(php_group) != IS_NULL)

Same when you use GtkRadioMenuItem:

0x4063c8e8 in php_if_wrap_gtk_radio_menu_item_new (ht=0, return_value=0x84f853c, this_ptr=0x82b96dc, return_value_used=0) at gen_gtk.c:12019
12019		if (Z_TYPE_P(php_group) != IS_NULL)


Btw, really really current CVS doesn't compile with latest
libglade changes:

gcc -I.
-I/public/mfischer-home/mfischer/isrc/cvs/php-gtk/ext/libglade
-I/public/mfischer-home/mfischer/isrc/cvs/php-gtk/main
-I/public/mfischer-home/mfischer/isrc/cvs/php-gtk
-I/home/mfischer/php4/include/php
-I/home/mfischer/php4/include/php/main
-I/home/mfischer/php4/include/php/Zend
-I/home/mfischer/php4/include/php/TSRM -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/gnome-xml
-I/public/mfischer-home/mfischer/isrc/cvs/php-gtk/main
-DHAVE_CONFIG_H -g -O2 -c gen_libglade.c  -fPIC -DPIC -o
gen_libglade.lo
gen_libglade.c:342: `php_if_wrap_glade_xml_signal_connect' undeclared here (not in a function)
gen_libglade.c:342: initializer element is not constant
gen_libglade.c:342: (near initialization for `php_glade_xml_functions[3].handler')
gen_libglade.c:343: `php_if_wrap_glade_xml_signal_autoconnect' undeclared here (not in a function)
gen_libglade.c:343: initializer element is not constant
gen_libglade.c:343: (near initialization for `php_glade_xml_functions[4].handler')
gen_libglade.c:347: `php_if_wrap_glade_xml_signal_connect_object' undeclared here (not in a function)
gen_libglade.c:347: initializer element is not constant
gen_libglade.c:347: (near initialization for `php_glade_xml_functions[8].handler')
gen_libglade.c:348: `php_if_wrap_glade_xml_signal_autoconnect_object' undeclared here (not in a function)
gen_libglade.c:348: initializer element is not constant
gen_libglade.c:348: (near initialization for `php_glade_xml_functions[9].handler')

Andrei ?

- Markus