本文整理汇总了C#中GLib.ValueArray类的典型用法代码示例。如果您正苦于以下问题:C# GLib.ValueArray类的具体用法?C# GLib.ValueArray怎么用?C# GLib.ValueArray使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
GLib.ValueArray类属于命名空间,在下文中一共展示了GLib.ValueArray类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OnChangedChannels
protected virtual void OnChangedChannels ()
{
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 ();
}
示例2: InternalChanged
private void InternalChanged ()
{
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 ();
}
示例3: OnSubworldRemoved
protected virtual void OnSubworldRemoved (RC.World subworld)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (2);
GLib.Value[] vals = new GLib.Value [2];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (subworld);
inst_and_params.Append (vals [1]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
}
示例4: OnPluginLoaded
protected virtual void OnPluginLoaded (Ethos.PluginInfo plugin_info)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (2);
GLib.Value[] vals = new GLib.Value [2];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (plugin_info);
inst_and_params.Append (vals [1]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
}
示例5: OnPackage
protected virtual void OnPackage (PackageKit.PackageObj obj)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (2);
GLib.Value[] vals = new GLib.Value [2];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (obj);
inst_and_params.Append (vals [1]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
}
示例6: OnMessage
protected virtual void OnMessage (PackageKit.MessageEnum message, string details)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (3);
GLib.Value[] vals = new GLib.Value [3];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (message);
inst_and_params.Append (vals [1]);
vals [2] = new GLib.Value (details);
inst_and_params.Append (vals [2]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
}
示例7: OnProgress
protected virtual void OnProgress (uint p0, string p1)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (3);
GLib.Value[] vals = new GLib.Value [3];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (p0);
inst_and_params.Append (vals [1]);
vals [2] = new GLib.Value (p1);
inst_and_params.Append (vals [2]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
}
示例8: OnErrorCode
protected virtual void OnErrorCode (PackageKit.Client client, PackageKit.ErrorCodeEnum code, string details)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (4);
GLib.Value[] vals = new GLib.Value [4];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (client);
inst_and_params.Append (vals [1]);
vals [2] = new GLib.Value (code);
inst_and_params.Append (vals [2]);
vals [3] = new GLib.Value (details);
inst_and_params.Append (vals [3]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
}
示例9: OnChanged
protected virtual void OnChanged (GLib.File file, GLib.File other_file, GLib.FileMonitorEvent event_type)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (4);
GLib.Value[] vals = new GLib.Value [4];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (file);
inst_and_params.Append (vals [1]);
vals [2] = new GLib.Value (other_file);
inst_and_params.Append (vals [2]);
vals [3] = new GLib.Value (event_type);
inst_and_params.Append (vals [3]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
}
示例10: OnPercentCompleted
protected virtual void OnPercentCompleted(float percent)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray(2);
GLib.Value[] vals = new GLib.Value [2];
vals [0] = new GLib.Value(this);
inst_and_params.Append(vals [0]);
vals [1] = new GLib.Value(percent);
inst_and_params.Append(vals [1]);
g_signal_chain_from_overridden(inst_and_params.ArrayPtr, ref ret);
foreach(GLib.Value v in vals)
v.Dispose();
}
示例11: InternalFocusHomeOrEnd
private bool InternalFocusHomeOrEnd (bool p0)
{
GLib.Value ret = new GLib.Value (GLib.GType.Boolean);
GLib.ValueArray inst_and_params = new GLib.ValueArray (2);
GLib.Value[] vals = new GLib.Value [2];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (p0);
inst_and_params.Append (vals [1]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
bool result = (bool) ret;
ret.Dispose ();
return result;
}
示例12: OnAskPassword
protected virtual void OnAskPassword (string message, string default_user, string default_domain, GLib.AskPasswordFlags flags)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (5);
GLib.Value[] vals = new GLib.Value [5];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (message);
inst_and_params.Append (vals [1]);
vals [2] = new GLib.Value (default_user);
inst_and_params.Append (vals [2]);
vals [3] = new GLib.Value (default_domain);
inst_and_params.Append (vals [3]);
vals [4] = new GLib.Value (flags);
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 ();
}
示例13: OnShowProcesses
protected virtual void OnShowProcesses (string message, IntPtr processes, string[] choices)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (4);
GLib.Value[] vals = new GLib.Value [4];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (message);
inst_and_params.Append (vals [1]);
vals [2] = new GLib.Value (processes);
inst_and_params.Append (vals [2]);
vals [3] = new GLib.Value (choices);
inst_and_params.Append (vals [3]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
}
示例14: InternalDisconnectProxy
private void InternalDisconnectProxy (Gtk.Action action, Gtk.Widget proxy)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (3);
GLib.Value[] vals = new GLib.Value [3];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (action);
inst_and_params.Append (vals [1]);
vals [2] = new GLib.Value (proxy);
inst_and_params.Append (vals [2]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
}
示例15: OnReply
protected virtual void OnReply (GLib.MountOperationResult result)
{
GLib.Value ret = GLib.Value.Empty;
GLib.ValueArray inst_and_params = new GLib.ValueArray (2);
GLib.Value[] vals = new GLib.Value [2];
vals [0] = new GLib.Value (this);
inst_and_params.Append (vals [0]);
vals [1] = new GLib.Value (result);
inst_and_params.Append (vals [1]);
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
foreach (GLib.Value v in vals)
v.Dispose ();
}