mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-12 08:15:40 +00:00
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:
parent
ccd555425e
commit
7cd3f7e625
|
@ -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>
|
2002-10-11 Duncan Mak <duncan@ximian.com>
|
||||||
|
|
||||||
* TestToolbar.cs: Fix the arguments to Toolbar.InsertStock.
|
* TestToolbar.cs: Fix the arguments to Toolbar.InsertStock.
|
||||||
|
|
|
@ -74,47 +74,47 @@ namespace WidgetViewer {
|
||||||
return window;
|
return window;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_small_icon (Gtk.Object obj)
|
static void set_small_icon ()
|
||||||
{
|
{
|
||||||
toolbar.IconSize = IconSize.SmallToolbar;
|
toolbar.IconSize = IconSize.SmallToolbar;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_large_icon (Gtk.Object obj)
|
static void set_large_icon ()
|
||||||
{
|
{
|
||||||
toolbar.IconSize = IconSize.LargeToolbar;
|
toolbar.IconSize = IconSize.LargeToolbar;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_icon_only (Gtk.Object obj)
|
static void set_icon_only ()
|
||||||
{
|
{
|
||||||
toolbar.ToolbarStyle = ToolbarStyle.Icons;
|
toolbar.ToolbarStyle = ToolbarStyle.Icons;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_text_only (Gtk.Object obj)
|
static void set_text_only ()
|
||||||
{
|
{
|
||||||
toolbar.ToolbarStyle = ToolbarStyle.Text;
|
toolbar.ToolbarStyle = ToolbarStyle.Text;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_horizontal (Gtk.Object obj)
|
static void set_horizontal ()
|
||||||
{
|
{
|
||||||
toolbar.Orientation = Orientation.Horizontal;
|
toolbar.Orientation = Orientation.Horizontal;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_vertical (Gtk.Object obj)
|
static void set_vertical ()
|
||||||
{
|
{
|
||||||
toolbar.Orientation = Orientation.Vertical;
|
toolbar.Orientation = Orientation.Vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_both (Gtk.Object obj)
|
static void set_both ()
|
||||||
{
|
{
|
||||||
toolbar.ToolbarStyle = ToolbarStyle.Both;
|
toolbar.ToolbarStyle = ToolbarStyle.Both;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_both_horiz (Gtk.Object obj)
|
static void set_both_horiz ()
|
||||||
{
|
{
|
||||||
toolbar.ToolbarStyle = ToolbarStyle.BothHoriz;
|
toolbar.ToolbarStyle = ToolbarStyle.BothHoriz;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void toggle_tooltips (Gtk.Object obj)
|
static void toggle_tooltips ()
|
||||||
{
|
{
|
||||||
if (showTooltips == true)
|
if (showTooltips == true)
|
||||||
showTooltips = false;
|
showTooltips = false;
|
||||||
|
@ -125,7 +125,7 @@ namespace WidgetViewer {
|
||||||
Console.WriteLine ("Show tooltips: " + showTooltips);
|
Console.WriteLine ("Show tooltips: " + showTooltips);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Close_Button (Gtk.Object obj)
|
static void Close_Button ()
|
||||||
{
|
{
|
||||||
window.Destroy ();
|
window.Destroy ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue