Re: how to show only a image without a text for a toolitem in toolbar?
- From: 明覺 <shi minjue gmail com>
- To: gtkmm-list gnome org
- Subject: Re: how to show only a image without a text for a toolitem in toolbar?
- Date: Wed, 6 May 2009 13:55:38 +0800
On Tue, May 5, 2009 at 10:19 PM, Ì 覺 <shi minjue gmail com> wrote:
> I created a toolbar by this string:
> Glib::ustring ui_info =
> "<ui>"
> " <toolbar name='ToolBar'>"
> " <toolitem action='NewSurface'/>"
> " <toolitem action='ImportSurface'/>"
> " <toolitem action='ExportSurface'/>"
> " </toolbar>"
> "</ui>";
> it will show a image with a text below it for each toolitem, how could
> i remove the text below the image? thanks
I found the solution to be ToolBar->set_toolbar_style ( Gtk::TOOLBAR_ICONS );
>
>
> --
> My platform is Gnu/Linux Debian(sid-amd64, lenny-intelx86) Gnome
> Mozilla/Iceweasel Gmail/Evolution Gtkmm/Anjuta/Emacs Scim Totem
> Pidgin.
>
--
My platform is Gnu/Linux Debian(sid-amd64, lenny-intelx86) Gnome
Mozilla/Iceweasel Gmail/Evolution C++/Gtkmm Scim Totem Pidgin.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]