static void SetHasLocationCallback(IntPtr layoutable, bool has_location) { try { Cdn.LayoutableImplementor __obj = GLib.Object.GetObject(layoutable, false) as Cdn.LayoutableImplementor; __obj.HasLocation = has_location; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void SetLocationCallback(IntPtr layoutable, int x, int y) { try { Cdn.LayoutableImplementor __obj = GLib.Object.GetObject(layoutable, false) as Cdn.LayoutableImplementor; __obj.SetLocation(x, y); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void GetLocationCallback(IntPtr layoutable, out int x, out int y) { try { Cdn.LayoutableImplementor __obj = GLib.Object.GetObject(layoutable, false) as Cdn.LayoutableImplementor; __obj.GetLocation(out x, out y); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static bool GetHasLocationCallback(IntPtr layoutable) { try { Cdn.LayoutableImplementor __obj = GLib.Object.GetObject(layoutable, false) as Cdn.LayoutableImplementor; bool __result = __obj.HasLocation; return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }