mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 08:23:19 +02:00
2005-02-11 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Menu.SetScreen. * gtk/Menu.custom : manually implement Screen prop. svn path=/trunk/gtk-sharp/; revision=40529
This commit is contained in:
parent
b0fe1620ea
commit
86535bb201
@ -1,3 +1,8 @@
|
||||
2005-02-11 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* gtk/Gtk.metadata : hide Menu.SetScreen.
|
||||
* gtk/Menu.custom : manually implement Screen prop.
|
||||
|
||||
2005-02-11 Dan Winship <danw@novell.com>
|
||||
|
||||
* gtk/Gtk.metadata: Hide StyleGetProperty and StyleGetValist since
|
||||
|
@ -429,16 +429,14 @@ class PopupSample
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Screen">
|
||||
<MemberSignature Language="C#" Value="public Gdk.Screen Screen { set; };" />
|
||||
<MemberSignature Language="C#" Value="public Gdk.Screen Screen { set; get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Gdk.Screen</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The physical screen this menu is placed on.</summary>
|
||||
<param name="value">a <see cref="T:Gdk.Screen" /></param>
|
||||
<returns>a <see cref="T:Gdk.Screen" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
@ -498,7 +496,8 @@ class PopupSample
|
||||
<Docs>
|
||||
<summary>The number of the monitor on which the menu should be popped up.</summary>
|
||||
<returns>a <see cref="T:System.Int32" /></returns>
|
||||
<remarks></remarks>
|
||||
<remarks>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Attach">
|
||||
@ -528,7 +527,6 @@ class PopupSample
|
||||
<paramref name="bottom_attach" />. These each represent the leftmost,
|
||||
rightmost, uppermost and lower column and row numbers of the table.
|
||||
(Columns and rows are indexed from zero).</para>
|
||||
|
||||
<para>Note that this function is not related to <see cref="M:Gtk.Menu.Detach" />.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
@ -238,7 +238,7 @@
|
||||
<attr path="/api/namespace/object[@cname='GtkMenuItem']/signal[@name='ToggleSizeRequest']" name="name">ToggleSizeRequested</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkMenu']/method[@name='Popup']/*/*[@type='GtkMenuPositionFunc']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkMenu']/method[@name='Popup']/*/*[@type='GtkWidget*']" name="null_ok">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkMenu']/method[@name='SetScreen']" name="new_flag">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkMenu']/method[@name='SetScreen']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkMenuShell']/signal[@name='Cancel']" name="name">Canceled</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkMenuShell']/signal[@name='Deactivate']" name="name">Deactivated</attr>
|
||||
<attr path="/api/namespace/object[@cname='GtkMessageDialog']/constructor[@cname='gtk_message_dialog_new']" name="hidden">1</attr>
|
||||
|
@ -24,3 +24,19 @@
|
||||
{
|
||||
this.Popup (null, null, null, IntPtr.Zero, 3, Global.CurrentEventTime);
|
||||
}
|
||||
|
||||
[DllImport("libgtk-win32-2.0-0.dll")]
|
||||
static extern IntPtr gtk_widget_get_screen (IntPtr raw);
|
||||
|
||||
[DllImport("libgtk-win32-2.0-0.dll")]
|
||||
static extern void gtk_menu_set_screen (IntPtr raw, IntPtr screen);
|
||||
|
||||
public new Gdk.Screen Screen {
|
||||
get {
|
||||
return GLib.Object.GetObject (gtk_widget_get_screen (Handle), false) as Gdk.Screen;
|
||||
}
|
||||
set {
|
||||
gtk_menu_set_screen (Handle, value.Handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user