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



On 15-01-04 01:59 PM, John Ralls wrote:
On Jan 3, 2015, at 9:01 AM, Jim Charlton <charltn gmail com> wrote:

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_WARNING, Gtk::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.
Yeah, looks like that in gtk3-demo on Debian, too. Not a gtk-osx problem. Try asking on gtk-app-devel-list 
gnome org or on the gtk+ irc channel.

Regards,
John Ralls

Thanks John.  I will do that.

jim..


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