Re: [gtkmm] Button with icon?



>On Fri, 2003-01-24 at 09:20, Markus Gerwinski wrote:
>> Hi folks,
>> 
>> can you tell me how to provide a button with a self-made icon? Is there a wa
>y
>> to add it to the Stock, together with different label strings for different
>> languages?

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);

--p



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