static void EndPreview_cb(IntPtr inst) { try { IPrintOperationPreviewImplementor __obj = GLib.Object.GetObject(inst, false) as IPrintOperationPreviewImplementor; __obj.EndPreview(); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void RenderPage_cb(IntPtr inst, int page_nr) { try { IPrintOperationPreviewImplementor __obj = GLib.Object.GetObject(inst, false) as IPrintOperationPreviewImplementor; __obj.RenderPage(page_nr); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
public PrintOperationPreviewAdapter(IPrintOperationPreviewImplementor implementor) { if (implementor == null) { throw new ArgumentNullException("implementor"); } else if (!(implementor is GLib.Object)) { throw new ArgumentException("implementor must be a subclass of GLib.Object"); } this.implementor = implementor as GLib.Object; }
static bool IsSelected_cb(IntPtr inst, int page_nr) { try { IPrintOperationPreviewImplementor __obj = GLib.Object.GetObject(inst, false) as IPrintOperationPreviewImplementor; bool __result; __result = __obj.IsSelected(page_nr); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
public PrintOperationPreviewAdapter (IPrintOperationPreviewImplementor implementor) { if (implementor == null) throw new ArgumentNullException ("implementor"); else if (!(implementor is GLib.Object)) throw new ArgumentException ("implementor must be a subclass of GLib.Object"); this.implementor = implementor as GLib.Object; }