static void OrientationChanged_cb(IntPtr inst, int orientation) { try { Toolbar __obj = GLib.Object.GetObject(inst, false) as Toolbar; __obj.OnOrientationChanged((Gtk.Orientation)orientation); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }