Open sudipshil9862 opened 5 months ago
fonts_compare.py:118: DeprecationWarning: Gtk.Dialog.get_widget_for_response is deprecated self.btn_ok = self.get_widget_for_response(Gtk.ResponseType.OK) fonts_compare.py:120: DeprecationWarning: Gtk.Widget.get_style_context is deprecated self.btn_ok.get_style_context().add_class('suggested-action') fonts_compare.py:120: DeprecationWarning: Gtk.StyleContext.add_class is deprecated self.btn_ok.get_style_context().add_class('suggested-action') fonts_compare.py:122: DeprecationWarning: Gtk.Dialog.set_default_response is deprecated self.set_default_response(Gtk.ResponseType.OK) fonts_compare.py:124: DeprecationWarning: Gtk.Dialog.get_content_area is deprecated content_area = self.get_content_area()
Gtk.Dialog is deprecated https://docs.gtk.org/gtk4/class.Dialog.html I'll be using Gtk.Window instead of Gtk.Dialog
Gtk.Window