Re: [gtkmm] how to put an image into a button
- From: Daniel Elstner <daniel elstner gmx net>
- To: Matthew Walton <matthew alledora co uk>
- Cc: cedric <cedric probesys com>, gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] how to put an image into a button
- Date: Mon, 21 Jun 2004 12:32:03 +0200
On Mo, 2004-06-21 at 10:55 +0100, Matthew Walton wrote:
> I'm afraid I can't remember how to pull the icon for a stock object and
> turn it into a Gtk::Image, but I know it's possible because we did
> something similar in the Stock Browser demo (but I wrote that one so
> long ago I can't remember how I did it).
Oh that's easy, there's a Gtk::Image ctor that takes a Gtk::StockID
argument.
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]