Class Graphene
java.lang.Object
org.eclipse.swt.internal.Platform
org.eclipse.swt.internal.C
org.eclipse.swt.internal.gtk.OS
org.eclipse.swt.internal.gtk.Graphene
This class contains Graphene specific native functions. Please note this library is only relevant
for GTK4 and above.
In contrast to OS.java, dynamic functions are automatically linked, no need to add os_custom.h entries.
-
Field Summary
Fields inherited from class OS
accel_closures_changed, action_copy_clipboard, action_cut_clipboard, action_paste_clipboard, activate, active, angle_changed, background_rgba, backspace, begin, BIG_ENDIAN, button_press_event, button_release_event, cell_background_rgba, change_value, changed, clicked, close_request, commit, compute_size, configure_event, copy_clipboard, create_menu_proxy, CurrentTime, cut_clipboard, day_selected, day_selected_double_click, DBUS_TYPE_ARRAY, DBUS_TYPE_BOOLEAN, DBUS_TYPE_BYTE, DBUS_TYPE_DOUBLE, DBUS_TYPE_INT32, DBUS_TYPE_SINGLE_COMPLETE, DBUS_TYPE_STRING, DBUS_TYPE_STRING_ARRAY, DBUS_TYPE_STRUCT, DBUS_TYPE_STRUCT_ARRAY_BROWSER_FUNCS, DBUS_TYPE_UINT64, default_border, delete_event, delete_from_cursor, delete_range, delete_text, direction_changed, dpi_changed, drag_begin, drag_data_delete, drag_data_get, drag_data_received, drag_drop, drag_end, drag_leave, drag_motion, draw, end, enter, enter_notify_event, event, event_after, expand_collapse_cursor_row, expander_size, Expose, ExposureMask, fixed_height_mode, focus, focus_in, focus_in_event, focus_line_width, focus_out, focus_out_event, focus_padding, FocusIn, FocusOut, font_desc, foreground_rgba, G_APP_INFO_CREATE_NONE, G_APP_INFO_CREATE_SUPPORTS_URIS, G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT, G_BUS_NAME_OWNER_FLAGS_REPLACE, G_BUS_TYPE_SESSION, G_DBUS_CALL_FLAGS_NONE, G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START, G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS, G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, G_FILE_ERROR_IO, G_FILE_TEST_IS_DIR, G_FILE_TEST_IS_EXECUTABLE, G_LOG_FLAG_FATAL, G_LOG_FLAG_RECURSION, G_LOG_LEVEL_MASK, G_SIGNAL_MATCH_DATA, G_SIGNAL_MATCH_ID, G_VARIANT_TYPE_ARRAY_BROWSER_FUNCS, G_VARIANT_TYPE_BOOLEAN, G_VARIANT_TYPE_BYTE, G_VARIANT_TYPE_DOUBLE, G_VARIANT_TYPE_IN32, G_VARIANT_TYPE_STRING, G_VARIANT_TYPE_STRING_ARRAY, G_VARIANT_TYPE_TUPLE, G_VARIANT_TYPE_UINT64, gicon, GLIB_VERSION, grab_focus, GraphicsExpose, grid_line_width, GTK_OVERLAY_SCROLLING_DISABLED, GTK_THEME_SET, GTK_THEME_SET_NAME, GTK_TYPE_TEXT_BUFFER, has_backward_stepper, has_forward_stepper, has_secondary_backward_stepper, has_secondary_forward_stepper, hide, horizontal_separator, icon_release, inconsistent, indicator_size, indicator_spacing, inner_border, insert_text, interior_focus, isGNOME, IsLinux, IsWin32, key_press_event, key_pressed, key_release_event, key_released, keys_changed, leave, leave_notify_event, map, map_event, margin, margin_bottom, margin_top, mnemonic_activate, mode, model, month_changed, motion, motion_notify_event, move_cursor, move_focus, next_month, next_year, notify_default_height, notify_default_width, notify_is_active, notify_maximized, notify_state, notify_theme_change, NotifyAncestor, NotifyNonlinear, NotifyNonlinearVirtual, NotifyNormal, NotifyVirtual, NotifyWhileGrabbed, output, PANGO_ALIGN_CENTER, PANGO_ALIGN_LEFT, PANGO_ALIGN_RIGHT, PANGO_ATTR_BACKGROUND, PANGO_ATTR_FOREGROUND, PANGO_ATTR_UNDERLINE, PANGO_ATTR_UNDERLINE_COLOR, PANGO_DIRECTION_LTR, PANGO_DIRECTION_RTL, PANGO_FONT_MASK_FAMILY, PANGO_FONT_MASK_SIZE, PANGO_FONT_MASK_STYLE, PANGO_FONT_MASK_WEIGHT, PANGO_SCALE, PANGO_STRETCH_CONDENSED, PANGO_STRETCH_EXPANDED, PANGO_STRETCH_EXTRA_CONDENSED, PANGO_STRETCH_EXTRA_EXPANDED, PANGO_STRETCH_NORMAL, PANGO_STRETCH_SEMI_CONDENSED, PANGO_STRETCH_SEMI_EXPANDED, PANGO_STRETCH_ULTRA_CONDENSED, PANGO_STRETCH_ULTRA_EXPANDED, PANGO_STYLE_ITALIC, PANGO_STYLE_NORMAL, PANGO_STYLE_OBLIQUE, PANGO_TAB_LEFT, PANGO_UNDERLINE_DOUBLE, PANGO_UNDERLINE_ERROR, PANGO_UNDERLINE_LOW, PANGO_UNDERLINE_NONE, PANGO_UNDERLINE_SINGLE, PANGO_VARIANT_NORMAL, PANGO_VARIANT_SMALL_CAPS, PANGO_WEIGHT_BOLD, PANGO_WEIGHT_NORMAL, PANGO_WRAP_WORD_CHAR, paste_clipboard, pixbuf, popped_up, populate_popup, popup_menu, preedit_changed, prepare, pressed, prev_month, prev_year, realize, released, resize, response, RevertToParent, row_activated, row_changed, row_has_child_toggled, scale_changed, scroll, scroll_child, scroll_event, scrollbar_spacing, select, selection_done, show, show_help, size_allocate, spacing, start_interactive_search, style_updated, switch_page, SWT_DEBUG, SWT_LIB_VERSIONS, SWT_MENU_LOCATION_DEBUGGING, SWT_PADDED_MENU_ITEMS, test_collapse_row, test_expand_row, text, toggled, unmap, unmap_event, value_changed, window_state_event, xalign, ypad
Fields inherited from class C
PTR_SIZEOF
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final long
static final void
graphene_rect_free
(long rectangle) static final long
graphene_rect_init
(long rectangle, float x, float y, float width, float height) Methods inherited from class OS
addressof_g_free, ascii, call, call, call, Call, Call, FcConfigAppFontAddFile, g_action_get_enabled, g_action_get_state, g_action_map_add_action, g_action_map_remove_action, g_app_info_create_from_commandline, g_app_info_get_all, g_app_info_get_default_for_type, g_app_info_get_executable, g_app_info_get_icon, g_app_info_get_name, g_app_info_launch, g_app_info_launch_default_for_uri, g_app_info_supports_uris, g_bus_own_name, g_bytes_new, g_bytes_unref, g_cclosure_new, g_closure_ref, g_closure_sink, g_closure_unref, g_content_type_equals, g_content_type_is_a, g_date_time_get_ymd, g_date_time_new_local, g_date_time_unref, g_dbus_connection_register_object, g_dbus_method_invocation_return_value, g_dbus_node_info_lookup_interface, g_dbus_node_info_new_for_xml, g_dbus_proxy_call, g_dbus_proxy_call_sync, g_dbus_proxy_get_name_owner, g_dbus_proxy_new_for_bus_sync, g_dir_make_tmp, g_error_free, g_error_get_message, g_error_matches, g_file_error_quark, g_file_get_path, g_file_get_uri, g_file_info_get_content_type, g_file_new_for_commandline_arg, g_file_new_for_path, g_file_new_for_uri, g_file_query_info, g_file_test, g_filename_display_name, g_filename_from_uri, g_filename_from_utf8, g_filename_to_uri, g_filename_to_utf8, g_free, g_get_current_time, g_getenv, g_icon_new_for_string, g_icon_to_string, g_idle_add, g_list_append, g_list_data, g_list_free, g_list_last, g_list_length, g_list_model_get_item, g_list_model_get_n_items, g_list_next, g_list_nth_data, g_list_previous, g_log_default_handler, g_log_remove_handler, g_log_set_handler, g_main_context_acquire, g_main_context_check, g_main_context_default, g_main_context_get_poll_func, g_main_context_iteration, g_main_context_prepare, g_main_context_query, g_main_context_release, g_main_context_wakeup, g_malloc, g_memory_input_stream_new_from_data, g_menu_insert_item, g_menu_item_new, g_menu_item_new_section, g_menu_item_new_submenu, g_menu_item_set_attribute, g_menu_item_set_label, g_menu_item_set_submenu, g_menu_new, g_menu_remove, G_OBJECT_CLASS_CONSTRUCTOR, G_OBJECT_CLASS_SET_CONSTRUCTOR, g_object_get, g_object_get, G_OBJECT_GET_CLASS, g_object_get_qdata, g_object_new, g_object_notify, g_object_ref, g_object_ref_sink, g_object_set, g_object_set, g_object_set, g_object_set, g_object_set, g_object_set, g_object_set_qdata, G_OBJECT_TYPE, G_OBJECT_TYPE_NAME, g_object_unref, g_quark_from_string, g_set_prgname, g_signal_add_emission_hook, g_signal_connect, g_signal_connect_closure, g_signal_connect_closure_by_id, g_signal_emit_by_name, g_signal_emit_by_name, g_signal_emit_by_name, g_signal_emit_by_name, g_signal_emit_by_name, g_signal_handler_disconnect, g_signal_handlers_block_matched, g_signal_handlers_unblock_matched, g_signal_lookup, g_signal_remove_emission_hook, g_signal_stop_emission_by_name, g_simple_action_group_new, g_simple_action_new, g_simple_action_new_stateful, g_simple_action_set_enabled, g_simple_action_set_state, g_slist_append, g_slist_data, g_slist_free, g_slist_length, g_slist_next, g_source_remove, g_strdup, g_strfreev, g_strtod, g_time_val_add, g_timeout_add, G_TYPE_BOOLEAN, g_type_class_peek, g_type_class_peek_parent, g_type_class_ref, g_type_class_unref, G_TYPE_DOUBLE, G_TYPE_FLOAT, G_TYPE_INT, G_TYPE_INT64, g_type_interface_peek_parent, g_type_is_a, G_TYPE_LONG, g_type_parent, g_type_register_static, G_TYPE_STRING, g_unsetenv, g_utf16_offset_to_pointer, g_utf16_offset_to_utf8_offset, g_utf16_pointer_to_offset, g_utf16_strlen, g_utf16_to_utf8, g_utf8_offset_to_utf16_offset, g_utf8_pointer_to_offset, g_utf8_strlen, g_utf8_to_utf16, g_utf8_to_utf16, g_value_get_double, g_value_get_float, g_value_get_int, g_value_get_int64, g_value_get_object, g_value_get_string, g_value_init, g_value_peek_pointer, g_value_set_double, g_value_set_float, g_value_set_int, g_value_set_int64, g_value_set_string, G_VALUE_TYPE, g_value_unset, g_variant_builder_add_value, g_variant_builder_end, g_variant_builder_new, g_variant_builder_unref, g_variant_get_boolean, g_variant_get_byte, g_variant_get_child_value, g_variant_get_double, g_variant_get_int32, g_variant_get_string, g_variant_get_type_string, g_variant_get_uint64, g_variant_is_of_type, g_variant_n_children, g_variant_new, g_variant_new, g_variant_new, g_variant_new_boolean, g_variant_new_byte, g_variant_new_double, g_variant_new_int32, g_variant_new_string, g_variant_new_string, g_variant_new_tuple, g_variant_new_uint64, g_variant_type_free, g_variant_type_new, g_variant_unref, GDK_WINDOWING_WAYLAND, GDK_WINDOWING_X11, getEnvironmentalVariable, getThemeName, getThemeNameBytes, glib_major_version, glib_micro_version, glib_minor_version, GPollFD_sizeof, GTypeInfo_sizeof, GValue_sizeof, imContextLast, imContextNewProc_CALLBACK, isWayland, isX11, localeconv_decimal_point, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, pango_attr_background_new, pango_attr_font_desc_new, pango_attr_foreground_new, pango_attr_insert_hyphens_new, pango_attr_iterator_destroy, pango_attr_iterator_get, pango_attr_iterator_next, pango_attr_iterator_range, pango_attr_list_get_iterator, pango_attr_list_insert, pango_attr_list_new, pango_attr_list_unref, pango_attr_rise_new, pango_attr_shape_new, pango_attr_strikethrough_color_new, pango_attr_strikethrough_new, pango_attr_underline_color_new, pango_attr_underline_new, pango_attr_weight_new, pango_attribute_copy, pango_cairo_context_get_font_options, pango_cairo_context_set_font_options, pango_cairo_create_layout, pango_cairo_font_map_get_default, pango_cairo_layout_path, pango_cairo_show_layout, pango_context_get_base_dir, pango_context_get_language, pango_context_get_metrics, pango_context_list_families, pango_context_set_base_dir, pango_context_set_language, pango_font_description_copy, pango_font_description_free, pango_font_description_from_string, pango_font_description_get_family, pango_font_description_get_set_fields, pango_font_description_get_size, pango_font_description_get_stretch, pango_font_description_get_style, pango_font_description_get_variant, pango_font_description_get_weight, pango_font_description_new, pango_font_description_set_family, pango_font_description_set_size, pango_font_description_set_stretch, pango_font_description_set_style, pango_font_description_set_variant, pango_font_description_set_weight, pango_font_description_to_string, pango_font_face_describe, pango_font_family_get_name, pango_font_family_list_faces, pango_font_map_create_context, pango_font_metrics_get_approximate_char_width, pango_font_metrics_get_ascent, pango_font_metrics_get_descent, pango_font_metrics_unref, pango_layout_context_changed, pango_layout_get_alignment, pango_layout_get_context, pango_layout_get_indent, pango_layout_get_iter, pango_layout_get_justify, pango_layout_get_line, pango_layout_get_line_count, pango_layout_get_log_attrs, pango_layout_get_pixel_size, pango_layout_get_size, pango_layout_get_spacing, pango_layout_get_text, pango_layout_get_width, pango_layout_index_to_pos, pango_layout_iter_free, pango_layout_iter_get_index, pango_layout_iter_get_line_extents, pango_layout_iter_get_run, pango_layout_iter_next_line, pango_layout_iter_next_run, pango_layout_line_get_extents, pango_layout_new, pango_layout_set_alignment, pango_layout_set_attributes, pango_layout_set_auto_dir, pango_layout_set_font_description, pango_layout_set_indent, pango_layout_set_justify, pango_layout_set_single_paragraph_mode, pango_layout_set_spacing, pango_layout_set_tabs, pango_layout_set_text, pango_layout_set_width, pango_layout_set_wrap, pango_layout_xy_to_index, PANGO_PIXELS, pango_tab_array_free, pango_tab_array_new, pango_tab_array_set_tab, PANGO_TYPE_FONT_DESCRIPTION, PANGO_TYPE_FONT_FACE, PANGO_TYPE_FONT_FAMILY, PANGO_TYPE_LAYOUT, pango_version, PangoAttrColor_sizeof, PangoAttribute_sizeof, PangoAttrInt_sizeof, pangoFontFaceNewProc_CALLBACK, pangoFontFamilyNewProc_CALLBACK, PangoItem_sizeof, PangoLayoutLine_sizeof, pangoLayoutNewProc_CALLBACK, PangoLayoutRun_sizeof, PangoLogAttr_sizeof, PangoRectangle_sizeof, printerOptionWidgetNewProc_CALLBACK, realpath, setDarkThemePreferred, setTheme, strcmp, swt_debug_on_fatal_warnings, swt_fixed_accessible_get_type, swt_fixed_accessible_register_accessible, swt_fixed_add, swt_fixed_get_type, swt_fixed_move, swt_fixed_remove, swt_fixed_resize, swt_fixed_restack, swt_set_lock_functions, ubuntu_menu_proxy_get, VERSION, X_EVENT_TYPE, X_EVENT_WINDOW, XAnyEvent_sizeof, XCheckIfEvent, XDefaultRootWindow, XDefaultScreen, XEvent_sizeof, XExposeEvent_sizeof, XFocusChangeEvent_sizeof, XFree, XQueryPointer, XSetErrorHandler, XSetInputFocus, XSetIOErrorHandler, XSetTransientForHint, XSynchronize
Methods inherited from class C
free, getenv, malloc, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memmove, memset, PTR_sizeof, setenv, strlen
Methods inherited from class Platform
isLoadable
-
Constructor Details
-
Graphene
public Graphene()
-
-
Method Details
-
graphene_rect_alloc
public static final long graphene_rect_alloc() -
graphene_rect_free
public static final void graphene_rect_free(long rectangle) - Parameters:
rectangle
- cast=(graphene_rect_t *)
-
graphene_rect_init
public static final long graphene_rect_init(long rectangle, float x, float y, float width, float height) - Parameters:
rectangle
- cast=(graphene_rect_t *)
-