Re: How to get a toolbar item without text



On Saturday 08 November 2003 07:58, bil beeb net wrote:
> 
> I'm trying to build a small application and would like a toolbar with
> stock icon buttons in it, but would like to keep it to just the icons,
> i.e. omit the text (it appears with the tooltip, so it's redundant once
> you've got familiar).
>
> Can you tell me how to get rid of the text (or alternatively how to
> construct the toolbar element without it).
>
> I'm currently using gtk_toolbar_insert_stock( ) to create the items
> (as per the code in gtk-demo).

Try:
	gtk_toolbar_set_style(toolbar,GTK_TOOLBAR_ICONS);

http://developer.gnome.org/doc/API/2.0/gtk/GtkToolbar.html#gtk-toolbar-set-style

Dave



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