Description Usage Arguments Details Value Author(s)
Adds a new button to the beginning (top or left edges) of the given toolbar.
WARNING: gtk_toolbar_prepend_item
has been deprecated since version 2.4 and should not be used in newly-written code. Use gtkToolbarInsert
instead.
1 2 | gtkToolbarPrependItem(object, text, tooltip.text, tooltip.private.text,
icon, callback, user.data)
|
|
a |
|
give your toolbar button a label. |
|
a string that appears when the user holds the mouse over this item. |
|
use with |
|
a |
|
the function to be executed when the button is pressed. |
|
a pointer to any data you wish to be passed to the callback. |
callback
must be a pointer to a function taking a GtkWidget
and a gpointer as
arguments. Use gCallback()
to cast the function to GCallback
.
[GtkWidget
] the new toolbar item as a GtkWidget
.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.