mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 00:25:32 +00:00
2005-06-22 Mike Kestner <mkestner@novell.com>
* sample/GladeTest.cs : add a menu item signal connect to test for the problem described in bug#74946. * sample/test.glade : add menubar. svn path=/trunk/gtk-sharp/; revision=46397
This commit is contained in:
parent
3a6e5fa8e2
commit
64dd7f67d4
|
@ -1,3 +1,9 @@
|
||||||
|
2005-06-22 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* sample/GladeTest.cs : add a menu item signal connect to test for the
|
||||||
|
problem described in bug#74946.
|
||||||
|
* sample/test.glade : add menubar.
|
||||||
|
|
||||||
2005-06-22 Mike Kestner <mkestner@novell.com>
|
2005-06-22 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* sample/GtkDemo/DemoHyperText.cs : replace PersistentData usage that
|
* sample/GtkDemo/DemoHyperText.cs : replace PersistentData usage that
|
||||||
|
|
|
@ -58,6 +58,11 @@ namespace GladeSamples {
|
||||||
{
|
{
|
||||||
Console.WriteLine ("Button 2 entered");
|
Console.WriteLine ("Button 2 entered");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void OnQuitActivated (object o, EventArgs args)
|
||||||
|
{
|
||||||
|
Application.Quit ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,39 @@
|
||||||
<property name="homogeneous">False</property>
|
<property name="homogeneous">False</property>
|
||||||
<property name="spacing">0</property>
|
<property name="spacing">0</property>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<widget class="GtkMenuBar" id="menubar1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<widget class="GtkMenuItem" id="menuitem1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label" translatable="yes">_File</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<widget class="GtkMenu" id="menuitem1_menu">
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<widget class="GtkImageMenuItem" id="quit1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label">gtk-quit</property>
|
||||||
|
<property name="use_stock">True</property>
|
||||||
|
<signal name="activate" handler="OnQuitActivated" last_modification_time="Wed, 22 Jun 2005 21:34:16 GMT"/>
|
||||||
|
</widget>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
|
<packing>
|
||||||
|
<property name="padding">0</property>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">False</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkButton" id="button1">
|
<widget class="GtkButton" id="button1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
|
Loading…
Reference in a new issue