Re: terminate called after throwing an instance of 'Glib::FileError'

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);

Bastien Durel <bastien durel org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]