Re: [glade--]Problems with glade_get_widget_tree() during runtime



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]