~~Depends on: #195~~ Repo: https://github.com/dbartolini/crown/tree/gtk4 - [ ] [Changes that need to be done at the time of the switch](https://docs.gtk.org/gtk4/migrating-3to4.html#changes-that-need-to-be-done-at-the-time-of-the-switch) - [ ] [Stop using GdkScreen](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gdkscreen) - [x] ~[Stop using the root window](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-the-root-window)~ - [ ] [Stop using GdkVisual](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gdkvisual) - [x] ~[Stop using GdkDeviceManager](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gdkdevicemanager)~ - [x] ~[Adapt to GdkWindow API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gdkwindow-api-changes)~ - [x] ~[The "iconified" window state has been renamed to "minimized"](https://docs.gtk.org/gtk4/migrating-3to4.html#the-iconified-window-state-has-been-renamed-to-minimized)~ - [x] [Adapt to GdkEvent API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gdkevent-api-changes) - [x] ~[Stop using grabs](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-grabs)~ - [x] [Adapt to coordinate API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-coordinate-api-changes) - [x] ~[Adapt to GdkKeymap API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gdkkeymap-api-changes)~ - [ ] [Adapt to changes in keyboard modifier handling](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-changes-in-keyboard-modifier-handling) - [x] ~[Replace GtkClipboard with GdkClipboard](https://docs.gtk.org/gtk4/migrating-3to4.html#replace-gtkclipboard-with-gdkclipboard)~ - [x] ~[Stop using gtk_get_current_... APIs](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtk_get_current_-apis)~ - [x] ~[Convert your UI files](https://docs.gtk.org/gtk4/migrating-3to4.html#convert-your-ui-files)~ - [x] ~[Adapt to GtkBuilder API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkbuilder-api-changes)~ - [x] [Adapt to event controller API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-event-controller-api-changes) - [ ] [Focus handling changes](https://docs.gtk.org/gtk4/migrating-3to4.html#focus-handling-changes) - [x] ~[Use the new apis for keyboard shortcuts](https://docs.gtk.org/gtk4/migrating-3to4.html#use-the-new-apis-for-keyboard-shortcuts)~ - [x] [Stop using GtkEventBox](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkeventbox) - [x] ~[Stop using GtkButtonBox](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkbuttonbox)~ - [x] [Adapt to GtkBox API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkbox-api-changes) - [x] [Adapt to GtkWindow API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkwindow-api-changes) - [x] [Adapt to GtkHeaderBar and GtkActionBar API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkheaderbar-and-gtkactionbar-api-changes) - [x] [Adapt to GtkStack, GtkAssistant and GtkNotebook API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkstack-gtkassistant-and-gtknotebook-api-changes) - [x] [Adapt to button class hierarchy changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-button-class-hierarchy-changes) - [x] [Adapt to GtkScrolledWindow API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkscrolledwindow-api-changes) - [x] [Adapt to GtkBin removal](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkbin-removal) - [x] [Adapt to GtkContainer removal](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkcontainer-removal) - [x] [Stop using GtkContainer::border-width](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkcontainerborder-width) - [x] [Adapt to gtk_widget_destroy() removal](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtk_widget_destroy-removal) - [x] [Adapt to coordinate API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-coordinate-api-changes_1) - [x] [Adapt to GtkStyleContext API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkstylecontext-api-changes) - [x] ~[Adapt to GtkCssProvider API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkcssprovider-api-changes)~ - [x] ~[Stop using GtkShadowType and GtkRelief properties](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkshadowtype-and-gtkrelief-properties)~ - [ ] [Adapt to GtkWidget's size request changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkwidgets-size-request-changes) - [ ] [Adapt to GtkWidget's size allocation changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkwidgets-size-allocation-changes) - [x] ~[Switch to GtkWidget's children APIs](https://docs.gtk.org/gtk4/migrating-3to4.html#switch-to-gtkwidgets-children-apis)~ - [x] ~[Don't use -gtk-gradient in your CSS](https://docs.gtk.org/gtk4/migrating-3to4.html#dont-use-gtk-gradient-in-your-css)~ - [x] ~[Don't use -gtk-icon-effect in your CSS](https://docs.gtk.org/gtk4/migrating-3to4.html#dont-use-gtk-icon-effect-in-your-css)~ - [x] ~[Don't use -gtk-icon-theme in your CSS](https://docs.gtk.org/gtk4/migrating-3to4.html#dont-use-gtk-icon-theme-in-your-css)~ - [x] ~[Don't use -gtk-outline-...-radius in your CSS](https://docs.gtk.org/gtk4/migrating-3to4.html#dont-use-gtk-outline-radius-in-your-css)~ - [ ] [Adapt to drawing model changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-drawing-model-changes) - [x] ~[Stop using APIs to query GdkSurfaces](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-apis-to-query-gdksurfaces)~ - [x] [Widgets are now visible by default](https://docs.gtk.org/gtk4/migrating-3to4.html#widgets-are-now-visible-by-default) - [ ] [Adapt to changes in animated hiding and showing of widgets](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-changes-in-animated-hiding-and-showing-of-widgets) - [x] ~[Stop passing commandline arguments to gtk_init](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-passing-commandline-arguments-to-gtk_init)~ - [ ] [GdkPixbuf is deemphasized](https://docs.gtk.org/gtk4/migrating-3to4.html#gdkpixbuf-is-deemphasized) - [x] [GtkWidget event signals are removed](https://docs.gtk.org/gtk4/migrating-3to4.html#gtkwidget-event-signals-are-removed) - [ ] [Invalidation handling has changed](https://docs.gtk.org/gtk4/migrating-3to4.html#invalidation-handling-has-changed) - [ ] [Stop using GtkWidget::draw](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkwidgetdraw) - [ ] [Window content observation has changed](https://docs.gtk.org/gtk4/migrating-3to4.html#window-content-observation-has-changed) - [x] ~[Monitor handling has changed](https://docs.gtk.org/gtk4/migrating-3to4.html#monitor-handling-has-changed)~ - [x] ~[Adapt to monitor API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-monitor-api-changes)~ - [x] [Adapt to cursor API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-cursor-api-changes) - [x] [Adapt to icon size API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-icon-size-api-changes) - [x] ~[Adapt to changes in the GtkAssistant API](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-changes-in-the-gtkassistant-api)~ - [x] [Adapt to changes in the API of GtkEntry, GtkSearchEntry and GtkSpinButton](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-changes-in-the-api-of-gtkentry-gtksearchentry-and-gtkspinbutton) - [x] [Adapt to changes in GtkOverlay API](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-changes-in-gtkoverlay-api) - [x] ~[Use GtkFixed instead of GtkLayout](https://docs.gtk.org/gtk4/migrating-3to4.html#use-gtkfixed-instead-of-gtklayout)~ - [x] [Adapt to search entry changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-search-entry-changes) - [x] [Adapt to GtkScale changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkscale-changes) - [x] ~[Stop using gtk_window_activate_default()](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtk_window_activate_default)~ - [x] ~[Stop using gtk_widget_grab_default()](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtk_widget_grab_default)~ - [x] ~[Stop setting ::has-default and ::has-focus in .ui files](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-setting-has-default-and-has-focus-in-ui-files)~ - [x] ~[Stop using the GtkWidget::display-changed signal](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-the-gtkwidgetdisplay-changed-signal)~ - [x] ~[GtkPopover::modal has been renamed to autohide](https://docs.gtk.org/gtk4/migrating-3to4.html#gtkpopovermodal-has-been-renamed-to-autohide)~ - [x] ~[gtk_widget_get_surface has been removed](https://docs.gtk.org/gtk4/migrating-3to4.html#gtk_widget_get_surface-has-been-removed)~ - [x] ~[gtk_widget_is_toplevel has been removed](https://docs.gtk.org/gtk4/migrating-3to4.html#gtk_widget_is_toplevel-has-been-removed)~ - [x] [gtk_widget_get_toplevel has been removed](https://docs.gtk.org/gtk4/migrating-3to4.html#gtk_widget_get_toplevel-has-been-removed) - [x] ~[GtkEntryBuffer ::deleted-text has changed](https://docs.gtk.org/gtk4/migrating-3to4.html#gtkentrybuffer-deleted-text-has-changed)~ - [x] [GtkMenu, GtkMenuBar and GtkMenuItem are gone](https://docs.gtk.org/gtk4/migrating-3to4.html#gtkmenu-gtkmenubar-and-gtkmenuitem-are-gone) - [x] [GtkToolbar has been removed](https://docs.gtk.org/gtk4/migrating-3to4.html#gtktoolbar-has-been-removed) - [x] ~[GtkAspectFrame is no longer a frame](https://docs.gtk.org/gtk4/migrating-3to4.html#gtkaspectframe-is-no-longer-a-frame)~ - [x] ~[Stop using custom tooltip windows](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-custom-tooltip-windows)~ - [x] [Switch to the new Drag-and-Drop api](https://docs.gtk.org/gtk4/migrating-3to4.html#switch-to-the-new-drag-and-drop-api) - [x] ~[Adapt to GtkIconTheme API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkicontheme-api-changes)~ - [x] [Adapt to GtkImage changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkimage-changes) - [x] [Update to GtkFileChooser API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#update-to-gtkfilechooser-api-changes) - [x] [Stop using blocking dialog functions](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-blocking-dialog-functions) - [x] ~[Stop using GtkBuildable API](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkbuildable-api)~ - [x] [Adapt to GtkAboutDialog API changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkaboutdialog-api-changes) - [x] [Adapt to GtkTreeView and GtkIconView tooltip context changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtktreeview-and-gtkiconview-tooltip-context-changes) - [x] [Adapt to GtkPopover changes](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkpopover-changes) - [x] [Stop using GtkFileChooserButton](https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkfilechooserbutton) - [x] ~[Adapt to changed GtkSettings properties](https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-changed-gtksettings-properties)~ - [ ] [Changes to consider after the switch](https://docs.gtk.org/gtk4/migrating-3to4.html#changes-to-consider-after-the-switch) - [ ] [Consider porting to the new list widgets](https://docs.gtk.org/gtk4/migrating-3to4.html#consider-porting-to-the-new-list-widgets)
Depends on: #195Repo: https://github.com/dbartolini/crown/tree/gtk4
Stop using the root windowStop using GdkDeviceManagerAdapt to GdkWindow API changesThe "iconified" window state has been renamed to "minimized"Stop using grabsAdapt to GdkKeymap API changesReplace GtkClipboard with GdkClipboardStop using gtk_get_current_... APIsConvert your UI filesAdapt to GtkBuilder API changesUse the new apis for keyboard shortcutsStop using GtkButtonBoxAdapt to GtkCssProvider API changesStop using GtkShadowType and GtkRelief propertiesSwitch to GtkWidget's children APIsDon't use -gtk-gradient in your CSSDon't use -gtk-icon-effect in your CSSDon't use -gtk-icon-theme in your CSSDon't use -gtk-outline-...-radius in your CSSStop using APIs to query GdkSurfacesStop passing commandline arguments to gtk_initMonitor handling has changedAdapt to monitor API changesAdapt to changes in the GtkAssistant APIUse GtkFixed instead of GtkLayoutStop using gtk_window_activate_default()Stop using gtk_widget_grab_default()Stop setting ::has-default and ::has-focus in .ui filesStop using the GtkWidget::display-changed signalGtkPopover::modal has been renamed to autohidegtk_widget_get_surface has been removedgtk_widget_is_toplevel has been removedGtkEntryBuffer ::deleted-text has changedGtkAspectFrame is no longer a frameStop using custom tooltip windowsAdapt to GtkIconTheme API changesStop using GtkBuildable APIAdapt to changed GtkSettings properties