Re: terminate called after throwing an instance of 'Glib::FileError'
- From: Bastien Durel <bastien durel org>
- To: Phong Cao <phngcv gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: terminate called after throwing an instance of 'Glib::FileError'
- Date: Sun, 19 Jun 2011 19:27:38 +0200
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);
--
Bastien Durel <bastien durel org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]