[gtkmm] gtkmm docu bug on Gtk::Window.set_default(Gtk::Widget&)




While trying to set a default widget I read the docu which states to use the macro GTK_WIDGET_SET_FLAGS() to set Gtk::CAN_DEFAULT which in turn allows using the widget in the call to *set_default*.

However, as one good fellow on #c++ indicated, you have to use the method *set_flags* to do this.

I would try to fix the docu by submitting a patch but the whole thing is a bit too complicated as the docu seems to be generated by mixing in gtk+ docu as well.

What should I do?

Cheers,
-ok

Attachment: pgpOd0WO6Stak.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]