mirror of
https://github.com/Taiko2k/GTK4PythonTutorial.git
synced 2026-11-10 06:40:09 +01:00
Update README.md
This commit is contained in:
1 parent
773898c030
commit
139e7cbb38
1 file changed
+1
-1
@@ -468,7 +468,7 @@ from gi.repository import Gtk, Adw, Gio, GLib # Add GLib to imports
|
||||
def show_about(self, action, param):
|
||||
self.about = Gtk.AboutDialog()
|
||||
self.about.set_transient_for(self) # Makes the dialog always appear in from of the parent window
|
||||
self.about.set_modal(self) # Makes the parent window unresponsive while dialog is showing
|
||||
self.about.set_modal(True) # Makes the parent window unresponsive while dialog is showing
|
||||
|
||||
self.about.set_authors(["Your Name"])
|
||||
self.about.set_copyright("Copyright 2022 Your Full Name")
|
||||
|
||||
Reference in new issue
Block a user