How to make GTK Save Button in Python?

Good day,
I would like to ask, I’m learning to program in Python, so I decided to start with a text editor, but I don’t know how to make a button, which when I click, a window will appear where I want to save it. Here is the code:

button = Gtk.Button("Save")
        button.add(Gtk.Arrow(Gtk.ArrowType.LEFT, Gtk.ShadowType.NONE))

Will you help me?

Hi BeginerIn,

are you searching for something alike this:

GtkFileChooserDialog: GTK+ 3 Reference Manual (


Cheers, Dominik