2004-02-20 22:33:32 +00:00
|
|
|
// Gdk.EventSetting.cs - Custom Setting event wrapper
|
|
|
|
//
|
|
|
|
// Author: Mike Kestner <mkestner@ximian.com>
|
|
|
|
//
|
|
|
|
// (c) 2004 Novell, Inc.
|
|
|
|
|
|
|
|
namespace Gdk {
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
public class EventSetting : Event {
|
|
|
|
|
2004-03-12 21:18:11 +00:00
|
|
|
[DllImport("gdksharpglue")]
|
2004-02-20 22:33:32 +00:00
|
|
|
static extern SettingAction gtksharp_gdk_event_setting_get_action (IntPtr evt);
|
|
|
|
|
2004-03-12 21:18:11 +00:00
|
|
|
[DllImport("gdksharpglue")]
|
2004-02-20 22:33:32 +00:00
|
|
|
static extern IntPtr gtksharp_gdk_event_setting_get_name (IntPtr evt);
|
|
|
|
|
|
|
|
public EventSetting (IntPtr raw) : base (raw) {}
|
|
|
|
|
|
|
|
public SettingAction Action {
|
|
|
|
get {
|
|
|
|
return gtksharp_gdk_event_setting_get_action (Handle);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public string Name {
|
|
|
|
get {
|
|
|
|
return Marshal.PtrToStringAnsi (gtksharp_gdk_event_setting_get_name (Handle));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|