static void DeletedText_cb(IntPtr inst, uint position, uint n_chars) { try { EntryBuffer __obj = GLib.Object.GetObject(inst, false) as EntryBuffer; __obj.OnDeletedText(position, n_chars); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void InsertedText_cb(IntPtr inst, uint position, IntPtr chars, uint n_chars) { try { EntryBuffer __obj = GLib.Object.GetObject(inst, false) as EntryBuffer; __obj.OnInsertedText(position, GLib.Marshaller.Utf8PtrToString(chars), n_chars); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static uint DeleteText_cb(IntPtr inst, uint position, uint n_chars) { try { EntryBuffer __obj = GLib.Object.GetObject(inst, false) as EntryBuffer; uint __result; __result = __obj.OnDeleteText(position, n_chars); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static uint GetLength_cb(IntPtr inst) { try { EntryBuffer __obj = GLib.Object.GetObject(inst, false) as EntryBuffer; uint __result; __result = __obj.OnGetLength(); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static IntPtr GetText_cb(IntPtr inst, out UIntPtr n_bytes) { try { EntryBuffer __obj = GLib.Object.GetObject(inst, false) as EntryBuffer; string __result; ulong myn_bytes; __result = __obj.OnGetText(out myn_bytes); n_bytes = new UIntPtr(myn_bytes); return(GLib.Marshaller.StringToPtrGStrdup(__result)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }