[Mono-list] Gtk# on Windows.
Daniel Morgan
danielmorgan@verizon.net
Fri, 23 Jul 2004 19:53:42 -0400
I'm not sure, but GtkToolItem could be a new feature added via gtk+
2.4.x
GTK# 1.0 is based on gtk+ 2.2.x.
Now, the code I have below works on Windows and Linux. I have not tried
it the glade way, but it may help.
Toolbar toolbar = new Toolbar ();
toolbar.ToolbarStyle = Gtk.ToolbarStyle.Icons;
toolbar.AppendItem ("Execute",
"Execute SQL Commands.", String.Empty,
new Gtk.Image (Stock.Execute,
IconSize.SmallToolbar),
new Gtk.SignalFunc (OnToolbar_Execute));
toolbar.AppendItem ("DataGrid",
"Toggle Results to DataGrid or
TextView", String.Empty,
new Gtk.Image (Stock.GoDown,
IconSize.SmallToolbar),
new Gtk.SignalFunc
(OnToolbar_ToggleResultsOutput));
-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Daniel Carrera
Sent: Friday, July 23, 2004 6:28 PM
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Gtk# on Windows.
On Fri, Jul 23, 2004 at 06:20:11PM -0400, Daniel Carrera wrote:
> > Try using this installer:
> > http://forge.novell.com/modules/xfmod/project/showfiles.php?group_id
> > =1395&release_id=1945#selected
>
> Thanks! I'm downloading it right now.
:-D
Yay! It works now. Thanks.
It looks like glade doesn't know about GtkToolItem's on Windows. Oh
well. I'll go back and use boxes instead. No biggie.
Cheers,
--
Daniel Carrera | No trees were harmed in the generation of this
PhD student. | e-mail. A significant number of electrons were,
Math Dept. UMD | however, severely inconvenienced.
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list