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


C# GLib.ValueArray.Append方法代码示例

本文整理汇总了C#中GLib.ValueArray.Append方法的典型用法代码示例。如果您正苦于以下问题:C# GLib.ValueArray.Append方法的具体用法?C# GLib.ValueArray.Append怎么用?C# GLib.ValueArray.Append使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在GLib.ValueArray的用法示例。


在下文中一共展示了GLib.ValueArray.Append方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OnConnectionChanged

		protected virtual void OnConnectionChanged (bool connected)
		{
			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 (connected);
			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,代码来源:Connection.cs

示例2: 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

示例3: 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

示例4: 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

示例5: 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

示例6: 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

示例7: 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

示例8: OnGotCompletionData

		protected virtual void OnGotCompletionData ()
		{
			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:Yetangitu,项目名称:f-spot,代码行数:11,代码来源:FilenameCompleter.cs

示例9: 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

示例10: 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

示例11: 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

示例12: InternalColumnInserted

		private void InternalColumnInserted (int column, int num_inserted)
		{
			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 (column);
			inst_and_params.Append (vals [1]);
			vals [2] = new GLib.Value (num_inserted);
			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,代码来源:NoOpObject.cs

示例13: InternalLinkSelected

		private void InternalLinkSelected (int link_index)
		{
			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 (link_index);
			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:akrisiun,项目名称:gtk-sharp,代码行数:13,代码来源:NoOpObject.cs

示例14: OnError

		protected virtual void OnError (string message)
		{
			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 (message);
			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,项目名称:chronojump,代码行数:13,代码来源:GstCameraCapturer.cs

示例15: 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


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