Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionThe application selection widgets should be implemented according to the design of each platform and/or application requiring them.List views use widgets for displaying their contents. See
Editablefor editable text widgetsList views use widgets to display their contents. SeeLayoutManagerfor layout manager delegate objectsUseFileDialoginsteadUseFontDialogandFontDialogButtoninsteadList views use widgets to display their contents. You can useDropTargetto implement a drop destinationList views use widgets to display their contents. You can useDragSourceto implement a drag sourceUseListModelinsteadThere is no replacement for this interface. You should useSortListModelto wrap your list model instead
-
Deprecated ClassesClassDescriptionUse
GstVecDequeinstead.UseAboutDialog.UseAlertDialog.UsePreferencesDialog.GTK does not expose any Vulkan internals. This struct is a leftover that was accidentally exposed.Use a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUseGLib.ThreadPoolorTask.runInThread(org.gnome.gio.TaskThreadFunc)Use aGHashTableinsteadRarely used APIRarely used APIUse aGRWLockinsteadUseGDateTimeorguint64instead.GTrashStackis deprecated without replacementRarely used APIThis type is not introspectable.UseGArrayinstead, if possible for the given use case, as described above.This feature was deprecated in GTK 4.16 after the new rendering infrastructure introduced in 4.14 did not support it. The lack of Vulkan integration would have made it a very hard feature to support. If you want to use OpenGL directly, you should look at GtkGLArea, which uses a different approach and is still well-supported.The application selection widgets should be implemented according to the design of each platform and/or application requiring them.The application selection widgets should be implemented according to the design of each platform and/or application requiring them.The application selection widgets should be implemented according to the design of each platform and/or application requiring them.This widget will be removed in GTK 5This object will be removed in GTK 5List views use widgets for displaying their contentsList views use widgets for displaying their contentsThis object will be removed in GTK 5List views use widgets for displaying their contentsApplications editing keyboard accelerators should provide their own implementation according to platform design guidelinesList views use widgets to display their contents. You should useDropDowninsteadList views use widgets to display their contents. You should useProgressBarinsteadList views use widgets to display their contents. You should useSpinButtoninsteadList views use widgets to display their contents. You should useSpinnerinsteadList views use widgets to display their contents. You should useInscriptionorLabelinsteadList views use widgets to display their contents. You should useToggleButtoninsteadList views use widgets to display their contents. You can useBoxinsteadUseColorDialogButtoninsteadUseColorDialoginsteadDirect use ofGtkColorChooserWidgetis deprecated.UseDropDowninsteadUseDropDownwith aStringListinsteadUseWindowinsteadUseFileDialoginsteadUseFileDialoginsteadDirect use ofGtkFileChooserWidgetis deprecatedUseFontDialogButtoninsteadUseFontDialoginsteadDirect use ofGtkFontChooserWidgetis deprecated.UseGridViewinsteadUseListStoreinsteadThis widget will be removed in GTK 5UseAlertDialoginsteadThis 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 5The relevant API has been moved toWidgetwhere applicable; otherwise, there is no replacement for querying the style machinery. Stylable UI elements should use widgets.UseFilterListModelinstead.UseSortListModelinsteadUseListModelinsteadUseSelectionModelinsteadUseTreeListModelinsteadUseListViewfor lists, andColumnViewfor tabular listsThis widget will be removed in GTK 5
-
Deprecated Enum ClassesEnum ClassDescriptionStop using
AdwLeafletandAdwFlapThere is no user of GdkPixbufAlphaMode in GdkPixbuf, and the Xlib utility functions have been split out to their own library, gdk-pixbuf-xlibChanging the rehandshake mode is no longer required for compatibility. Also, rehandshaking has been removed from the TLS protocol in TLS 1.3.GTestTrapFlagsis used only withGLib.testTrapFork(long, java.util.Set<org.gnome.glib.TestTrapFlags>), which is deprecated. Its replacement,GLib.testTrapSubprocess(java.lang.String, long, java.util.Set<org.gnome.glib.TestSubprocessFlags>)usesGLib.TestSubprocessFlags.Thread priorities no longer have any effect.g_type_init() is now done automaticallyGtkAssistantwill be removed in GTK 5There is no replacementThere is no replacement.There is no replacement.There is no replacement.There is no replacementThere is no replacement.There is no replacement.There is no replacement.There is no replacementThere is no replacement.There is no replacement.There is no replacementUse fribidi for this information
-
Deprecated FieldsFieldDescriptionDo not use, HAL is deprecated.Use G_STRFUNC() insteadUse G_STRFUNC() insteadUse
GTK_ALIGN_BASELINE_FILLinsteadThere is no replacementThere is no replacement
-
Deprecated MethodsMethodDescriptionUse gst_audio_format_info_fill_silence() instead.Use gst_base_src_new_segment()Use
GstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.UseGstVecDequeinstead.Use gst_caps_features_add_id_str().Use gst_caps_features_contains_id_str().Use gst_caps_features_get_nth_id_str().Use gst_caps_features_new_id_str().Use gst_caps_features_remove_id_str().This function can easily cause memory corruption, don't use it.Prefer using gst_element_request_pad_simple() which provides the exact same functionality.Use gst_event_has_name().This function is deprecated since 1.18 and does nothing anymore.Use gst_object_has_as_ancestor() instead.MT safe. Grabs and releases
object'slocks.Use gst_segment_position_from_running_time() instead.Use gst_structure_filter_and_map_in_place_id_str().Use gst_structure_foreach_id_str().Use gst_structure_get_name_id_str().Use gst_structure_new_id_str().Use gst_structure_new_id_str_empty().Use gst_structure_id_str_get().Use gst_structure_id_str_has_field().Use gst_structure_id_str_has_field_typed().Use gst_structure_id_str_set().Use gst_structure_id_str_set_value().Use gst_structure_id_str_take_value().Use gst_structure_map_in_place_id_str().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.Use hb_font_draw_glyph_func_or_fail_t instead.Usehb_font_draw_glyph_func_tinsteadUse hb_font_paint_glyph_or_fail_func_t instead.Use hb_font_funcs_set_draw_glyph_or_fail_func instead.Use hb_font_funcs_set_draw_glyph_func() insteadUse hb_font_funcs_set_paint_glyph_or_fail_func() instead.Use hb_font_draw_glyph() insteadUse hb_ft_font_get_ft_face() instead.use hb_ot_tags_from_script_and_language() insteaduse hb_ot_tags_from_script_and_language() insteaduse hb_ot_var_find_axis_info() insteaduse 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.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.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.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.UseAlertDialog.UseAlertDialog.UseAlertDialog.UseAlertDialog.UseAlertDialog.UseAlertDialog.UseAlertDialog.UsePreferencesDialog.UsePreferencesDialog.UseNavigationPage:can-popinstead.UsePreferencesDialog.UsePreferencesDialog.UsePreferencesDialog.UsePreferencesWindow.popSubpage()instead.UseNavigationPage.getCanPop()instead.UsePreferencesDialog.UsePreferencesDialog.UsePreferencesDialog.UsePreferencesDialog.UsePreferencesDialog.UsePreferencesDialog.UseNavigationPage.setCanPop(boolean)instead.UsePreferencesDialog.UsePreferencesDialog.UsePreferencesDialog.Drawing content with Cairo should be done via Cairo rendernodes, not by using renderers.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. UseGskRenderNodeandGskRenderer.Drawing directly to the surface is no longer recommended. UseGskRenderNodeandGskRenderer.Drawing directly to the surface is no longer recommended. UseGskRenderNodeandGskRenderer.Drawing directly to the surface is no longer recommended. UseGskRenderNodeandGskRenderer.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(); if you want to use that texture in Cairo, useTexture.download(byte[], long)to download the data into a Cairo image surface.Use cairo_set_source_surface() and gdk_texture_download()UseTextureand subclasses instead cairo surfaces and pixbufsUseTextureand subclasses instead cairo surfaces and pixbufsUseGLContext.isShared(org.gnome.gdk.GLContext)to check if contexts can be shared.UseGLContext.isShared(org.gnome.gdk.GLContext)to check if contexts can be shared.Drawing content with Cairo should be done via Cairo rendernodes, not by using the Cairo renderer.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.Use e.g. libglycin, which can load many image formats into aGdkTextureUseGResourceinstead.UsePixbuf.fromStream(org.gnome.gio.InputStream, org.gnome.gio.Cancellable)with aMemoryInputStream, making sure to handle errors in case the XPM format loader is not availableUse g_object_ref().Use g_object_unref().Use a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsorg.gnome.gdkpixbuf.PixbufAnimation.newFromStreamAsync(InputStream, Cancellable, AsyncReadyCallback) Use a different image loading library for animatable assetsUse g_object_ref().Use g_object_unref().Use a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse a different image loading library for animatable assetsUse theActionMapinterface instead. Never ever mix use of this API with use ofGActionMapon the sameapplicationor things will go very badly wrong.Use theGActionMapinterface instead. Never ever mix use of this API with use ofGActionMapon 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 useGActionMapinstead.Use g_object_new_with_properties() and g_async_initable_init_async() instead. SeeGParameterfor 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.Deprecated in favour ofDBusConnection.registerObjectWithClosures2(java.lang.String, org.gnome.gio.DBusInterfaceInfo, org.gnome.gobject.Closure, org.gnome.gobject.Closure, org.gnome.gobject.Closure), which has more binding-friendly reference counting semantics.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.Do not attempt to ignore validation errors.Do not attempt to ignore validation errors.The rehandshake mode is ignored.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, asGTimeValis deprecated due to the year 2038 problem.Use g_file_info_set_modification_date_time() instead, asGTimeValis 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.useGThreadPoolor 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. SeeGParameterfor more information.Use g_main_context_invoke().Use g_main_context_invoke().UseGLib.ThreadPoolorTask.runInThread(org.gnome.gio.TaskThreadFunc)renamed toListStore.removeAt(int)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 theGio.Settings:schema-idproperty instead. In a future version, this property may instead refer to aGio.SettingsSchema.UseSettingsSchemaKey.getRange()instead.UseSettingsSchema.listKeys()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.UseSettingsSchemaKey.rangeCheck(org.gnome.glib.Variant)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()UseGTaskinstead.UseGTaskinstead.Use g_task_new() and g_task_return_new_error() instead.Use g_task_new() and g_task_return_error() instead.UseGTaskand g_task_propagate_boolean() instead.UseGTaskand g_task_propagate_pointer() instead.UseGTaskand g_task_propagate_int() instead.UseGTaskand g_task_get_source_tag() instead.UseGTaskand g_task_is_valid() instead.UseGTaskinstead.UseGTaskand g_task_run_in_thread() instead.UseGTaskinstead.UseGTaskand g_task_return_new_error() instead.UseGTaskand g_task_return_error() instead.UseGTaskand g_task_return_boolean() instead.UseGTaskand g_task_return_pointer() instead.UseGTaskand g_task_return_int() instead.UseGTaskand 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.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.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.The rehandshake mode is ignored.Use GTlsConnection: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_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() insteadUse g_unix_socket_address_new_with_type().UseGUnixSocketAddress:address-type, which distinguishes between zero-padded and non-zero-padded abstract addresses.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,GVolumeMonitorimplementations 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 thequeue'slock.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 thequeue'slock.Use g_bookmark_file_get_added_date_time() instead, astime_tis deprecated due to the year 2038 problem.Use g_bookmark_file_get_application_info() instead, astime_tis deprecated due to the year 2038 problem.Use g_bookmark_file_get_modified_date_time() instead, astime_tis deprecated due to the year 2038 problem.Use g_bookmark_file_get_visited_date_time() instead, astime_tis deprecated due to the year 2038 problem.Use g_bookmark_file_set_added_date_time() instead, astime_tis deprecated due to the year 2038 problem.Use g_bookmark_file_set_application_info() instead, astime_tis deprecated due to the year 2038 problem.Use g_bookmark_file_set_modified_date_time() instead, astime_tis deprecated due to the year 2038 problem.Use g_bookmark_file_set_visited_date_time() instead, astime_tis deprecated due to the year 2038 problem.Use aGHashTableinsteadUse aGHashTableinsteadUse aGHashTableinsteadUse aGHashTableinsteadUse aGHashTableinsteadThe reason is that it passes pointers to internal data structures tofunc;use g_cache_key_foreach() insteadUse aGHashTableinsteadUse aGHashTableinsteadUse aGHashTableinsteadRarely 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.GTimeValis not year-2038-safe. Use g_date_set_time_t() instead.GTimeValis not year-2038-safe. Use g_date_time_new_from_unix_local() instead.GTimeValis not year-2038-safe. Use g_date_time_new_from_unix_utc() instead.GTimeValis 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.GLib.TimeValis 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→guintconversionGLib 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_elemsis too small to represent larger arrays; useGLib.sortArray(java.lang.foreign.MemorySegment[], long, org.gnome.glib.CompareDataFunc)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 funcGLib.testTrapSubprocess]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 funcGLib.testTrapSubprocess]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.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 ofGPrivateis 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 aGRWLockinsteadUse 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() insteadTheboundandpriorityarguments 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.GTimeValis not year-2038-safe. Useguint64for representing microseconds since the epoch, or useGDateTime.GTimeValis not year-2038-safe. Use g_date_time_new_from_iso8601() instead.GTimeValis 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.Rarely used APIRarely used APIUse g_variant_parse_error_quark() instead.Use g_module_open() instead withmoduleNameas the basename of the file_name argument. SeeG_MODULE_SUFFIXfor 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. SeeGParameterfor more information.Use g_type_default_interface_get() insteadInterface reference counting has been removed and interface types now cannot be finalized. This function no longer does anything.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 typeUse g_type_class_get() insteadType class reference counting has been removed and type classes now cannot be finalized. This function no longer does anything.Type class reference counting has been removed and type classes now cannot be finalized. This function no longer does anything.This 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.UseGArrayand g_array_append_val() instead.UseGArrayand g_array_ref() instead.UseGArrayand g_array_unref() instead.Use g_array_index() instead.UseGArrayand g_array_insert_val() instead.UseGArrayand g_array_prepend_val() instead.UseGArrayand g_array_remove_index() instead.UseGArrayand 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 property is ignored. GTK always registers with the session managerGtkShortcutsWindowwill be removed in GTK 5GtkShortcutsWindowwill 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 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 widget will be removed in GTK 5This property will be removed in GTK 5. UseCalendar:dateinstead.This property will be removed in GTK 5. UseCalendar:dateinstead.This property will be removed in GTK 5. UseCalendar:dateinstead.UseCalendar.setDate(org.gnome.glib.DateTime)instead.There is no replacementorg.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 5This object will be removed in GTK 5There is no replacementThere is no replacementUseColorDialogButtoninsteadUseColorDialogButtoninsteadUseColorDialogButtoninsteadUseColorDialogButtoninsteadUseColorDialoginsteadUseColorDialoginsteadUseColorDialoginsteadUseColorDialoginsteadUseColorDialoginsteadUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUseDropDownUsing any of the other theme loaders, combine with media queries.UseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseWindowinsteadUseDropTarget.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.GtkEntryCompletion will be removed in GTK 5.There is no replacementUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUseFileDialoginsteadUse the api of your image loading framework (e.g. glycin) to enumerate supported formatsUseFontDialogButtoninsteadUseFontDialogButtoninsteadUseFontDialogButtoninsteadUseFontDialogButtoninsteadUseFontDialogButtoninsteadUseFontDialogButtoninsteadUseFontDialogButtoninsteadUseFontDialogButtoninsteadUseFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadUseFontDialogandFontDialogButtoninsteadThere is no replacementUseGtk.GLArea:allowed-apisUseGLArea.getApi()Use list models insteadUse list models insteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadorg.gnome.gtk.IconView.getTooltipContext(int, int, boolean, Out<TreeModel>, Out<TreePath>, TreeIter) UseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadUseGridViewinsteadThere is no replacement.UseImage.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 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 5UseMediaStream.streamEnded()insteadUseMediaStream.streamUnprepared()instead.UseAlertDialoginsteadUseAlertDialoginsteadUseAlertDialoginsteadUseAlertDialoginsteadUseAlertDialoginsteadUseAlertDialoginsteadUseGtk.Picture:content-fitinstead.UsePicture.getContentFit()instead. This will now returnFALSEonly ifGtk.Picture:content-fitisGTK_CONTENT_FIT_FILL. ReturnsTRUEotherwise.UsePicture.setContentFit(org.gnome.gtk.ContentFit)instead. If still used, this method will always set theGtk.Picture:content-fitproperty toGTK_CONTENT_FIT_CONTAINifkeepAspectRatiois true, otherwise it will set it toGTK_CONTENT_FIT_FILL.UsePicture.setPaintable(org.gnome.gdk.Paintable)insteadUseGtkCssProviderproperties insteadThis setting is not relevant anymoreThis setting is not relevant anymoreThis setting is not relevant anymoreThis 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 5GTK's new Vulkan-focused rendering does not support this feature. UseGLAreafor OpenGL rendering.GTK's new Vulkan-focused rendering does not support this feature. UseGLAreafor 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.There is no replacementUse list models insteadUse list models insteadUse list models insteadUse list models insteadUse list models insteadThere is no replacementThere is no replacementThere is no replacementThere is no replacement.Use 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 GtkColumnViewThere is no replacementThere is no replacementUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseTreeListModelinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadorg.gnome.gtk.TreeView.getTooltipContext(int, int, boolean, Out<TreeModel>, Out<TreePath>, TreeIter) UseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUseListVieworColumnViewinsteadUse 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 insteadThere is no replacement.There is no replacement.There is no replacement.There is no replacement.This widget will be removed in GTK 5UseWidget.getBaseline()insteadUseWidget.getHeight()insteadUseWidget.getWidth()insteadStyle contexts will be removed in GTK 5UseWidget.setVisible(boolean)insteadUseWidget.setVisible(boolean)insteadUseShortcutandEventControllerto implement keyboard shortcutsUseShortcutandEventControllerto implement keyboard shortcutsUseShortcutandEventControllerto implement keyboard shortcutsUseWindow.present()Use pango_font_map_create_context() instead.This returnsnullThis function does nothingThis returnsnullUse g_object_unref insteadJust use pango_font_description_free in a loopUsePango.defaultBreak(java.lang.String, int, org.gnome.pango.Analysis, org.javagi.base.Out<org.gnome.pango.LogAttr[]>),Pango.tailorBreak(java.lang.String, int, org.gnome.pango.Analysis, int, org.javagi.base.Out<org.gnome.pango.LogAttr[]>)andPango.attrBreak(java.lang.String, int, org.gnome.pango.AttrList, int, org.javagi.base.Out<org.gnome.pango.LogAttr[]>).UseGLib.unicharGetMirrorChar(int, org.javagi.base.Out<java.lang.Integer>)instead; the docs for that function provide full details.Use g_unichar_get_script()UseHandle.readStreamSync(org.gnome.gio.InputStream, org.gnome.gio.Cancellable)or the constructor functionsHandle.fromGfileSync(org.gnome.gio.File, java.util.Set<org.gnome.rsvg.HandleFlags>, org.gnome.gio.Cancellable)orHandle.fromStreamSync(org.gnome.gio.InputStream, org.gnome.gio.File, java.util.Set<org.gnome.rsvg.HandleFlags>, org.gnome.gio.Cancellable). See the deprecation notes forHandle.write(byte[])for more information.UseGObject.unref()instead.UseHandle.getIntrinsicSizeInPixels(org.javagi.base.Out<java.lang.Double>, org.javagi.base.Out<java.lang.Double>)instead. This function is deprecated because it is not able to return exact fractional dimensions, only integer pixels.UseHandle.getGeometryForLayer(java.lang.String, org.gnome.rsvg.Rectangle, org.gnome.rsvg.Rectangle, org.gnome.rsvg.Rectangle)instead. This function is deprecated since it is not able to return exact floating-point positions, only integer pixels.Please useHandle.renderDocument(org.freedesktop.cairo.Context, org.gnome.rsvg.Rectangle)instead; that function lets you pass a viewport and obtain a good error message.Please useHandle.renderLayer(org.freedesktop.cairo.Context, java.lang.String, org.gnome.rsvg.Rectangle)instead; that function lets you pass a viewport and obtain a good error message.UseHandle.renderDocument(org.freedesktop.cairo.Context, org.gnome.rsvg.Rectangle)instead. This function was deprecated because when thesizeFuncis used, it makes it unclear when the librsvg functions which call thesizeFuncwill use the size computed originally, or the callback-specified size, or whether it refers to the whole SVG or to just a sub-element of it. It is easier, and unambiguous, to use code similar to the example above.UseHandle.readStreamSync(org.gnome.gio.InputStream, org.gnome.gio.Cancellable)or the constructor functionsHandle.fromGfileSync(org.gnome.gio.File, java.util.Set<org.gnome.rsvg.HandleFlags>, org.gnome.gio.Cancellable)orHandle.fromStreamSync(org.gnome.gio.InputStream, org.gnome.gio.File, java.util.Set<org.gnome.rsvg.HandleFlags>, org.gnome.gio.Cancellable). This function is deprecated because it will accumulate data from thebufin memory untilHandle.close()gets called. To avoid a big temporary buffer, use the suggested functions, which take aGFileor aGInputStreamand do not require a temporary buffer.No-op. This function should not be called from normal programs.There is no need to initialize librsvg.This function used to set a global default DPI. However, it only worked if it was called before anyHandleobjects had been created; it would not work after that. To avoid global mutable state, please useHandle.setDpi(double)instead.This function used to set a global default DPI. However, it only worked if it was called before anyHandleobjects had been created; it would not work after that. To avoid global mutable state, please useHandle.setDpi(double)instead.There is no need to de-initialize librsvg.UseHandle.renderDocument(org.freedesktop.cairo.Context, org.gnome.rsvg.Rectangle)instead, which lets you specify a viewport size in which to render the SVG document.Use soup_server_message_pause() instead.Use soup_server_message_unpause() instead.Replaced withListIndexModel(int)
-
Deprecated ConstructorsConstructorDescriptionUse
AlertDialog.GLTextureBuildersupersedes this function and provides extended functionality for creating GL textures.Use a different image loading library for animatable assetsUse g_task_new() instead.Use g_time_zone_new_identifier() instead, as it provides error reporting. Change your code to handle a potentiallynullreturn value.UseGArrayand 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 5UseColorDialoginsteadUseFileDialoginsteadUseFileDialoginsteadDirect use ofGtkFileChooserWidgetis deprecatedUseFontDialoginsteadUseListStoreinsteadThis widget will be removed in GTK 5UseAlertDialoginsteadUseAlertDialoginsteadThis widget will be removed in GTK 5UseTreeListModelinstead
-
Deprecated Enum ConstantsEnum ConstantDescriptionUse
Gio.ApplicationFlags.DEFAULT_FLAGS.