当前位置: 首页>>代码示例>>C#>>正文


C# GLib.ValueArray类代码示例

本文整理汇总了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 ();
		}
开发者ID:joeshaw,项目名称:libredcarpet,代码行数:11,代码来源:World.cs

示例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 ();
		}
开发者ID:akrisiun,项目名称:gtk-sharp,代码行数:11,代码来源:ModifierStyle.cs

示例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 ();
		}
开发者ID:joeshaw,项目名称:libredcarpet,代码行数:13,代码来源:WorldMulti.cs

示例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 ();
		}
开发者ID:chergert,项目名称:ethos,代码行数:13,代码来源:Manager.cs

示例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 ();
		}
开发者ID:zodman,项目名称:PackageKit,代码行数:13,代码来源:ServicePack.cs

示例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 ();
		}
开发者ID:zodman,项目名称:PackageKit,代码行数:15,代码来源:Client.cs

示例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 ();
		}
开发者ID:zodman,项目名称:PackageKit,代码行数:15,代码来源:Catalog.cs

示例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 ();
		}
开发者ID:zodman,项目名称:PackageKit,代码行数:17,代码来源:TaskList.cs

示例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 ();
		}
开发者ID:Yetangitu,项目名称:f-spot,代码行数:17,代码来源:FileMonitor.cs

示例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();
		}
开发者ID:dineshkummarc,项目名称:longomatch,代码行数:13,代码来源:GstVideoSplitter.cs

示例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;
		}
开发者ID:akrisiun,项目名称:gtk-sharp,代码行数:16,代码来源:Toolbar.cs

示例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 ();
		}
开发者ID:Yetangitu,项目名称:f-spot,代码行数:19,代码来源:MountOperation.cs

示例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 ();
		}
开发者ID:Yetangitu,项目名称:f-spot,代码行数:17,代码来源:MountOperation.cs

示例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 ();
		}
开发者ID:akrisiun,项目名称:gtk-sharp,代码行数:15,代码来源:ActionGroup.cs

示例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 ();
		}
开发者ID:Yetangitu,项目名称:f-spot,代码行数:13,代码来源:MountOperation.cs


注:本文中的GLib.ValueArray类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。