Re: Gtk::Stock::CLOSE



Also, check the version of your mingw32-gcc : it should be 3.4.2 (mingw 4.1).

Cedric

On 12/8/05, R. Douglas Barbieri <dooglio gmail com> wrote:
> What version are you guys running? My stock icons show up just fine
> under Win32. There must be some special circumstance in common here.
> As a side note, I get those "warnings" at the end too, but pay them no
> mind because stuff works okay.
>
> Oh, what theme are you using? I'm using the MS-Windows theme--don't
> know if that could make a difference.
>
> On 12/8/05, Andreas Volz <lists brachttal net> wrote:
> > Am Tue, 06 Dec 2005 17:07:20 -0500 schrieb Jamiil:
> >
> > > Thanks Bob! It did not work, but the intention is what counts.
> > > I think I am following the example in the book as close as possible,
> > > but for some reason my Win32 version of Gtkmm is not having the
> > > results expected.
> > > Perhaps if one of the developers has a look at my problem s/he would
> > > be able to tell me if I am the one in the wrong or if there is a
> > > prblem with the Win32 port of Gtkmm.
> > > I am using Win32-Gtkmm-2.4.x.
> >
> > I'm using 2.6.2 in Win32 and 2.4.11 in Linux. The same sourcecode
> > works great on Linux, but the stock icons in Win32 doesn't display,
> > too. I've the same warnings if I link the code in Win32. I didn't
> > care much about it, because it's currently a test port, but in future I
> > like to get icons in Win32. I hope someone knows a solution.
> >
> > I tested it again and noticed only the dialog icons aren't displayed
> > in Win32. The menu icons are displayed. Here is the code:
> >
> >  Gtk::FileChooserDialog save_dialog ("Export Wavefront (.obj)",
> > Gtk::FILE_CHOOSER_ACTION_SAVE);
> >
> >   save_dialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
> >   save_dialog.add_button(Gtk::Stock::SAVE, Gtk::RESPONSE_OK);
> >
> >   int result = save_dialog.run ();
> >
> >   switch(result)
> >   {
> >   case(Gtk::RESPONSE_OK):
> >     {
> >       ObjExporter obj_export (app->mesh);
> >
> >       obj_export.exportFile (save_dialog.get_filename());
> >       break;
> >     }
> >   case(Gtk::RESPONSE_CANCEL):
> >     {
> >       std::cout << "file save abort!" << std::endl;
> >       break;
> >     }
> >   default:
> >     {
> >       std::cout << "Unexpected button clicked." << std::endl;
> >       break;
> >     }
> >   }
> >
> > Does somebody see a possible problem for Win32?
> >
> > regards
> > Andreas
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtkmm-list
> >
>
>
> --
> R. Douglas Barbieri
> doug dooglio net
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>



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