5 Dec
2005
5 Dec
'05
12:36 a.m.
Later versions of gtkmm (like the one I've got), provide a Gtk::Requisition Gtk::Widget::size_request() and a void Gtk::Widget::size_request(Gtk::Requisition const &).
I'm not sure how the latter could be useful for querying a requisition, though...
In any case, rather than #ifdefing or something for different gtkmm versions, I'd rather stick with a solution which works in all versions.
For example, using Gtk::Widget::gobj() to get the GtkWidget * and then using gtk_widget_size_request(GtkRequisition *)...
-mental