コード例 #1
0
 static IntPtr GetWidget_cb(IntPtr inst, IntPtr path)
 {
     try {
         UIManager  __obj = GLib.Object.GetObject(inst, false) as UIManager;
         Gtk.Widget __result;
         __result = __obj.OnGetWidget(GLib.Marshaller.Utf8PtrToString(path));
         return(__result == null ? IntPtr.Zero : __result.Handle);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }