-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adw.AboutWindow codeblock explaination #22
Comments
Just run that code when you want to show the about window, plus add the line |
Oh right, so the 2nd adw code block is supposed to replace the first. That might not have been clear. So remove everything that starts with Btw one being assigned to As for that invalid character, not sure why that's there, it seems to be a special kind of space, so maybe delete and retype the spaces in lines where you get that error. |
It seems like something has gone weird with a copy and paste you did. I'd suggest erasing that whole code block and writing it out manually. You can omit the informational |
I re-wrote the lines
into the definition for Show_About, and I now get: AttributeError: 'gi.repository.Adw' object has no attribute 'AboutWindow' Is it possible that some syntax was updated? |
in the 'Better About Window' tab, you showcase some code for an adwaita AboutWindow, but (unless I missed it, and I checked code examples) I can't find a complete usage example of that, and the documentation isn't too much help since it's all for C....
Would you be willing to show an Adw.AboutWindow example that shows where the:
dialog = Adw.AboutWindow(transient_for=app.get_active_window())
and following line(s) are defined?
I was able to make an about window with the section for Gtk.AboutDialouge, but I don't understand the small 'dialog' snippets for the Adw.AboutWindow
The text was updated successfully, but these errors were encountered: