GtkRadioButton_::set_group implementation
Opened this issue · 3 comments
GTK documentation
https://docs.gtk.org/gtk3/method.RadioButton.set_group.html
I see that is not implemented, and there is no exceptions.
Tried to play around, but seems no simple way to init GSList
by PHP objects there?
Hm, or maybe re-init every the method by array values..
void GtkRadioButton_::set_group(Php::Parameters ¶meters)
{
GSList* group;
Php::Value arr = parameters[0];
for(int index=0; index < (int)arr.size(); index++) {
g_slist_append(
// ...
Same for constructor..
I'm using RadioButton::join_group()
as the solution
You cannot loop array and create gslist?
php-gtk3/src/Gtk/GtkListStore.cpp
Line 229 in 013b291
I don't know how to init entire PHP object, seems every setter should be called?
or some common helper exists to convert php objects to their cpp implementation (not re-init every the node manually)
maybe this can help
https://github.com/scorninpc/php-gtk3/blob/master/main.cpp#L4409
this will convert any php var to gvalue, including G_TYPE_OBJECT