e83c55a242
* */Makefile.am : automakify the build * */Makefile.in : kill * *.custom : remove System.Drawing dependencies * *.cs : remove System.Drawing dependencies * *-api.xml : mv to *-api.raw * glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade. * gtk/gtk-symbols : alias GtkType to GType * sources/gtk-sharp-sources.xml : create .raw files. They are now transformed to .xml files by the metadata compilation step. svn path=/trunk/gtk-sharp/; revision=23967
35 lines
821 B
C#
35 lines
821 B
C#
// Gdk.EventWindowState.cs - Custom WindowState event wrapper
|
|
//
|
|
// Author: Mike Kestner <mkestner@ximian.com>
|
|
//
|
|
// (c) 2004 Novell, Inc.
|
|
|
|
namespace Gdk {
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public class EventWindowState : Event {
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern WindowState gtksharp_gdk_event_window_state_get_changed_mask (IntPtr evt);
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern WindowState gtksharp_gdk_event_window_state_get_new_window_state (IntPtr evt);
|
|
|
|
public EventWindowState (IntPtr raw) : base (raw) {}
|
|
|
|
public WindowState ChangedMask {
|
|
get {
|
|
return gtksharp_gdk_event_window_state_get_changed_mask (Handle);
|
|
}
|
|
}
|
|
|
|
public WindowState NewWindowState {
|
|
get {
|
|
return gtksharp_gdk_event_window_state_get_new_window_state (Handle);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|