Re: [gtkmm] using a stock pixmap in a button
- From: Matthew Walton <matthew alledora co uk>
- To: Tim Flechtner <timf trdlnk com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] using a stock pixmap in a button
- Date: Mon, 04 Aug 2003 21:40:16 +0100
Tim Flechtner wrote:
i apologize if this is documented some place obvious, but i've looked,
and i can't figure out how to set up a button to use a stock pixmap (i
want to change the pixmap and label of a button at runtime). can
anyone point me to documentation or provide an example?
thanks!
-tim
The stockbrowser demo which comes with gtkmm shows examples of this, as
it retrieves stock icons and displays them in a TreeView and in a
Gtk::Image widget. The code's a bit odd in places due to it having to
probe the system to get a complete list of available stock items etc,
but it should provide some useful pointers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]