[gtk-osx-devel] meta-gtk-osx-gtkmm3



I recently used jhbuild to install meta-gtk-osx-gtk3 (3.0 current version 1401.5.0) and meta-gtk-osx-gtkmm3 (3.0.1 current version 3.0) on MAC OS X 10.10 (Yosemite).

I run into a problem compiling code with Gtk::MessageDialog(), in that the icon does not appear and the buttons are not sized.

For instance, compiling the code in the gtkmm3 tutorial at
https://developer.gnome.org/gtkmm-tutorial/stable/sec-dialogs-messagedialog.html.en
gives no errors in compilation or running the code, but the dialog box is not as pictured (no icon, button is full width of box).

I ran into this problem before with a previous version of the gtk3/gtkmm3 packages but it was later fixed.  But it seems to have appeared again.

The icons are available as I can use
Gtk::Image img(Gtk::Stock::DIALOG_WARNINGGtk::ICON_SIZE_BUTTON);
Gtk::Button *btn Gtk::manage(new Gtk::Button());
btn->set_image(img);

to create a button with the DIALOG_WARNING icon in it.

Setting the usual environment variables (XDG_DATA_DIRS etc) makes no difference.  Compiling and running from the jhbuild shell does not help.







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