public ThemeFileSectionFuncWrapper(Gnome.ThemeFileSectionFunc managed) { this.managed = managed; if (managed != null) { NativeDelegate = new ThemeFileSectionFuncNative(NativeCallback); } }
public void ForeachSection(Gnome.ThemeFileSectionFunc func) { GnomeSharp.ThemeFileSectionFuncWrapper func_wrapper = new GnomeSharp.ThemeFileSectionFuncWrapper(func); gnome_theme_file_foreach_section(Handle, func_wrapper.NativeDelegate, IntPtr.Zero); }