public static void gtk_font_chooser_set_font(IntPtr fontchooser, string fontname) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.gtk_font_chooser_set_font(fontchooser, fontname); } else if (EtoEnvironment.Platform.IsMac) { NMMac.gtk_font_chooser_set_font(fontchooser, fontname); } else { NMWindows.gtk_font_chooser_set_font(fontchooser, fontname); } }