Re: [gtkmm] Porting guide additions



On Fri, 2002-08-16 at 08:37, Meier, Elke wrote:
> Hi guys,
> 
> We recently ported to Gtkmm 2 and I found a few simple things missing from
> the porting guide:
> 
> o change Gtk::Widget::set_usize() to Gtk::Widget::set_size_request()

We already recommend that people use set_default_size() instead. Can you
give us more information, ideally linking to GTK+ documentation?

> o change Gtk::Notebook::set_page(int) to Gtk::Notebook::set_curent_page(int)

> o use the new enums for Gtk::Box and Gtk::Table attach options

That is optional now, so it's not necessary for porting.

> o change Gtk::Text to Gtk::TextView
> o MenuList now contains MenuItem & instead of MenuItem * (change
> menuList[i]->xx to menuList[i].xx)

Thanks.

> I haven't looked at the sources, so I couldn't create a patch myself.

Please try that in future. It saves me time.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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