Deprecated API
Contents
-
InterfaceDescription
-
ClassDescription
-
Enum ClassDescription
-
MethodDescriptionUse gst_audio_format_info_fill_silence() instead.Use gst_base_src_new_segment()This function can easily cause memory corruption, don't use it.Prefer using gst_element_request_pad_simple() which provides the exact same functionality.This function is deprecated since 1.18 and does nothing anymore.Use gst_object_has_as_ancestor() instead.
MT safe. Grabs and releases this Object's locks.
Use gst_segment_position_from_running_time() instead.Use gst_structure_serialize_full() instead.Use gst_structure_serialize_full() instead.Use GstURI instead.Use gst_video_chroma_site_from_string() instead.Use gst_video_chroma_site_to_string() instead.Use gst_video_chroma_site_to_string() instead.Usehb_font_draw_glyph_func_t
insteadUse hb_font_funcs_set_draw_glyph_func() insteadUse hb_font_draw_glyph() insteaduse hb_ot_tags_from_script_and_language() insteaduse hb_ot_tags_from_script_and_language() instead- use hb_ot_var_find_axis_info() instead
use hb_ot_var_get_axis_infos() insteadUseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseAboutDialog
.UseActionRow.addPrefix(org.gnome.gtk.Widget)
to add an icon.UseActionRow.addPrefix(org.gnome.gtk.Widget)
to add an icon.UseExpanderRow.addSuffix(org.gnome.gtk.Widget)
to add a suffix.UseExpanderRow.addPrefix(org.gnome.gtk.Widget)
to add an icon.UseExpanderRow.addPrefix(org.gnome.gtk.Widget)
to add an icon.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UseAlertDialog
.UsePreferencesDialog
.UsePreferencesDialog
.UsePreferencesWindow.popSubpage()
instead.UseNavigationPage.getCanPop()
instead.UsePreferencesDialog
.UsePreferencesDialog
.UsePreferencesDialog
.UsePreferencesDialog
.UsePreferencesDialog
.UsePreferencesDialog
.UseNavigationPage.setCanPop(boolean)
instead.UsePreferencesDialog
.UsePreferencesDialog
.UsePreferencesDialog
.UsingToplevel.setStartupId(java.lang.String)
is sufficientThis function is only useful in very special situations and should not be used by applications.Drawing directly to the surface is no longer recommended. UseGskRenderNode
andGskRenderer
.Drawing directly to the surface is no longer recommended. UseGskRenderNode
andGskRenderer
.Drawing directly to the surface is no longer recommended. UseGskRenderNode
andGskRenderer
.Drawing directly to the surface is no longer recommended. UseGskRenderNode
andGskRenderer
.The function is overly complex and produces broken output in various combinations of arguments. If you want to draw with GL textures in GTK, useGLTexture(org.gnome.gdk.GLContext, int, int, int, java.lang.foreign.MemorySegment)
; if you want to use that texture in Cairo, useTexture.download(byte[], long)
to download the data into a Cairo image surface.UseTexture
and subclasses instead cairo surfaces and pixbufsUseTexture
and subclasses instead cairo surfaces and pixbufsUseGLContext.isShared(org.gnome.gdk.GLContext)
to check if contexts can be shared.Create a suitable cairo image surface yourselfGTK does not expose any Vulkan internals. This function is a leftover that was accidentally exposed.GDK can figure out the opaque parts of a window itself by inspecting the contents that are drawn.UseGResource
instead.Use g_object_ref().Use g_object_unref().Use g_object_ref().Use g_object_unref().Use theGActionMap
interface instead. Never ever mix use of this API with use ofGActionMap
on the same this Application or things will go very badly wrong. This function is known to introduce buggy behaviour (ie: signals not emitted on changes to the action group), so you should really useGActionMap
instead.Use g_object_new_with_properties() and g_async_initable_init_async() instead. SeeGParameter
for more information.Use g_data_input_stream_read_upto() instead, which has more consistent behaviour regarding the stop character.Use g_data_input_stream_read_upto_async() instead, which has more consistent behaviour regarding the stop character.Use g_data_input_stream_read_upto_finish() instead, which has more consistent behaviour regarding the stop character.do not use this API. Since 2.42 the value of theXDG_CURRENT_DESKTOP
environment variable will be used.TheDesktopAppInfoLookup
interface is deprecated and unused by GIO.Use g_drive_eject_with_operation() instead.Use g_drive_eject_with_operation() instead.Use g_drive_eject_with_operation_finish() instead.Do not attempt to ignore validation errors.Do not attempt to ignore validation errors.Do not attempt to ignore validation errors.Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.Use g_file_eject_mountable_with_operation() instead.Use g_file_eject_mountable_with_operation() instead.Use g_file_eject_mountable_with_operation_finish() instead.Use g_file_unmount_mountable_with_operation() instead.Use g_file_unmount_mountable_with_operation() instead.Use g_file_unmount_mountable_with_operation_finish() instead.Use g_file_info_get_modification_date_time() instead, asGTimeVal
is deprecated due to the year 2038 problem.Use g_file_info_set_modification_date_time() instead, asGTimeVal
is deprecated due to the year 2038 problem.You should never call this function, since you don't know how other libraries in your program might be making use of gioscheduler.useGThreadPool
or g_task_run_in_thread()Use g_task_report_error().Use g_task_report_error().Use g_task_report_error().Use g_object_new_with_properties() and g_initable_init() instead. SeeGParameter
for more information.Use g_main_context_invoke().Use g_main_context_invoke().UseGLib.ThreadPool
orTask.runInThread(org.gnome.gio.TaskThreadFunc)
Use g_mount_eject_with_operation() instead.Use g_mount_eject_with_operation() instead.Use g_mount_eject_with_operation_finish() instead.Use g_mount_unmount_with_operation() instead.Use g_mount_unmount_with_operation() instead.Use g_mount_unmount_with_operation_finish() instead.Since 2.42, this has been deprecated in favour of g_notification_set_priority().Use g_settings_schema_key_get_range() instead.Use g_settings_schema_list_keys() instead.Use g_settings_schema_source_list_schemas() insteadUse g_settings_schema_source_list_schemas() instead. If you used g_settings_list_schemas() to check for the presence of a particular schema, use g_settings_schema_source_lookup() instead of your whole loop.Use g_settings_schema_key_range_check() instead.Use g_action_map_add_action_entries()Use g_action_map_add_action()Use g_action_map_lookup_action()Use g_action_map_remove_action()UseGTask
instead.UseGTask
instead.Use g_task_new() and g_task_return_new_error() instead.Use g_task_new() and g_task_return_error() instead.UseGTask
and g_task_propagate_boolean() instead.UseGTask
and g_task_propagate_pointer() instead.UseGTask
and g_task_propagate_int() instead.UseGTask
and g_task_get_source_tag() instead.UseGTask
and g_task_is_valid() instead.UseGTask
instead.UseGTask
and g_task_run_in_thread() instead.UseGTask
instead.UseGTask
and g_task_return_new_error() instead.UseGTask
and g_task_return_error() instead.UseGTask
and g_task_return_boolean() instead.UseGTask
and g_task_return_pointer() instead.UseGTask
and g_task_return_int() instead.UseGTask
and g_task_return_error() instead.Use g_task_new() and g_task_return_error() instead.Do not attempt to ignore validation errors.Do not attempt to ignore validation errors.Do not attempt to ignore validation errors.SSL 3.0 is insecure.Do not attempt to ignore validation errors.SSL 3.0 is insecure.Do not attempt to ignore validation errors.Do not attempt to ignore validation errors.Changing the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.Use g_tls_connection_get_database() insteadChanging the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.Use g_tls_connection_set_database() insteadThis function does nothing. Don't call it.Use g_unix_socket_address_new_with_type().Use g_unix_socket_address_get_address_type()Use g_volume_eject_with_operation() instead.Use g_volume_eject_with_operation() instead.Use g_volume_eject_with_operation_finish() instead.Instead of using this function,GVolumeMonitor
implementations should instead create shadow mounts with the URI of the mount they intend to adopt. See the proxy volume monitor in gvfs for an example of this. Also see g_mount_is_shadowed(), g_mount_shadow() and g_mount_unshadow() functions.Reference counting is done atomically. so g_async_queue_ref() can be used regardless of the this AsyncQueue's lock.use g_async_queue_timeout_pop().use g_async_queue_timeout_pop_unlocked().Reference counting is done atomically. so g_async_queue_unref() can be used regardless of the this AsyncQueue's lock.Use g_bookmark_file_get_added_date_time() instead, astime_t
is deprecated due to the year 2038 problem.Use g_bookmark_file_get_application_info() instead, astime_t
is deprecated due to the year 2038 problem.Use g_bookmark_file_get_modified_date_time() instead, astime_t
is deprecated due to the year 2038 problem.Use g_bookmark_file_get_visited_date_time() instead, astime_t
is deprecated due to the year 2038 problem.Use g_bookmark_file_set_added_date_time() instead, astime_t
is deprecated due to the year 2038 problem.Use g_bookmark_file_set_application_info() instead, astime_t
is deprecated due to the year 2038 problem.Use g_bookmark_file_set_modified_date_time() instead, astime_t
is deprecated due to the year 2038 problem.Use g_bookmark_file_set_visited_date_time() instead, astime_t
is deprecated due to the year 2038 problem.Use aGHashTable
insteadUse aGHashTable
insteadUse aGHashTable
insteadUse aGHashTable
insteadUse aGHashTable
insteadThe reason is that it passes pointers to internal data structures tofunc
; use g_cache_key_foreach() insteadUse aGHashTable
insteadUse aGHashTable
insteadUse aGHashTable
insteadRarely used APIRarely used APIRarely used APIRarely used APIRarely used APIRarely used APIRarely used APIRarely used APIRarely used APIRarely used APIGCond can now be statically allocated, or embedded in structures and initialised with g_cond_init().GCond can now be statically allocated, or embedded in structures and initialised with g_cond_init().Use g_cond_wait_until() instead.Use g_date_set_time_t() instead.GTimeVal
is not year-2038-safe. Use g_date_set_time_t() instead.GTimeVal
is not year-2038-safe. Use g_date_time_new_from_unix_local() instead.GTimeVal
is not year-2038-safe. Use g_date_time_new_from_unix_utc() instead.GTimeVal
is not year-2038-safe. Use g_date_time_to_unix() instead.It is best to avoid g_atexit().Use g_atomic_int_add() instead.Use g_path_get_basename() instead, but notice that g_path_get_basename() allocates new memory for the returned string, unlike this function which returns a pointer into the argument.This function is broken due to its use of SI suffixes to denote IEC units. Use g_format_size() instead.GTimeVal
is not year-2038-safe. UseGLib.getRealTime()
instead.UseGLib.memdup2(java.lang.foreign.MemorySegment, long)
instead, as it accepts a gsize argument forbyteSize
, avoiding the possibility of overflow in agsize
→guint
conversionGLib always uses the system malloc, so this function always returnstrue
.Use other memory profiling tools insteadThis function now does nothing. Use other memory profiling tools insteadUsePatternSpec.matchString(java.lang.String)
insteadtotal_elems
is too small to represent larger arrays; useGLib.sortArray(java.lang.foreign.MemorySegment[], long, org.gnome.glib.CompareDataFunc, java.lang.foreign.MemorySegment)
insteadUse g_spawn_check_wait_status() instead, and check whether your code is conflating wait and exit statuses.SeeGLib.strncasecmp(java.lang.String, java.lang.String, int)
for a discussion of why this function is deprecated and how to replace it.This function is totally broken for the reasons discussed in theGLib.strncasecmp(java.lang.String, java.lang.String, int)
docs — useGLib.asciiStrdown(java.lang.String, long)
orGLib.utf8Strdown(java.lang.String, long)
instead.The problem withg_strncasecmp()
is that it does the comparison by callingtoupper()
/tolower()
. These functions are locale-specific and operate on single bytes. However, it is impossible to handle things correctly from an internationalization standpoint by operating on bytes, since characters may be multibyte. Thusg_strncasecmp()
is broken if your string is guaranteed to be ASCII, since it is locale-sensitive, and it's broken if your string is localized, since it doesn't work on many encodings at all, including UTF-8, EUC-JP, etc.There are therefore two replacement techniques:
GLib.asciiStrncasecmp(java.lang.String, java.lang.String, long)
, which only works on ASCII and is not locale-sensitive, andGLib.utf8Casefold(java.lang.String, long)
followed bystrcmp()
on the resulting strings, which is good for case-insensitive sorting of UTF-8.This function is totally broken for the reasons discussed in theGLib.strncasecmp(java.lang.String, java.lang.String, int)
docs — useGLib.asciiStrup(java.lang.String, long)
orGLib.utf8Strup(java.lang.String, long)
instead.This function is implemented only on Unix platforms, is not always reliable due to problems inherent in fork-without-exec and doesn't set close-on-exec flag on its file descriptors. Use g_test_trap_subprocess() instead.This function is implemented only on Unix platforms, is not always reliable due to problems inherent in fork-without-exec and doesn't set close-on-exec flag on its file descriptors. Use g_test_trap_subprocess() instead.Use the more flexible g_unichar_fully_decompose() instead.Pass the HMODULE of a DLL or EXE to g_win32_get_package_installation_directory_of_module() instead.Pass the HMODULE of a DLL or EXE to g_win32_get_package_installation_directory_of_module() instead, and then construct a subdirectory pathname with g_build_filename().Be aware that for Windows 8.1 and Windows Server 2012 R2 and later, this will return 62 unless the application is manifested for Windows 8.1/Windows Server 2012 R2, for example. MSDN stated that GetVersion(), which is used here, is subject to further change or removal after Windows 8.1.This function uses the locale-specific tolower() function, which is almost never the right thing. Use g_string_ascii_down() or g_utf8_strdown() instead.This function uses the locale-specific toupper() function, which is almost never the right thing. Use g_string_ascii_up() or g_utf8_strup() instead.Use g_io_channel_shutdown() instead.Use g_io_channel_read_chars() instead.Use g_io_channel_seek_position() instead.Use g_io_channel_write_chars() instead.UseMainContext.isOwner()
and separate locking instead.Use g_mapped_file_unref() instead.GMutex can now be statically allocated, or embedded in structures and initialised with g_mutex_init().GMutex can now be statically allocated, or embedded in structures and initialised with g_mutex_init().Use g_option_group_unref() instead.dynamic allocation ofGPrivate
is a bad idea. Use static storage and G_PRIVATE_INIT() instead.Rarely used APIRarely used APIRarely used APIRarely used APIRarely used APIRarely used APIRarely used APIRarely used APIRarely used APIuseSource.getTime()
insteadUse g_mutex_clear()Use g_mutex_init()Use g_rec_mutex_clear()Use g_rec_mutex_init()Use g_rec_mutex_lock()Use g_rec_mutex_lock()Use g_rec_mutex_trylock()Use g_rec_mutex_unlock()Use g_rec_mutex_unlock()Use aGRWLock
insteadUse g_rw_lock_init() insteadUse g_rw_lock_reader_lock() insteadUse g_rw_lock_reader_trylock() insteadUse g_rw_lock_reader_unlock() insteadUse g_rw_lock_writer_lock() insteadUse g_rw_lock_writer_trylock() insteadUse g_rw_lock_writer_unlock() insteadUse g_thread_new() insteadThebound
andpriority
arguments are now ignored. Use g_thread_new().There aren't many things you can do with aGThread
, except comparing it with one that was returned from g_thread_create(). There are better ways to find out if your thread is still alive.This function is no longer necessary. The GLib threading system is automatically initialized at the start of your program.Thread priorities no longer have any effect.GTimeVal
is not year-2038-safe. Useguint64
for representing microseconds since the epoch, or useGDateTime
.GTimeVal
is not year-2038-safe. Use g_date_time_new_from_iso8601() instead.GTimeVal
is not year-2038-safe. Use g_date_time_format_iso8601(dt) instead.The order of a balanced tree is somewhat arbitrary. If you just want to visit all nodes in sorted order, use g_tree_foreach() instead. If you really need to visit nodes in a different order, consider using an [n-ary tree][glib-N-ary-Trees].Rarely used APIRarely used APIUse g_variant_parse_error_quark() instead.Use g_module_open() instead withmoduleName
as the basename of the file_name argument. SeeG_MODULE_SUFFIX
for why.Use g_binding_dup_source() for a safer version of this function.Use g_binding_dup_target() for a safer version of this function.Use g_object_new_with_properties() instead. deprecated. SeeGParameter
for more information.the type system is now initialised automaticallythe type system is now initialised automaticallythe type system is now initialised automaticallyUse the G_ADD_PRIVATE() macro with theG_DEFINE_*
family of macros to add instance private data to a typeThis function's return type is broken, see g_value_get_schar()Use g_value_take_boxed() instead.This function's input type is broken, see g_value_set_schar()Use g_value_take_object() instead.Use g_value_take_param() instead.Use g_value_take_string() instead.UseGArray
and g_array_append_val() instead.UseGArray
and g_array_ref() instead.UseGArray
and g_array_unref() instead.Use g_array_index() instead.UseGArray
and g_array_insert_val() instead.UseGArray
and g_array_prepend_val() instead.UseGArray
and g_array_remove_index() instead.UseGArray
and g_array_sort_with_data().Use graphene_rect_round_extents() insteadUse graphene_rect_round() insteadGTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5org.gnome.gtk.CellArea.activate(CellAreaContext, Widget, Rectangle, Set<CellRendererState>, boolean) This object will be removed in GTK 5This object will be removed in GTK 5This object will be removed in GTK 5This object will be removed in GTK 5This object will be removed in GTK 5This object will be removed in GTK 5This object will be removed in GTK 5This object will be removed in GTK 5This object will be removed in GTK 5This object will be removed in GTK 5UseColorDialogButton
insteadUseColorDialogButton
insteadUseColorDialogButton
insteadUseColorDialogButton
insteadUseColorDialog
insteadUseColorDialog
insteadUseColorDialog
insteadUseColorDialog
insteadUseColorDialog
insteadUseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseDropDown
UseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseWindow
insteadUseDropTarget.getCurrentDrop()
insteadGtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.GtkEntryCompletion will be removed in GTK 5.UseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFileDialog
insteadUseFontDialogButton
insteadUseFontDialogButton
insteadUseFontDialogButton
insteadUseFontDialogButton
insteadUseFontDialogButton
insteadUseFontDialogButton
insteadUseFontDialogButton
insteadUseFontDialogButton
insteadUseFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseFontDialog
andFontDialogButton
insteadUseGLArea.getApi()
Use list models insteadUse list models insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadorg.gnome.gtk.IconView.getTooltipContext(int, int, boolean, Out<TreeModel>, Out<TreePath>, TreeIter) UseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseGridView
insteadUseImage.setFromPaintable(org.gnome.gdk.Paintable)
insteadUse gtk_im_context_simple_add_compose_file()Use list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsUse list modelsThis widget will be removed in GTK 5This widget will be removed in GTK 5UseMediaStream.streamEnded()
insteadUseMediaStream.streamUnprepared()
instead.UseAlertDialog
insteadUseAlertDialog
insteadUseAlertDialog
insteadUseAlertDialog
insteadUseAlertDialog
insteadUseAlertDialog
insteadUsePicture.getContentFit()
instead. This will now returnFALSE
only ifGtk.Picture:content-fit
isGTK_CONTENT_FIT_FILL
. ReturnsTRUE
otherwise.UsePicture.setContentFit(org.gnome.gtk.ContentFit)
instead. If still used, this method will always set theGtk.Picture:content-fit
property toGTK_CONTENT_FIT_CONTAIN
ifkeepAspectRatio
is true, otherwise it will set it toGTK_CONTENT_FIT_FILL
.UsePicture.setPaintable(org.gnome.gdk.Paintable)
insteadGTK's new Vulkan-focused rendering does not support this feature. UseGLArea
for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. UseGLArea
for OpenGL rendering.This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5UseWidget.addCssClass(java.lang.String)
insteadUse style classes insteadThis api will be removed in GTK 5UseWidget.getColor(org.gnome.gdk.RGBA)
insteadUseWidget.getDisplay()
insteadThis api will be removed in GTK 5This api will be removed in GTK 5UseWidget.getScaleFactor()
insteadUseWidget.getStateFlags()
insteadUseWidget.hasCssClass(java.lang.String)
insteadThis api will be removed in GTK 5UseWidget.removeCssClass(java.lang.String)
insteadThis API will be removed in GTK 5This API will be removed in GTK 5You should not use this apiYou should not use this apiYou should not use this apiYou should not use this apiThis api will be removed in GTK 5This api will be removed in GTK 5There is no good reason for an application ever to call this function.Use list models insteadUse list models insteadUse list models insteadUse list models insteadUse list models insteadUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUse GtkListView or GtkColumnViewUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseTreeListModel
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadorg.gnome.gtk.TreeView.getTooltipContext(int, int, boolean, Out<TreeModel>, Out<TreePath>, TreeIter) UseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUseListView
orColumnView
insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUse GtkColumnView insteadUseWidget.getBaseline()
insteadUseWidget.getHeight()
insteadUseWidget.getWidth()
insteadStyle contexts will be removed in GTK 5UseWidget.setVisible(boolean)
insteadUseWidget.setVisible(boolean)
insteadUse gtk_widget_compute_point() insteadUseShortcut
andEventController
to implement keyboard shortcutsUseShortcut
andEventController
to implement keyboard shortcutsUseShortcut
andEventController
to implement keyboard shortcutsUse gtk_window_present()Use pango_font_map_create_context() instead.This returnsnull
This function does nothingThis returnsnull
Use g_object_unref insteadUsePango.defaultBreak(java.lang.String, int, org.gnome.pango.Analysis, org.gnome.pango.LogAttr, int)
,Pango.tailorBreak(java.lang.String, int, org.gnome.pango.Analysis, int, org.gnome.pango.LogAttr[])
andPango.attrBreak(java.lang.String, int, org.gnome.pango.AttrList, int, org.gnome.pango.LogAttr[])
.UseGLib.unicharGetMirrorChar(int, io.github.jwharm.javagi.base.Out<java.lang.Integer>)
instead; the docs for that function provide full details.Use g_unichar_get_script()Use soup_server_message_pause() instead.Use soup_server_message_unpause() instead.
-
ConstructorDescriptionUse
AboutDialog
.UseAlertDialog
.UsePreferencesDialog
.GLTextureBuilder
supersedes this function and provides extended functionality for creating GL textures.Use g_task_new() instead.Use g_unix_mount_monitor_get() instead.Use g_time_zone_new_identifier() instead, as it provides error reporting. Change your code to handle a potentiallynull
return value.UseGArray
and g_array_sized_new() instead.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5This widget will be removed in GTK 5UseColorDialogButton
insteadUseColorDialog
insteadUseDropDown
UseDropDown
UseWindow
insteadGtkEntryCompletion will be removed in GTK 5.UseFileDialog
insteadUseFileDialog
insteadDirect use ofGtkFileChooserWidget
is deprecatedUseFontDialogButton
insteadUseFontDialog
insteadDirect use ofGtkFontChooserWidget
is deprecated.UseGridView
insteadUseListStore
insteadThis widget will be removed in GTK 5UseAlertDialog
insteadUseAlertDialog
insteadThis widget will be removed in GTK 5UseTreeListModel
insteadUseListView
orColumnView
insteadUse GtkColumnView insteadThis widget will be removed in GTK 5