Re: Why "gtk_toolbar_append_element", "gtk_toolbar_append_widget", ... ... should be deprecated ?



Hi,

"向斌" <xb_parasite tom com> writes:

> I am a new commer to gtk programming.Today I  got two small questions.


> 1. Why "gtk_toolbar_append_element","gtk_toolbar_append_widget", ...
> ... should be deprecated ?  If I do not use those deprecated
> function ,how can I add widget to the GtkToolbar .

That is the old and deprecated API. Use the new function
gtk_toolbar_insert() instead.

> 2.  What the use of the parameter "const char *tooltip_private_text"
> in function "gtk_toolbar_insert_stock".

A GtkTooltip can have a second text but it is typically not used. Just
pass a NULL pointer.


Sven



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