Re: GtkToolbar deprecated functions



On Tue, 2003-07-08 at 08:51, Paul Dwerryhouse wrote:
Hi all,

Looking at the API for GtkToolbar
(http://developer.gnome.org/doc/API/2.0/gtk/GtkToolbar.html), it appears
that every function for adding an element or widget to the toolbar is
deprecated:

gtk_toolbar_append_item, gtk_toolbar_prepend_item, gtk_toolbar_insert_item,
gtk_toolbar_append_space, gtk_toolbar_prepend_space,
gtk_toolbar_append_element, gtk_toolbar_prepend_element,
gtk_toolbar_insert_element, gtk_toolbar_append_widget,
gtk_toolbar_prepend_widget, gtk_toolbar_insert_widget

What are we supposed to use instead?

The problem here is that 

 A) The docs are built off CVS head, which has a revamped toolbar
    API. 

 B) The new replacements haven't been added to the docs symbols list
    yet, so they don't show up. (But if they did show up, you
    wouldn't be able to use them.

Just use the functions above - they are what you should be using
for GTK+-2.2.

Regards,
                                                Owen

[
  Matthias - perhaps we should follow your suggestion at this point
  and switch the docs scripts to pull gtk-2-2, having a HEAD docs
  build is nice, but having a build that corresponds to the currently
  released version is more important
 ]





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