Re: terminate called after throwing an instance of 'Glib::FileError'
- From: Phong Cao <phngcv gmail com>
- To: Bastien Durel <bastien durel org>
- Cc: gtkmm-list gnome org
- Subject: Re: terminate called after throwing an instance of 'Glib::FileError'
- Date: Mon, 20 Jun 2011 00:05:08 -0400
Thank you Bastien!! It worked!
On Sun, Jun 19, 2011 at 1:27 PM, Bastien Durel
<bastien durel org> wrote:
Le dimanche 19 juin 2011 à 12:36 -0400, Phong Cao a écrit :
> BTW, does anyone know how to create a Gtk::Button that contains Stock
> image. In other words, do you know how to create a GtkStockButton
> without label?
>
This should work :
Gtk::Window w;
Gtk::Button b;
b.property_image() =
new Gtk::Image(Gtk::Stock::CLOSE, Gtk::ICON_SIZE_BUTTON);
w.add(b);
b.show();
Gtk::Main::run(w);
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]