[Gtk-sharp-list] Stock Buttons in Windows

Manuel Alejandro Ceron Estrada ceronman at gmail.com
Mon Jun 20 16:27:35 EDT 2005


Hello,

I am trying to use Gtk# Stock Buttons in Windows, but the icons are not 
showed. This is what I am doing:

using Gtk;

public class MainClass {
	public static void Main ()
	{
		Application.Init ();
		Window win = new Window ("Stock Test");
		Button but = new Button (Stock.Quit);
		win.Add (but);
		win.ShowAll ();
		Application.Run ();
	}
}

When I compile the above code in Linux, the program works fine, the icon 
in the button is showed, but when I compile it in windows, the icon is 
not showed. What is wrong?

Thanks

Manuel.
-- 
· Manuel Alejandro Cerón Estrada <ceronman at gmail.com>
· http://ceronman.blogspot.com


More information about the Gtk-sharp-list mailing list