Re: Error in Documentation?



jody wrote:
Hi

In the documentation for ComboBox it says:
void Gtk::ComboBox::unset_model  	(  	  	 )   	

Remove the model from the ComboBox.

See also:
    set_model().

Since gtkmm 2.16:

(http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1ComboBox.html#50418df54ee0436364d650ffd478a940)

But when i compile a program in which the unset_model() method of the
ComboBox is called,
i get this error:
    dyncombo.cpp:59: error: ‘class Gtk::ComboBox’ has no member named
‘unset_model’

Has this method maybe been renamd?
If yes, what is it called now?

Thank You
  Jody
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

The documentation says that this function was added in gtkmm 2.16 -- are you using 2.16 ?

--
jonner


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