Re: [gtkmm] Button with icon?
- From: Paul Davis <paul linuxaudiosystems com>
- To: Markus Gerwinski <markus gerwinski de>
- Cc: murrayc usa net, gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Button with icon?
- Date: Fri, 24 Jan 2003 11:00:13 -0500
>Paul Davis wrote:
>> don't know about stock, but i would just do:
>>
>> label.set_text (_("internationalized text"));
>> vbox.pack_start (icon);
>> vbox.pack_start (label);
>> button.add (vbox);
>
>So it is legitimate to add an icon like this, without using the stock?
>What #include must I use in order to get the _() macro, then?
the stock stuff as i understand is just there to make your life as a
programmer easier, and to provide more consistency for users.
the _() macro is part of the gettext internationalization system. its
not just an include. you need to setup gettext for your application.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]