Re: Gtk::Main::quit() on a Window pointer

2005-04-23 Thread Murray Cumming
On Fri, 2005-04-22 at 14:47 -0500, Rob Benton wrote: I'm pretty sure I know the answer to this but I wanted to make sure I wasn't overlooking something obvious. I have a class derived from Gtk::Window that I'm getting through libglademm. If I hit the X/close button on the window when it's

Re: new_from_stock

2005-04-23 Thread rob page
What version of gtkmm are you using? On 4/23/05, Emre Turkay [EMAIL PROTECTED] wrote: Hi Folks, In the gtkmm documentation for Gtk::Image (and therefore in some .h files distributed with gtkmm) the method Gtk::Image::new_from_stock() is referred, however I couldn't find where it is

Re: new_from_stock

2005-04-23 Thread Andrew Krause
Emre, You really don't need that function if you declare your Gtk::Image as a pointer, because you can just use: Gtk::Image *img = new Gtk::Image(Gtk::StockID(gtk-stop), Gtk::IconSize(1)); To create a stop image for example. You can use the Gtk::StockID for any type of image or

Re: new_from_stock

2005-04-23 Thread Emre Turkay
Hi Andrew, I'm using gtkmm-2.4 on Windows with VC7.1. I am trying to set an image for a button. I've tried your suggestion but I couldn't get the image shown; Gtk::Image *img = new Gtk::Image(Gtk::StockID(gtk-stop, Gtk::IconSize(1)); my_button-set_image(*img); and I've

Re: Displaying simple HTML in gtkmm app (got it!)

2005-04-23 Thread Chris Vine
On Thursday 21 April 2005 19:06, [EMAIL PROTECTED] wrote: [snip] The other thing that I noticed about this way of implementing this is that you are limited to a single instance of a window that can render HTML. I was starting to create a C++ wrapper class, but found out that the lines: