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

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

 



Hi,

"åæ" <xb_parasite@xxxxxxx> 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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux