Re: [glade--]Problems with glade_get_widget_tree() during runtime
- From: Christof Petig <christof petig-baender de>
- To: Mukund Gopalan <gmukund_2002 yahoo com>
- Cc: glademm-list gnome org
- Subject: Re: [glade--]Problems with glade_get_widget_tree() during runtime
- Date: Wed, 17 Mar 2004 14:51:57 +0100
Mukund Gopalan schrieb:
xml = glade_get_widget_tree(GTK_WIDGET(button));
I think that button is of type Gtk::Button, that's the C++ wrapper type.
You can't cast a Gtkmm object to GTK_WIDGET, but you can use
GTK_WIDGET(button->gobj())
That should fix the error.
Yours
Christof
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]