gtk_toolbar ignoring toolbar style?



Hi there,

I'm writing a program, in which I would like to have a textless toolbar. 
I took a look in the 'Electric Eyes' source code, and did something like
below. However, my toolbar still shows the text... 

Can anyone explain?

Thanks in advance,
    Dirk-Jan.


*
 * create a new toolbar 
 */
GtkWidget *
new_toolbar ()
{
 GtkWidget *icon, *toolbar;
 toolbar= gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_ICONS);

 icon = gnome_stock_pixmap_widget(toolbar, GNOME_STOCK_MENU_JUMP_TO);
 gtk_toolbar_append_item(GTK_TOOLBAR(toolbar), 
    _("Go to Page"),  _("Go To Page"),
    _("Go To Page"), icon, cb_goto_page, NULL);

 icon = gnome_stock_pixmap_widget(toolbar, GNOME_STOCK_MENU_BACK);
 gtk_toolbar_append_item(GTK_TOOLBAR(toolbar), 
    _("Previous"),  _("Get Previous Page"),
    _("Get Previous Page"), icon, cb_prev_page, NULL);

.....


 return toolbar;

}


























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