Change the method signature for the various

SignalFuncs. Thanks to Leoric from #mono for pointing it out.

svn path=/trunk/gtk-sharp/; revision=11718
This commit is contained in:
Duncan Mak 2003-02-19 08:54:47 +00:00
parent ccd555425e
commit 7cd3f7e625
2 changed files with 15 additions and 10 deletions

View file

@ -1,3 +1,8 @@
2003-02-19 Duncan Mak <duncan@ximian.com>
* TestToolbar.cs: Change the method signature for the various
SignalFuncs. Thanks to Leoric from #mono for pointing it out.
2002-10-11 Duncan Mak <duncan@ximian.com>
* TestToolbar.cs: Fix the arguments to Toolbar.InsertStock.

View file

@ -74,47 +74,47 @@ namespace WidgetViewer {
return window;
}
static void set_small_icon (Gtk.Object obj)
static void set_small_icon ()
{
toolbar.IconSize = IconSize.SmallToolbar;
}
static void set_large_icon (Gtk.Object obj)
static void set_large_icon ()
{
toolbar.IconSize = IconSize.LargeToolbar;
}
static void set_icon_only (Gtk.Object obj)
static void set_icon_only ()
{
toolbar.ToolbarStyle = ToolbarStyle.Icons;
}
static void set_text_only (Gtk.Object obj)
static void set_text_only ()
{
toolbar.ToolbarStyle = ToolbarStyle.Text;
}
static void set_horizontal (Gtk.Object obj)
static void set_horizontal ()
{
toolbar.Orientation = Orientation.Horizontal;
}
static void set_vertical (Gtk.Object obj)
static void set_vertical ()
{
toolbar.Orientation = Orientation.Vertical;
}
static void set_both (Gtk.Object obj)
static void set_both ()
{
toolbar.ToolbarStyle = ToolbarStyle.Both;
}
static void set_both_horiz (Gtk.Object obj)
static void set_both_horiz ()
{
toolbar.ToolbarStyle = ToolbarStyle.BothHoriz;
}
static void toggle_tooltips (Gtk.Object obj)
static void toggle_tooltips ()
{
if (showTooltips == true)
showTooltips = false;
@ -125,7 +125,7 @@ namespace WidgetViewer {
Console.WriteLine ("Show tooltips: " + showTooltips);
}
static void Close_Button (Gtk.Object obj)
static void Close_Button ()
{
window.Destroy ();
}