Re: Why "gtk_toolbar_append_element", "gtk_toolbar_append_widget", ... ... should be deprecated ?
- From: Sven Neumann <sven gimp org>
- To: 向斌 <xb_parasite tom com>
- Cc: gtk-list gnome org
- Subject: Re: Why "gtk_toolbar_append_element", "gtk_toolbar_append_widget", ... ... should be deprecated ?
- Date: 27 Jul 2004 10:11:56 +0200
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]