Пример #1
0
 public void RequestInteractionInterp(Gnome.DialogType dialog_type, Gtk.CallbackMarshal function, IntPtr data, Gtk.DestroyNotify destroy)
 {
     RequestInteractionInterp(dialog_type, function, destroy);
 }
Пример #2
0
 public void RequestInteraction(Gnome.DialogType dialog_type, Gnome.InteractFunction function)
 {
     GnomeSharp.InteractFunctionWrapper function_wrapper = new GnomeSharp.InteractFunctionWrapper(function);
     gnome_client_request_interaction(Handle, (int)dialog_type, function_wrapper.NativeDelegate, IntPtr.Zero);
 }
Пример #3
0
 public void RequestInteractionInterp(Gnome.DialogType dialog_type, Gtk.CallbackMarshal function, Gtk.DestroyNotify destroy)
 {
     GtkSharp.CallbackMarshalWrapper function_wrapper = new GtkSharp.CallbackMarshalWrapper(function);
     GtkSharp.DestroyNotifyWrapper   destroy_wrapper  = new GtkSharp.DestroyNotifyWrapper(destroy);
     gnome_client_request_interaction_interp(Handle, (int)dialog_type, function_wrapper.NativeDelegate, IntPtr.Zero, destroy_wrapper.NativeDelegate);
 }
Пример #4
0
 void InvokeNative(Gnome.Client client, int key, Gnome.DialogType dialog_type)
 {
     native_cb(client == null ? IntPtr.Zero : client.Handle, key, (int)dialog_type, __data);
 }