mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 13:05:37 +00:00
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
36 lines
754 B
C#
36 lines
754 B
C#
// 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 {
|
|
|
|
[DllImport("gdksharpglue")]
|
|
static extern SettingAction gtksharp_gdk_event_setting_get_action (IntPtr evt);
|
|
|
|
[DllImport("gdksharpglue")]
|
|
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));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|