コード例 #1
0
 private static void OverridePercentCompleted(GLib.GType gtype)
 {
     if (PercentCompletedVMCallback == null)
     {
         PercentCompletedVMCallback = new PercentCompletedVMDelegate(percentcompleted_cb);
     }
     OverrideVirtualMethod(gtype, "percent_completed", PercentCompletedVMCallback);
 }
コード例 #2
0
		private static void OverridePercentCompleted(GLib.GType gtype)
		{
			if(PercentCompletedVMCallback == null)
				PercentCompletedVMCallback = new PercentCompletedVMDelegate(percentcompleted_cb);
			OverrideVirtualMethod(gtype, "percent_completed", PercentCompletedVMCallback);
		}