Пример #1
0
 public ListBoxForeachFuncWrapper(Gtk.ListBoxForeachFunc managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new ListBoxForeachFuncNative(NativeCallback);
     }
 }
Пример #2
0
 public void SelectedForeach(Gtk.ListBoxForeachFunc func)
 {
     GtkSharp.ListBoxForeachFuncWrapper func_wrapper = new GtkSharp.ListBoxForeachFuncWrapper(func);
     gtk_list_box_selected_foreach(Handle, func_wrapper.NativeDelegate, IntPtr.Zero);
 }