99793aa24f
* gdk/Gdk.metadata : hide EventVisibility. * gdk/EventVisibility.cs : glue-based manual implementation. * gdk/EventVisibility.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventVisibility. * glue/event.cs : expose Visibility struct fields. svn path=/trunk/gtk-sharp/; revision=23227
26 lines
544 B
C#
26 lines
544 B
C#
// Gdk.EventVisibility.cs - Custom visibility event wrapper
|
|
//
|
|
// Author: Mike Kestner <mkestner@ximian.com>
|
|
//
|
|
// (c) 2004 Novell, Inc.
|
|
|
|
namespace Gdk {
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public class EventVisibility : Event {
|
|
|
|
[DllImport("gtksharpglue")]
|
|
static extern VisibilityState gtksharp_gdk_event_visibility_get_state (IntPtr evt);
|
|
|
|
public EventVisibility (IntPtr raw) : base (raw) {}
|
|
|
|
public VisibilityState State {
|
|
get {
|
|
return gtksharp_gdk_event_visibility_get_state (Handle);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|