Class GTK4

java.lang.Object
org.eclipse.swt.internal.gtk4.GTK4

public class GTK4 extends Object
This class contains native functions that are present in GTK4 only.
  • Field Details

  • Constructor Details

    • GTK4

      public GTK4()
  • Method Details

    • gtk_im_context_filter_keypress

      public static final boolean gtk_im_context_filter_keypress(long context, long event)
      Parameters:
      context - cast=(GtkIMContext *)
      event - cast=(GdkEvent *)
    • gtk_button_new_from_icon_name

      public static final long gtk_button_new_from_icon_name(byte[] icon_name)
      Parameters:
      icon_name - cast=(const gchar *)
    • gtk_button_set_child

      public static final void gtk_button_set_child(long button, long child)
      Parameters:
      button - cast=(GtkButton *)
      child - cast=(GtkWidget *)
    • gtk_hsv_to_rgb

      public static final void gtk_hsv_to_rgb(float h, float s, float v, float[] r, float[] g, float[] b)
      Parameters:
      r - cast=(float *)
      g - cast=(float *)
      b - cast=(float *)
    • gtk_rgb_to_hsv

      public static final void gtk_rgb_to_hsv(float r, float g, float b, float[] h, float[] s, float[] v)
      Parameters:
      h - cast=(float *)
      s - cast=(float *)
      v - cast=(float *)
    • gtk_box_append

      public static final void gtk_box_append(long box, long child)
      Parameters:
      box - cast=(GtkBox *)
      child - cast=(GtkWidget *)
    • gtk_box_prepend

      public static final void gtk_box_prepend(long box, long child)
      Parameters:
      box - cast=(GtkBox *)
      child - cast=(GtkWidget *)
    • gtk_box_insert_child_after

      public static final void gtk_box_insert_child_after(long box, long child, long sibling)
      Parameters:
      box - cast=(GtkBox *)
      child - cast=(GtkWidget *)
      sibling - cast=(GtkWidget *)
    • gtk_calendar_get_date

      public static final long gtk_calendar_get_date(long calendar)
      Parameters:
      calendar - cast=(GtkCalendar *)
    • gtk_calendar_select_day

      public static final void gtk_calendar_select_day(long calendar, long date)
      Parameters:
      calendar - cast=(GtkCalendar *)
      date - cast=(GDateTime *)
    • gtk_calendar_set_show_day_names

      public static final void gtk_calendar_set_show_day_names(long calendar, boolean value)
      Parameters:
      calendar - cast=(GtkCalendar *)
      value - cast=(gboolean)
    • gtk_calendar_set_show_heading

      public static final void gtk_calendar_set_show_heading(long calendar, boolean value)
      Parameters:
      calendar - cast=(GtkCalendar *)
      value - cast=(gboolean)
    • gtk_calendar_set_show_week_numbers

      public static final void gtk_calendar_set_show_week_numbers(long calendar, boolean value)
      Parameters:
      calendar - cast=(GtkCalendar *)
      value - cast=(gboolean)
    • gtk_check_button_set_use_underline

      public static final void gtk_check_button_set_use_underline(long check_button, boolean use_underline)
      Parameters:
      check_button - cast=(GtkCheckButton *)
    • gtk_check_button_set_inconsistent

      public static final void gtk_check_button_set_inconsistent(long check_button, boolean inconsistent)
      Parameters:
      check_button - cast=(GtkCheckButton *)
    • gtk_check_button_set_group

      public static final void gtk_check_button_set_group(long check_button, long group)
      Parameters:
      check_button - cast=(GtkCheckButton *)
      group - cast=(GtkCheckButton *)
    • gtk_check_button_set_active

      public static final void gtk_check_button_set_active(long check_button, boolean setting)
      Parameters:
      check_button - cast=(GtkCheckButton *)
    • gtk_check_button_get_active

      public static final boolean gtk_check_button_get_active(long check_button)
      Parameters:
      check_button - cast=(GtkCheckButton *)
    • gtk_editable_get_text

      public static final long gtk_editable_get_text(long editable)
      Parameters:
      editable - cast=(GtkEditable *)
    • gtk_editable_get_delegate

      public static final long gtk_editable_get_delegate(long editable)
      Parameters:
      editable - cast=(GtkEditable *)
    • gtk_editable_get_max_width_chars

      public static final int gtk_editable_get_max_width_chars(long editable)
      Parameters:
      editable - cast=(GtkEditable *)
    • gtk_editable_set_max_width_chars

      public static final void gtk_editable_set_max_width_chars(long editable, int chars)
      Parameters:
      editable - cast=(GtkEditable *)
      chars - cast=(int)
    • gtk_editable_set_text

      public static final void gtk_editable_set_text(long editable, byte[] text)
      Parameters:
      editable - cast=(GtkEditable *)
      text - cast=(const gchar *)
    • gtk_picture_new

      public static final long gtk_picture_new()
    • gtk_picture_set_paintable

      public static final void gtk_picture_set_paintable(long picture, long paintable)
      Parameters:
      picture - cast=(GtkPicture *)
      paintable - cast=(GdkPaintable *)
    • gtk_picture_set_can_shrink

      public static final void gtk_picture_set_can_shrink(long picture, boolean can_shrink)
      Parameters:
      picture - cast=(GtkPicture *)
    • gtk_init_check

      public static final boolean gtk_init_check()
    • gtk_native_get_for_surface

      public static final long gtk_native_get_for_surface(long surface)
      Parameters:
      surface - cast=(GdkSurface *)
    • gdk_toplevel_get_state

      public static final int gdk_toplevel_get_state(long toplevel)
      Parameters:
      toplevel - cast=(GdkToplevel *)
    • gdk_toplevel_set_icon_list

      public static final void gdk_toplevel_set_icon_list(long toplevel, long textures)
      Parameters:
      toplevel - cast=(GdkToplevel *)
      textures - cast=(GList *)
    • gdk_toplevel_lower

      public static final boolean gdk_toplevel_lower(long toplevel)
      Parameters:
      toplevel - cast=(GdkToplevel *)
    • gdk_toplevel_focus

      public static final void gdk_toplevel_focus(long surface, int timestamp)
      Parameters:
      surface - cast=(GdkToplevel *)
    • gtk_drag_source_new

      public static final long gtk_drag_source_new()
    • gtk_drag_source_set_actions

      public static final void gtk_drag_source_set_actions(long source, int actions)
      Parameters:
      source - cast=(GtkDragSource *)
      actions - cast=(GdkDragAction)
    • gtk_drag_source_set_icon

      public static final void gtk_drag_source_set_icon(long source, long paintable, int hot_x, int hot_y)
      Parameters:
      source - cast=(GtkDragSource *)
      paintable - cast=(GdkPaintable *)
    • gtk_drop_target_async_new

      public static final long gtk_drop_target_async_new(long formats, int actions)
      Parameters:
      formats - cast=(GdkContentFormats *)
      actions - cast=(GdkDragAction)
    • gtk_drop_target_async_set_formats

      public static final void gtk_drop_target_async_set_formats(long target, long formats)
      Parameters:
      target - cast=(GtkDropTargetAsync *)
      formats - cast=(GdkContentFormats *)
    • gdk_content_formats_builder_new

      public static final long gdk_content_formats_builder_new()
    • gdk_content_formats_builder_add_mime_type

      public static final void gdk_content_formats_builder_add_mime_type(long builder, byte[] mime_type)
      Parameters:
      builder - cast=(GdkContentFormatsBuilder *)
      mime_type - cast=(const char *)
    • gdk_content_formats_builder_free_to_formats

      public static final long gdk_content_formats_builder_free_to_formats(long builder)
      Parameters:
      builder - cast=(GdkContentFormatsBuilder *)
    • gtk_file_chooser_get_files

      public static final long gtk_file_chooser_get_files(long chooser)
      Parameters:
      chooser - cast=(GtkFileChooser *)
    • gtk_file_chooser_get_file

      public static final long gtk_file_chooser_get_file(long chooser)
      Parameters:
      chooser - cast=(GtkFileChooser *)
    • gtk_file_chooser_set_current_folder

      public static final boolean gtk_file_chooser_set_current_folder(long chooser, long file, long error)
      Parameters:
      chooser - cast=(GtkFileChooser *)
      file - cast=(GFile *)
      error - cast=(GError **)
    • gtk_file_chooser_set_file

      public static final boolean gtk_file_chooser_set_file(long chooser, long file, long error)
      Parameters:
      chooser - cast=(GtkFileChooser *)
      file - cast=(GFile *)
      error - cast=(GError **)
    • gtk_file_dialog_new

      public static final long gtk_file_dialog_new()
    • gtk_file_dialog_select_folder

      public static final void gtk_file_dialog_select_folder(long self, long parent, long cancellable, long callback, long user_data)
      Parameters:
      parent - cast=(GtkWindow *)
      cancellable - cast=(GCancellable *)
      callback - cast=(GAsyncReadyCallback)
      user_data - cast=(gpointer)
    • gtk_file_dialog_select_folder_finish

      public static final long gtk_file_dialog_select_folder_finish(long self, long result, long[] error)
      Parameters:
      result - cast=(GAsyncResult *)
      error - cast=(GError **)
    • gtk_file_dialog_set_initial_folder

      public static final void gtk_file_dialog_set_initial_folder(long self, long folder)
      Parameters:
      folder - cast=(GFile *)
    • gtk_file_dialog_set_initial_name

      public static final void gtk_file_dialog_set_initial_name(long self, byte[] title)
      Parameters:
      title - cast=(char *)
    • gtk_file_dialog_set_initial_file

      public static final void gtk_file_dialog_set_initial_file(long self, long file)
      Parameters:
      file - cast=(GFile *)
    • gtk_file_dialog_set_title

      public static final void gtk_file_dialog_set_title(long self, byte[] title)
      Parameters:
      title - cast=(char *)
    • gtk_file_dialog_set_default_filter

      public static final void gtk_file_dialog_set_default_filter(long self, long filter)
      Parameters:
      filter - cast=(GtkFileFilter *)
    • gtk_file_dialog_set_filters

      public static final void gtk_file_dialog_set_filters(long self, long filters)
      Parameters:
      filters - cast=(GListModel *)
    • gtk_file_dialog_get_default_filter

      public static final long gtk_file_dialog_get_default_filter(long self)
    • gtk_file_dialog_open_multiple

      public static final void gtk_file_dialog_open_multiple(long self, long parent, long cancellable, long callback, long user_data)
      Parameters:
      parent - cast=(GtkWindow *)
      cancellable - cast=(GCancellable *)
      callback - cast=(GAsyncReadyCallback)
      user_data - cast=(gpointer)
    • gtk_file_dialog_open_multiple_finish

      public static final long gtk_file_dialog_open_multiple_finish(long self, long result, long[] error)
      Parameters:
      result - cast=(GAsyncResult *)
      error - cast=(GError **)
    • gtk_file_dialog_open

      public static final void gtk_file_dialog_open(long self, long parent, long cancellable, long callback, long user_data)
      Parameters:
      parent - cast=(GtkWindow *)
      cancellable - cast=(GCancellable *)
      callback - cast=(GAsyncReadyCallback)
      user_data - cast=(gpointer)
    • gtk_file_dialog_open_finish

      public static final long gtk_file_dialog_open_finish(long self, long result, long[] error)
      Parameters:
      result - cast=(GAsyncResult *)
      error - cast=(GError **)
    • gtk_file_dialog_save

      public static final void gtk_file_dialog_save(long self, long parent, long cancellable, long callback, long user_data)
      Parameters:
      parent - cast=(GtkWindow *)
      cancellable - cast=(GCancellable *)
      callback - cast=(GAsyncReadyCallback)
      user_data - cast=(gpointer)
    • gtk_file_dialog_save_finish

      public static final long gtk_file_dialog_save_finish(long self, long result, long[] error)
      Parameters:
      result - cast=(GAsyncResult *)
      error - cast=(GError **)
    • gtk_font_dialog_choose_font

      public static final void gtk_font_dialog_choose_font(long self, long parent, long initial_value, long cancellable, long callback, long user_data)
      Parameters:
      parent - cast=(GtkWindow *)
      initial_value - cast=(PangoFontDescription *)
      cancellable - cast=(GCancellable *)
      callback - cast=(GAsyncReadyCallback)
      user_data - cast=(gpointer)
    • gtk_font_dialog_choose_font_finish

      public static final long gtk_font_dialog_choose_font_finish(long self, long result, long[] error)
      Parameters:
      result - cast=(GAsyncResult *)
      error - cast=(GError **)
    • gtk_font_dialog_new

      public static final long gtk_font_dialog_new()
    • gtk_font_dialog_set_modal

      public static final long gtk_font_dialog_set_modal(long self, boolean modal)
      Parameters:
      modal - cast=(gboolean)
    • gtk_font_dialog_set_title

      public static final long gtk_font_dialog_set_title(long self, byte[] title)
      Parameters:
      title - cast=(char *)
    • gtk_color_dialog_new

      public static final long gtk_color_dialog_new()
    • gtk_color_dialog_set_title

      public static final long gtk_color_dialog_set_title(long self, byte[] title)
      Parameters:
      title - cast=(char *)
    • gtk_color_dialog_set_with_alpha

      public static final void gtk_color_dialog_set_with_alpha(long self, boolean with_alpha)
      Parameters:
      with_alpha - cast=(gboolean)
    • gtk_color_dialog_get_with_alpha

      public static final boolean gtk_color_dialog_get_with_alpha(long self)
    • gtk_color_dialog_set_modal

      public static final void gtk_color_dialog_set_modal(long self, boolean modal)
      Parameters:
      modal - cast=(gboolean)
    • gtk_color_dialog_get_modal

      public static final boolean gtk_color_dialog_get_modal(long self)
    • gtk_color_dialog_choose_rgba

      public static final void gtk_color_dialog_choose_rgba(long self, long parent, GdkRGBA initial_color, long cancellable, long callback, long user_data)
      Parameters:
      parent - cast=(GtkWindow *)
      initial_color - cast=(GdkRGBA *)
      cancellable - cast=(GCancellable *)
      callback - cast=(GAsyncReadyCallback)
      user_data - cast=(gpointer)
    • gtk_color_dialog_choose_rgba_finish

      public static final long gtk_color_dialog_choose_rgba_finish(long self, long result, long[] error)
      Parameters:
      result - cast=(GAsyncResult *)
      error - cast=(GError **)
    • gtk_scrolled_window_new

      public static final long gtk_scrolled_window_new()
    • gtk_scrolled_window_set_has_frame

      public static final void gtk_scrolled_window_set_has_frame(long scrolled_window, boolean has_frame)
      Parameters:
      scrolled_window - cast=(GtkScrolledWindow *)
    • gtk_scrolled_window_get_has_frame

      public static final boolean gtk_scrolled_window_get_has_frame(long scrolled_window)
      Parameters:
      scrolled_window - cast=(GtkScrolledWindow *)
    • gtk_scrolled_window_set_child

      public static final void gtk_scrolled_window_set_child(long scrolled_window, long child)
      Parameters:
      scrolled_window - cast=(GtkScrolledWindow *)
      child - cast=(GtkWidget *)
    • gtk_window_new

      public static final long gtk_window_new()
    • gtk_window_maximize

      public static final void gtk_window_maximize(long window)
      Parameters:
      window - cast=(GtkWindow *)
    • gtk_window_minimize

      public static final void gtk_window_minimize(long window)
      Parameters:
      window - cast=(GtkWindow *)
    • gtk_window_unminimize

      public static final void gtk_window_unminimize(long window)
      Parameters:
      window - cast=(GtkWindow *)
    • gtk_window_is_maximized

      public static final boolean gtk_window_is_maximized(long window)
      Parameters:
      window - cast=(GtkWindow *)
    • gtk_window_set_default_widget

      public static final void gtk_window_set_default_widget(long window, long default_widget)
      Parameters:
      window - cast=(GtkWindow *)
      default_widget - cast=(GtkWidget *)
    • gtk_window_set_child

      public static final void gtk_window_set_child(long window, long child)
      Parameters:
      window - cast=(GtkWindow *)
      child - cast=(GtkWidget *)
    • gtk_window_destroy

      public static final void gtk_window_destroy(long window)
      Parameters:
      window - cast=(GtkWindow *)
    • gtk_window_get_icon_name

      public static final long gtk_window_get_icon_name(long window)
      Parameters:
      window - cast=(GtkWindow *)
    • gtk_window_set_icon_name

      public static final void gtk_window_set_icon_name(long window, long name)
      Parameters:
      window - cast=(GtkWindow *)
      name - cast=(const char *)
    • gtk_window_get_titlebar

      public static final long gtk_window_get_titlebar(long window)
      Parameters:
      window - cast=(GtkWindow *)
    • gtk_window_present

      public static final void gtk_window_present(long window)
      Parameters:
      window - cast=(GtkWindow *)
    • gtk_shortcut_controller_new

      public static final long gtk_shortcut_controller_new()
    • gtk_shortcut_controller_set_scope

      public static final void gtk_shortcut_controller_set_scope(long controller, int scope)
      Parameters:
      controller - cast=(GtkShortcutController *)
      scope - cast=(GtkShortcutScope)
    • gtk_shortcut_controller_add_shortcut

      public static final void gtk_shortcut_controller_add_shortcut(long controller, long shortcut)
      Parameters:
      controller - cast=(GtkShortcutController *)
      shortcut - cast=(GtkShortcut *)
    • gtk_shortcut_controller_remove_shortcut

      public static final void gtk_shortcut_controller_remove_shortcut(long controller, long shortcut)
      Parameters:
      controller - cast=(GtkShortcutController *)
      shortcut - cast=(GtkShortcut *)
    • gtk_shortcut_new

      public static final long gtk_shortcut_new(long trigger, long action)
      Parameters:
      trigger - cast=(GtkShortcutTrigger *)
      action - cast=(GtkShortcutAction *)
    • gtk_keyval_trigger_new

      public static final long gtk_keyval_trigger_new(int keyval, int modifiers)
      Parameters:
      keyval - cast=(guint)
      modifiers - cast=(GdkModifierType)
    • gtk_named_action_new

      public static final long gtk_named_action_new(byte[] name)
      Parameters:
      name - cast=(const char *)
    • gtk_icon_paintable_get_file

      public static final long gtk_icon_paintable_get_file(long paintable)
      Parameters:
      paintable - cast=(GtkIconPaintable *)
    • gtk_text_get_buffer

      public static final long gtk_text_get_buffer(long self)
      Parameters:
      self - cast=(GtkText *)
    • gtk_text_set_visibility

      public static final void gtk_text_set_visibility(long self, boolean visible)
      Parameters:
      self - cast=(GtkText *)
    • gtk_text_set_placeholder_text

      public static final void gtk_text_set_placeholder_text(long self, byte[] text)
      Parameters:
      self - cast=(GtkText *)
      text - cast=(const gchar *)
    • gtk_text_set_tabs

      public static final void gtk_text_set_tabs(long entry, long tabs)
      Parameters:
      entry - cast=(GtkText *)
      tabs - cast=(PangoTabArray *)
    • gtk_popover_menu_new_from_model_full

      public static final long gtk_popover_menu_new_from_model_full(long model, int flags)
      Parameters:
      model - cast=(GMenuModel *)
      flags - cast=(GtkPopoverMenuFlags)
    • gtk_popover_menu_set_menu_model

      public static final void gtk_popover_menu_set_menu_model(long popover, long model)
      Parameters:
      popover - cast=(GtkPopoverMenu *)
      model - cast=(GMenuModel *)
    • gtk_popover_set_has_arrow

      public static final void gtk_popover_set_has_arrow(long popover, boolean has_arrow)
      Parameters:
      popover - cast=(GtkPopover *)
    • gtk_popover_menu_bar_new_from_model

      public static final long gtk_popover_menu_bar_new_from_model(long model)
      Parameters:
      model - cast=(GMenuModel *)
    • gtk_icon_theme_get_for_display

      public static final long gtk_icon_theme_get_for_display(long display)
      Parameters:
      display - cast=(GdkDisplay *)
    • gtk_icon_theme_lookup_icon

      public static final long gtk_icon_theme_lookup_icon(long self, byte[] icon_name, long fallbacks, int size, int scale, int direction, int flags)
      Parameters:
      self - cast=(GtkIconTheme *)
      icon_name - cast=(const char *)
      fallbacks - cast=(const char **)
      direction - cast=(GtkTextDirection)
      flags - cast=(GtkIconLookupFlags)
    • gtk_icon_theme_lookup_by_gicon

      public static final long gtk_icon_theme_lookup_by_gicon(long self, long icon, int size, int scale, int direction, int flags)
      Parameters:
      self - cast=(GtkIconTheme *)
      icon - cast=(GIcon *)
      direction - cast=(GtkTextDirection)
      flags - cast=(GtkIconLookupFlags)
    • gtk_native_get_surface

      public static final long gtk_native_get_surface(long self)
      Parameters:
      self - cast=(GtkNative *)
    • gtk_entry_set_buffer

      public static final void gtk_entry_set_buffer(long entry, long buffer)
      Parameters:
      entry - cast=(GtkEntry *)
      buffer - cast=(GtkEntryBuffer *)
    • gtk_entry_buffer_get_text

      public static final long gtk_entry_buffer_get_text(long entry)
      Parameters:
      entry - cast=(GtkEntryBuffer *)
    • gtk_entry_get_buffer

      public static final long gtk_entry_get_buffer(long entry)
      Parameters:
      entry - cast=(GtkEntry *)
    • gtk_entry_get_text_length

      public static final int gtk_entry_get_text_length(long entry)
      Parameters:
      entry - cast=(GtkEntry *)
    • gtk_expander_set_child

      public static final void gtk_expander_set_child(long expander, long child)
      Parameters:
      expander - cast=(GtkExpander *)
      child - cast=(GtkWidget *)
    • gtk_event_controller_focus_new

      public static final long gtk_event_controller_focus_new()
    • gtk_event_controller_get_current_event

      public static final long gtk_event_controller_get_current_event(long controller)
      Parameters:
      controller - cast=(GtkEventController *)
    • gtk_event_controller_get_current_event_state

      public static final int gtk_event_controller_get_current_event_state(long controller)
      Parameters:
      controller - cast=(GtkEventController *)
    • gtk_event_controller_key_new

      public static final long gtk_event_controller_key_new()
    • gtk_event_controller_motion_new

      public static final long gtk_event_controller_motion_new()
    • gtk_event_controller_scroll_new

      public static final long gtk_event_controller_scroll_new(int flag)
      Parameters:
      flag - cast=(GtkEventControllerScrollFlags)
    • gtk_gesture_click_new

      public static final long gtk_gesture_click_new()
    • gtk_frame_set_child

      public static final void gtk_frame_set_child(long frame, long child)
      Parameters:
      frame - cast=(GtkFrame *)
      child - cast=(GtkWidget *)
    • gtk_scrollbar_get_adjustment

      public static final long gtk_scrollbar_get_adjustment(long scrollbar)
      Parameters:
      scrollbar - cast=(GtkScrollbar *)
    • gtk_widget_snapshot_child

      public static final void gtk_widget_snapshot_child(long widget, long child, long snapshot)
      Parameters:
      widget - cast=(GtkWidget *)
      child - cast=(GtkWidget *)
      snapshot - cast=(GtkSnapshot *)
    • gtk_widget_translate_coordinates

      public static final boolean gtk_widget_translate_coordinates(long src_widget, long dest_widget, double src_x, double src_y, double[] dest_x, double[] dest_y)
      Parameters:
      src_widget - cast=(GtkWidget *)
      dest_widget - cast=(GtkWidget *)
      dest_x - cast=(double *)
      dest_y - cast=(double *)
    • gtk_widget_set_cursor

      public static final void gtk_widget_set_cursor(long widget, long cursor)
      Parameters:
      widget - cast=(GtkWidget *)
      cursor - cast=(GdkCursor *)
    • gtk_widget_measure

      public static final void gtk_widget_measure(long widget, int orientation, int for_size, int[] minimum, int[] natural, int[] minimum_baseline, int[] natural_baseline)
      Parameters:
      widget - cast=(GtkWidget *)
      orientation - cast=(GtkOrientation)
      for_size - cast=(int)
      minimum - cast=(int *)
      natural - cast=(int *)
      minimum_baseline - cast=(int *)
      natural_baseline - cast=(int *)
    • gtk_widget_get_native

      public static final long gtk_widget_get_native(long widget)
      Parameters:
      widget - cast=(GtkWidget *)
    • gtk_widget_activate_action

      public static final boolean gtk_widget_activate_action(long widget, byte[] name, byte[] format_string)
      Parameters:
      widget - cast=(GtkWidget *)
      name - cast=(const char *)
      format_string - cast=(const char *)
    • gtk_widget_action_set_enabled

      public static final void gtk_widget_action_set_enabled(long widget, byte[] action_name, boolean enabled)
      Parameters:
      widget - cast=(GtkWidget *)
      action_name - cast=(const char *)
    • gtk_widget_add_controller

      public static final void gtk_widget_add_controller(long widget, long controller)
      Parameters:
      widget - cast=(GtkWidget *)
      controller - cast=(GtkEventController *)
    • gtk_widget_get_first_child

      public static final long gtk_widget_get_first_child(long widget)
      Parameters:
      widget - cast=(GtkWidget *)
    • gtk_widget_get_last_child

      public static final long gtk_widget_get_last_child(long widget)
      Parameters:
      widget - cast=(GtkWidget *)
    • gtk_widget_get_next_sibling

      public static final long gtk_widget_get_next_sibling(long widget)
      Parameters:
      widget - cast=(GtkWidget *)
    • gtk_widget_get_prev_sibling

      public static final long gtk_widget_get_prev_sibling(long widget)
      Parameters:
      widget - cast=(GtkWidget *)
    • gtk_widget_get_root

      public static final long gtk_widget_get_root(long widget)
      Parameters:
      widget - cast=(GtkWidget *)
    • gtk_widget_class_add_binding_signal

      public static final void gtk_widget_class_add_binding_signal(long widget_class, int keyval, int mods, byte[] signal, byte[] format_string, boolean arg1, boolean arg2, boolean arg3)
      Parameters:
      widget_class - cast=(GtkWidgetClass *)
      mods - cast=(GdkModifierType)
      signal - cast=(const char *)
      format_string - cast=(const char *)
    • gtk_widget_get_receives_default

      public static final boolean gtk_widget_get_receives_default(long widget)
      Parameters:
      widget - cast=(GtkWidget *)
    • gtk_widget_set_focusable

      public static final void gtk_widget_set_focusable(long widget, boolean focusable)
      Parameters:
      widget - cast=(GtkWidget *)
      focusable - cast=(gboolean)
    • gtk_widget_get_clipboard

      public static final long gtk_widget_get_clipboard(long widget)
      Parameters:
      widget - cast=(GtkWidget *)
    • gtk_widget_get_size_request

      public static final void gtk_widget_get_size_request(long widget, int[] width, int[] height)
      Parameters:
      widget - cast=(GtkWidget*)
      width - cast=(int *)
      height - cast=(int *)
    • gtk_widget_set_size_request

      public static final void gtk_widget_set_size_request(long widget, int width, int height)
      Parameters:
      widget - cast=(GtkWidget*)
      width - cast=(int)
      height - cast=(int)
    • gtk_widget_size_allocate

      public static final void gtk_widget_size_allocate(long widget, GtkAllocation allocation, int baseline)
      Parameters:
      widget - cast=(GtkWidget *)
      allocation - cast=(GtkAllocation *),flags=no_out
    • gtk_widget_insert_after

      public static final void gtk_widget_insert_after(long widget, long parent, long previous_sibling)
      Parameters:
      widget - cast=(GtkWidget *)
      parent - cast=(GtkWidget *)
      previous_sibling - cast=(GtkWidget *)
    • gtk_widget_insert_before

      public static final void gtk_widget_insert_before(long widget, long parent, long next_sibling)
      Parameters:
      widget - cast=(GtkWidget *)
      parent - cast=(GtkWidget *)
      next_sibling - cast=(GtkWidget *)
    • gtk_widget_pick

      public static final long gtk_widget_pick(long widget, double x, double y, int flags)
      Parameters:
      widget - cast=(GtkWidget *)
      x - cast=(double)
      y - cast=(double)
      flags - cast=(GtkPickFlags)
    • gtk_combo_box_get_child

      public static final long gtk_combo_box_get_child(long combo_box)
      Parameters:
      combo_box - cast=(GtkComboBox *)
    • gtk_snapshot_append_cairo

      public static final long gtk_snapshot_append_cairo(long snapshot, long rect)
      Parameters:
      snapshot - cast=(GtkSnapshot *)
      rect - cast=(const graphene_rect_t *)
    • gtk_image_set_from_paintable

      public static final void gtk_image_set_from_paintable(long image, long paintable)
      Parameters:
      image - cast=(GtkImage *)
      paintable - cast=(GdkPaintable *)
    • gtk_image_new_from_icon_name

      public static final long gtk_image_new_from_icon_name(byte[] icon_name)
      Parameters:
      icon_name - cast=(const char *)
    • gtk_image_set_from_icon_name

      public static final void gtk_image_set_from_icon_name(long image, byte[] icon_name)
      Parameters:
      image - cast=(GtkImage *)
      icon_name - cast=(const gchar *)
    • gtk_image_clear

      public static final void gtk_image_clear(long image)
      Parameters:
      image - cast=(GtkImage *)
    • gtk_css_provider_load_from_data

      public static final void gtk_css_provider_load_from_data(long css_provider, byte[] data, long length)
      Parameters:
      css_provider - cast=(GtkCssProvider *)
      data - cast=(const gchar *)
      length - cast=(gssize)
    • gtk_label_set_wrap

      public static final void gtk_label_set_wrap(long label, boolean wrap)
      Parameters:
      label - cast=(GtkLabel *)
      wrap - cast=(gboolean)
    • gtk_label_set_wrap_mode

      public static final void gtk_label_set_wrap_mode(long label, int wrap_mode)
      Parameters:
      label - cast=(GtkLabel *)
      wrap_mode - cast=(PangoWrapMode)
    • gtk_style_context_add_provider_for_display

      public static final void gtk_style_context_add_provider_for_display(long display, long provider, int priority)
      Parameters:
      display - cast=(GdkDisplay *)
      provider - cast=(GtkStyleProvider *)
      priority - cast=(guint)
    • gtk_style_context_get_color

      public static final void gtk_style_context_get_color(long context, GdkRGBA color)
      Parameters:
      context - cast=(GtkStyleContext *)
      color - cast=(GdkRGBA *)
    • gtk_style_context_get_padding

      public static final void gtk_style_context_get_padding(long context, GtkBorder padding)
      Parameters:
      context - cast=(GtkStyleContext *)
      padding - cast=(GtkBorder *),flags=no_in
    • gtk_style_context_get_margin

      public static final void gtk_style_context_get_margin(long context, GtkBorder margin)
      Parameters:
      context - cast=(GtkStyleContext *)
      margin - cast=(GtkBorder *),flags=no_in
    • gtk_style_context_get_border

      public static final void gtk_style_context_get_border(long context, GtkBorder padding)
      Parameters:
      context - cast=(GtkStyleContext *)
      padding - cast=(GtkBorder *),flags=no_in
    • gtk_menu_button_set_use_underline

      public static final void gtk_menu_button_set_use_underline(long menu_button, boolean use_underline)
      Parameters:
      menu_button - cast=(GtkMenuButton *)
    • gtk_tree_view_column_cell_get_size

      public static final void gtk_tree_view_column_cell_get_size(long tree_column, int[] x_offset, int[] y_offset, int[] width, int[] height)
      Parameters:
      tree_column - cast=(GtkTreeViewColumn *)
      x_offset - cast=(int *)
      y_offset - cast=(int *)
      width - cast=(int *)
      height - cast=(int *)
    • gdk_toplevel_size_get_bounds

      public static final void gdk_toplevel_size_get_bounds(long size, int[] bounds_width, int[] bounds_height)
      Parameters:
      size - cast=(GdkToplevelSize*)
      bounds_width - cast=(int *)
      bounds_height - cast=(int *)
    • gdk_toplevel_size_set_min_size

      public static final void gdk_toplevel_size_set_min_size(long size, int min_width, int min_height)
      Parameters:
      size - cast=(GdkToplevelSize*)
      min_width - cast=(int)
      min_height - cast=(int)
    • gdk_toplevel_size_set_size

      public static final void gdk_toplevel_size_set_size(long size, int width, int height)
      Parameters:
      size - cast=(GdkToplevelSize*)
      width - cast=(int)
      height - cast=(int)
    • gdk_clipboard_set_text

      public static final void gdk_clipboard_set_text(long clipboard, byte[] text)
      Parameters:
      clipboard - cast=(GdkClipboard*)
      text - cast=(const char *)
    • gdk_clipboard_set

      public static final void gdk_clipboard_set(long clipboard, long type, long data)
      Parameters:
      clipboard - cast=(GdkClipboard*)
      type - cast=(GType)
    • gdk_clipboard_set_content

      public static final boolean gdk_clipboard_set_content(long clipboard, long provider)
      Parameters:
      clipboard - cast=(GdkClipboard*)
      provider - cast=(GdkContentProvider*)
    • gdk_clipboard_get_formats

      public static final long gdk_clipboard_get_formats(long clipboard)
      Parameters:
      clipboard - cast=(GdkClipboard*)
    • gdk_clipboard_get_content

      public static final long gdk_clipboard_get_content(long clipboard)
      Parameters:
      clipboard - cast=(GdkClipboard*)
    • gdk_clipboard_read_value_async

      public static final void gdk_clipboard_read_value_async(long clipboard, long type, int io_priority, long cancellable, long callback, long user_data)
      Parameters:
      clipboard - cast=(GdkClipboard*)
      type - cast=(GType)
      io_priority - cast=(int)
      cancellable - cast=(GCancellable *)
      callback - cast=(GAsyncReadyCallback)
      user_data - cast=(gpointer)
    • gdk_clipboard_read_value_finish

      public static final long gdk_clipboard_read_value_finish(long clipboard, long result, long[] error)
      Parameters:
      clipboard - cast=(GdkClipboard*)
      result - cast=(GAsyncResult *)
      error - cast=(GError **)
    • gdk_clipboard_read_async

      public static final void gdk_clipboard_read_async(long clipboard, String[] mime_types, int io_priority, long cancellable, long callback, long user_data)
      Parameters:
      clipboard - cast=(GdkClipboard*)
      mime_types - cast=(const char **)
      io_priority - cast=(int)
      cancellable - cast=(GCancellable *)
      callback - cast=(GAsyncReadyCallback)
      user_data - cast=(gpointer)
    • gdk_clipboard_read_finish

      public static final long gdk_clipboard_read_finish(long clipboard, long result, long[] out_mime_type, long[] error)
      Parameters:
      clipboard - cast=(GdkClipboard*)
      result - cast=(GAsyncResult *)
      out_mime_type - cast=(const char**)
      error - cast=(GError **)
    • gdk_clipboard_is_local

      public static final boolean gdk_clipboard_is_local(long clipboard)
      Parameters:
      clipboard - cast=(GdkClipboard*)
    • gdk_clipboard_store_async

      public static final void gdk_clipboard_store_async(long clipboard, int io_priority, long cancellable, long callback, long user_data)
      Parameters:
      clipboard - cast=(GdkClipboard*)
      io_priority - cast=(int)
      cancellable - cast=(GCancellable *)
      callback - cast=(GAsyncReadyCallback)
      user_data - cast=(gpointer)
    • gdk_clipboard_store_finish

      public static final boolean gdk_clipboard_store_finish(long clipboard, long result, long[] error)
      Parameters:
      clipboard - cast=(GdkClipboard*)
      result - cast=(GAsyncResult *)
      error - cast=(GError **)
    • gdk_content_provider_get_value

      public static final boolean gdk_content_provider_get_value(long provider, long value, long[] error)
      Parameters:
      provider - cast=(GdkContentProvider *)
      value - cast=(GValue *)
      error - cast=(GError **)
    • gdk_content_provider_new_typed

      public static final long gdk_content_provider_new_typed(long type, long data)
      Parameters:
      type - cast=(GType)
    • gdk_content_provider_new_for_value

      public static final long gdk_content_provider_new_for_value(long value)
      Parameters:
      value - cast=(const GValue*)
    • gdk_content_provider_new_union

      public static final long gdk_content_provider_new_union(long[] providers, int n_providers)
      Parameters:
      providers - cast=(GdkContentProvider **)
      n_providers - cast=(gsize)
    • gdk_content_formats_to_string

      public static final long gdk_content_formats_to_string(long formats)
      Parameters:
      formats - cast=(GdkContentFormats *)
    • gdk_content_formats_get_gtypes

      public static final long gdk_content_formats_get_gtypes(long formats, long[] n_gtypes)
      Parameters:
      formats - cast=(GdkContentFormats *)
      n_gtypes - cast=(gsize *)
    • gdk_content_formats_get_mime_types

      public static final long gdk_content_formats_get_mime_types(long formats, long[] n_mime_types)
      Parameters:
      formats - cast=(GdkContentFormats *)
      n_mime_types - cast=(gsize *)
    • gdk_content_register_serializer

      public static final void gdk_content_register_serializer(long type, String mime_type, long serialize, long data, long notify)
      Parameters:
      type - cast=(GType)
      mime_type - cast=(const char*)
      serialize - cast=(GdkContentSerializeFunc)
      data - cast=(gpointer)
      notify - cast=(GDestroyNotify)
    • gdk_content_serializer_get_cancellable

      public static final long gdk_content_serializer_get_cancellable(long serializer)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
    • gdk_content_serializer_get_gtype

      public static final long gdk_content_serializer_get_gtype(long serializer)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
    • gdk_content_serializer_get_mime_type

      public static final long gdk_content_serializer_get_mime_type(long serializer)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
    • gdk_content_serializer_get_output_stream

      public static final long gdk_content_serializer_get_output_stream(long serializer)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
    • gdk_content_serializer_get_priority

      public static final int gdk_content_serializer_get_priority(long serializer)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
    • gdk_content_serializer_get_task_data

      public static final long gdk_content_serializer_get_task_data(long serializer)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
    • gdk_content_serializer_get_user_data

      public static final long gdk_content_serializer_get_user_data(long serializer)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
    • gdk_content_serializer_get_value

      public static final long gdk_content_serializer_get_value(long serializer)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
    • gdk_content_serializer_return_error

      public static final void gdk_content_serializer_return_error(long serializer, long error)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
      error - cast=(GError*)
    • gdk_content_serializer_return_success

      public static final void gdk_content_serializer_return_success(long serializer)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
    • gdk_content_serializer_set_task_data

      public static final void gdk_content_serializer_set_task_data(long serializer, long data, long notify)
      Parameters:
      serializer - cast=(GdkContentSerializer*)
      data - cast=(gpointer)
      notify - cast=(GDestroyNotify)
    • gdk_content_register_deserializer

      public static final void gdk_content_register_deserializer(String mime_type, long type, long deserialize, long data, long notify)
      Parameters:
      mime_type - cast=(const char*)
      type - cast=(GType)
      deserialize - cast=(GdkContentDeserializeFunc)
      data - cast=(gpointer)
      notify - cast=(GDestroyNotify)
    • gdk_content_deserializer_get_cancellable

      public static final long gdk_content_deserializer_get_cancellable(long deserializer)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
    • gdk_content_deserializer_get_gtype

      public static final long gdk_content_deserializer_get_gtype(long deserializer)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
    • gdk_content_deserializer_get_input_stream

      public static final long gdk_content_deserializer_get_input_stream(long deserializer)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
    • gdk_content_deserializer_get_mime_type

      public static final long gdk_content_deserializer_get_mime_type(long deserializer)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
    • gdk_content_deserializer_get_priority

      public static final int gdk_content_deserializer_get_priority(long deserializer)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
    • gdk_content_deserializer_get_task_data

      public static final long gdk_content_deserializer_get_task_data(long deserializer)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
    • gdk_content_deserializer_get_user_data

      public static final long gdk_content_deserializer_get_user_data(long deserializer)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
    • gdk_content_deserializer_get_value

      public static final long gdk_content_deserializer_get_value(long deserializer)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
    • gdk_content_deserializer_return_error

      public static final void gdk_content_deserializer_return_error(long deserializer, long error)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
      error - cast=(GError*)
    • gdk_content_deserializer_return_success

      public static final void gdk_content_deserializer_return_success(long deserializer)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
    • gdk_content_deserializer_set_task_data

      public static final void gdk_content_deserializer_set_task_data(long deserializer, long data, long notify)
      Parameters:
      deserializer - cast=(GdkContentDeserializer*)
      data - cast=(gpointer)
      notify - cast=(GDestroyNotify)
    • gtk_gesture_rotate_new

      public static final long gtk_gesture_rotate_new()
    • gtk_gesture_zoom_new

      public static final long gtk_gesture_zoom_new()
    • gtk_gesture_drag_new

      public static final long gtk_gesture_drag_new()
    • gtk_gesture_set_sequence_state

      public static final boolean gtk_gesture_set_sequence_state(long gesture, long sequence, int state)
      Parameters:
      gesture - cast=(GtkGesture *)
      sequence - cast=(GdkEventSequence *)
      state - cast=(GtkEventSequenceState)
    • gtk_gesture_get_last_updated_sequence

      public static final long gtk_gesture_get_last_updated_sequence(long gesture)
      Parameters:
      gesture - cast=(GtkGesture *)