Пример #1
0
 public void RequestTargets(Gtk.ClipboardTargetsReceivedFunc cb)
 {
     GtkSharp.ClipboardTargetsReceivedFuncWrapper cb_wrapper = new GtkSharp.ClipboardTargetsReceivedFuncWrapper(cb);
     cb_wrapper.PersistUntilCalled();
     gtk_clipboard_request_targets(Handle, cb_wrapper.NativeDelegate, IntPtr.Zero);
 }
Пример #2
0
		public void RequestTargets(Gtk.ClipboardTargetsReceivedFunc cb) {
			GtkSharp.ClipboardTargetsReceivedFuncWrapper cb_wrapper = new GtkSharp.ClipboardTargetsReceivedFuncWrapper (cb);
			cb_wrapper.PersistUntilCalled ();
			gtk_clipboard_request_targets(Handle, cb_wrapper.NativeDelegate, IntPtr.Zero);
		}