[gtkmm] Adding a stock pixmap to a Gtk::ToggleButton
- From: Matthew Walton <matthew alledora co uk>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Adding a stock pixmap to a Gtk::ToggleButton
- Date: 07 Aug 2003 23:41:15 +0100
I've been struggling with this for a while now, trying various variants
on making a Gtk::Image from the stock item and attempting to get it into
the ToggleButton. This doesn't work in a variety of
not-very-entertaining ways, including segfaulting and apparently
completely failing to get the stock item image into the Gtk::Image in
the first place. Therefore I have to ask: how do I get a stock pixmap
onto a Gtk::ToggleButton?
The absence of a ToggleButton constructor taking a StockID is a serious
pain here.
Thanks
--
Matthew Walton <matthew alledora co uk>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]