public static void JSStringGetUTF8CString(IntPtr js_str_value, IntPtr str_value, int str_length) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.JSStringGetUTF8CString(js_str_value, str_value, str_length); } else if (EtoEnvironment.Platform.IsMac) { NMMac.JSStringGetUTF8CString(js_str_value, str_value, str_length); } else { NMWindows.JSStringGetUTF8CString(js_str_value, str_value, str_length); } }
public static void webkit_web_view_load_html(IntPtr web_view, string content, string base_uri) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.webkit_web_view_load_html(web_view, content, base_uri); } else if (EtoEnvironment.Platform.IsMac) { NMMac.webkit_web_view_load_html(web_view, content, base_uri); } else { NMWindows.webkit_web_view_load_html(web_view, content, base_uri); } }
public static bool webkit_web_view_can_go_forward(IntPtr web_view) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.webkit_web_view_can_go_forward(web_view)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.webkit_web_view_can_go_forward(web_view)); } else { return(NMWindows.webkit_web_view_can_go_forward(web_view)); } }
public static void gtk_header_bar_set_show_close_button(IntPtr bar, bool setting) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.gtk_header_bar_set_show_close_button(bar, setting); } else if (EtoEnvironment.Platform.IsMac) { NMMac.gtk_header_bar_set_show_close_button(bar, setting); } else { NMWindows.gtk_header_bar_set_show_close_button(bar, setting); } }
public static IntPtr webkit_web_view_new() { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.webkit_web_view_new()); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.webkit_web_view_new()); } else { return(NMWindows.webkit_web_view_new()); } }
public static bool gtk_application_prefers_app_menu(IntPtr application) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.gtk_application_prefers_app_menu(application)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.gtk_application_prefers_app_menu(application)); } else { return(NMWindows.gtk_application_prefers_app_menu(application)); } }
public static void gtk_window_set_titlebar(IntPtr window, IntPtr widget) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.gtk_window_set_titlebar(window, widget); } else if (EtoEnvironment.Platform.IsMac) { NMMac.gtk_window_set_titlebar(window, widget); } else { NMWindows.gtk_window_set_titlebar(window, widget); } }
public static bool gtk_clipboard_wait_for_targets(IntPtr cp, out IntPtr atoms, out int number) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.gtk_clipboard_wait_for_targets(cp, out atoms, out number)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.gtk_clipboard_wait_for_targets(cp, out atoms, out number)); } else { return(NMWindows.gtk_clipboard_wait_for_targets(cp, out atoms, out number)); } }
public static void gtk_entry_set_placeholder_text(IntPtr entry, string text) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.gtk_entry_set_placeholder_text(entry, text); } else if (EtoEnvironment.Platform.IsMac) { NMMac.gtk_entry_set_placeholder_text(entry, text); } else { NMWindows.gtk_entry_set_placeholder_text(entry, text); } }
public static bool gdk_cairo_get_clip_rectangle(IntPtr context, IntPtr rect) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.gdk_cairo_get_clip_rectangle(context, rect)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.gdk_cairo_get_clip_rectangle(context, rect)); } else { return(NMWindows.gdk_cairo_get_clip_rectangle(context, rect)); } }
public static void g_signal_stop_emission_by_name(IntPtr instance, string name) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.g_signal_stop_emission_by_name(instance, name); } else if (EtoEnvironment.Platform.IsMac) { NMMac.g_signal_stop_emission_by_name(instance, name); } else { NMWindows.g_signal_stop_emission_by_name(instance, name); } }
public static string webkit_uri_request_get_uri(IntPtr request) { if (EtoEnvironment.Platform.IsLinux) { return(GetString(NMLinux.webkit_uri_request_get_uri(request))); } else if (EtoEnvironment.Platform.IsMac) { return(GetString(NMMac.webkit_uri_request_get_uri(request))); } else { return(GetString(NMWindows.webkit_uri_request_get_uri(request))); } }
public static IntPtr webkit_navigation_policy_decision_get_request(IntPtr decision) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.webkit_navigation_policy_decision_get_request(decision)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.webkit_navigation_policy_decision_get_request(decision)); } else { return(NMWindows.webkit_navigation_policy_decision_get_request(decision)); } }
public static void JSStringRelease(IntPtr js_str_value) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.JSStringRelease(js_str_value); } else if (EtoEnvironment.Platform.IsMac) { NMMac.JSStringRelease(js_str_value); } else { NMWindows.JSStringRelease(js_str_value); } }
public static IntPtr g_file_new_for_path(string path) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.g_file_new_for_path(path)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.g_file_new_for_path(path)); } else { return(NMWindows.g_file_new_for_path(path)); } }
public static IntPtr gtk_print_settings_get_page_ranges(IntPtr handle, out int num_ranges) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.gtk_print_settings_get_page_ranges(handle, out num_ranges)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.gtk_print_settings_get_page_ranges(handle, out num_ranges)); } else { return(NMWindows.gtk_print_settings_get_page_ranges(handle, out num_ranges)); } }
public static IntPtr gtk_app_chooser_dialog_new(IntPtr parrent, int flags, IntPtr file) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.gtk_app_chooser_dialog_new(parrent, flags, file)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.gtk_app_chooser_dialog_new(parrent, flags, file)); } else { return(NMWindows.gtk_app_chooser_dialog_new(parrent, flags, file)); } }
public static void gtk_color_chooser_set_rgba(IntPtr chooser, double[] color) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.gtk_color_chooser_set_rgba(chooser, color); } else if (EtoEnvironment.Platform.IsMac) { NMMac.gtk_color_chooser_set_rgba(chooser, color); } else { NMWindows.gtk_color_chooser_set_rgba(chooser, color); } }
public static IntPtr gtk_header_bar_new() { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.gtk_header_bar_new()); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.gtk_header_bar_new()); } else { return(NMWindows.gtk_header_bar_new()); } }
public static void gtk_color_chooser_set_use_alpha(IntPtr chooser, bool use_alpha) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.gtk_color_chooser_set_use_alpha(chooser, use_alpha); } else if (EtoEnvironment.Platform.IsMac) { NMMac.gtk_color_chooser_set_use_alpha(chooser, use_alpha); } else { NMWindows.gtk_color_chooser_set_use_alpha(chooser, use_alpha); } }
public static void gtk_header_bar_pack_end(IntPtr bar, IntPtr child) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.gtk_header_bar_pack_end(bar, child); } else if (EtoEnvironment.Platform.IsMac) { NMMac.gtk_header_bar_pack_end(bar, child); } else { NMWindows.gtk_header_bar_pack_end(bar, child); } }
public static bool gtk_color_chooser_get_use_alpha(IntPtr chooser) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.gtk_color_chooser_get_use_alpha(chooser)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.gtk_color_chooser_get_use_alpha(chooser)); } else { return(NMWindows.gtk_color_chooser_get_use_alpha(chooser)); } }
public static bool gtk_selection_data_set_uris(IntPtr raw, IntPtr[] uris) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.gtk_selection_data_set_uris(raw, uris)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.gtk_selection_data_set_uris(raw, uris)); } else { return(NMWindows.gtk_selection_data_set_uris(raw, uris)); } }
public static IntPtr gtk_font_chooser_dialog_new(string title, IntPtr parent) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.gtk_font_chooser_dialog_new(title, parent)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.gtk_font_chooser_dialog_new(title, parent)); } else { return(NMWindows.gtk_font_chooser_dialog_new(title, parent)); } }
public static void webkit_web_view_load_uri(IntPtr web_view, string uri) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.webkit_web_view_load_uri(web_view, uri); } else if (EtoEnvironment.Platform.IsMac) { NMMac.webkit_web_view_load_uri(web_view, uri); } else { NMWindows.webkit_web_view_load_uri(web_view, uri); } }
public static string gtk_font_chooser_get_font(IntPtr fontchooser) { if (EtoEnvironment.Platform.IsLinux) { return(GetString(NMLinux.gtk_font_chooser_get_font(fontchooser))); } else if (EtoEnvironment.Platform.IsMac) { return(GetString(NMMac.gtk_font_chooser_get_font(fontchooser))); } else { return(GetString(NMWindows.gtk_font_chooser_get_font(fontchooser))); } }
public static string webkit_web_view_get_title(IntPtr web_view) { if (EtoEnvironment.Platform.IsLinux) { return(GetString(NMLinux.webkit_web_view_get_title(web_view))); } else if (EtoEnvironment.Platform.IsMac) { return(GetString(NMMac.webkit_web_view_get_title(web_view))); } else { return(GetString(NMWindows.webkit_web_view_get_title(web_view))); } }
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); } }
public static void webkit_web_view_go_forward(IntPtr web_view) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.webkit_web_view_go_forward(web_view); } else if (EtoEnvironment.Platform.IsMac) { NMMac.webkit_web_view_go_forward(web_view); } else { NMWindows.webkit_web_view_go_forward(web_view); } }
public static int JSStringGetMaximumUTF8CStringSize(IntPtr js_str_value) { if (EtoEnvironment.Platform.IsLinux) { return(NMLinux.JSStringGetMaximumUTF8CStringSize(js_str_value)); } else if (EtoEnvironment.Platform.IsMac) { return(NMMac.JSStringGetMaximumUTF8CStringSize(js_str_value)); } else { return(NMWindows.JSStringGetMaximumUTF8CStringSize(js_str_value)); } }