protected virtual bool OnNewWindowPolicyDecisionRequested (WebFrame frame, NetworkRequest request, WebNavigationAction action, WebPolicyDecision decision) { var val = new Value (GType.Int); var valueArray = new ValueArray (5u); var array = new Value[5]; array [0] = new Value (this); valueArray.Append (array [0]); array [1] = new Value (frame); valueArray.Append (array [1]); array [2] = new Value (request); valueArray.Append (array [2]); array [3] = new Value (action); valueArray.Append (array [3]); array [4] = new Value (decision); valueArray.Append (array [4]); GLib.Object.g_signal_chain_from_overridden (valueArray.ArrayPtr, ref val); var array2 = array; for (int i = 0; i < array2.Length; i++) { var value = array2 [i]; value.Dispose (); } bool result = (bool)val; val.Dispose (); return result; }
protected virtual void OnEos() { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray(1); GLib.Value[] vals = new GLib.Value [1]; vals [0] = new GLib.Value(this); inst_and_params.Append(vals [0]); g_signal_chain_from_overridden(inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) { v.Dispose(); } }
protected virtual void OnMediaInfo(int width, int height, int par_n, int par_d) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray(6); GLib.Value[] vals = new GLib.Value [6]; vals [0] = new GLib.Value(this); inst_and_params.Append(vals [0]); vals [1] = new GLib.Value(width); inst_and_params.Append(vals [1]); vals [2] = new GLib.Value(height); inst_and_params.Append(vals [2]); vals [3] = new GLib.Value(par_n); inst_and_params.Append(vals [3]); vals [4] = new GLib.Value(par_d); inst_and_params.Append(vals [4]); g_signal_chain_from_overridden(inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) { v.Dispose(); } }
public ListEnumerator(ValueArray vals) { this.vals = vals; }
public Value(ValueArray val) : this(ValueArray.GType) { g_value_set_boxed(ref this, val.Handle); }
public Value (ValueArray val) : this (ValueArray.GType) { g_value_set_boxed (ref this, val.Handle); }
protected virtual void OnMediaInfo (int width, int height, int par_n, int par_d) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (6); GLib.Value[] vals = new GLib.Value [6]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (width); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (height); inst_and_params.Append (vals [2]); vals [3] = new GLib.Value (par_n); inst_and_params.Append (vals [3]); vals [4] = new GLib.Value (par_d); inst_and_params.Append (vals [4]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); }
protected virtual void OnEos () { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (1); GLib.Value[] vals = new GLib.Value [1]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); }
protected virtual bool OnWebViewReady(WebFrame frame) { Value empty = Value.Empty; ValueArray valueArray = new ValueArray (2u); Value[] array = new Value[2]; array [0] = new Value (this); valueArray.Append (array [0]); array [1] = new Value (frame); valueArray.Append (array [1]); GLib.Object.g_signal_chain_from_overridden (valueArray.ArrayPtr, ref empty); Value[] array2 = array; for (int i = 0; i < array2.Length; i++) { Value value = array2 [i]; value.Dispose (); } return true; }