[Glade-users] how to get filename with filechooserbutton ?


but i don't know how to write the recup_filename()

You simply need to retrieve filename by using GtkFileChooser interface
like this:

---- CODE ----
def recup_filename( self, chooser ):
    filename = chooser->get_filename
    # Do something with filename
---- CODE ----

Hope this helps a bit.


Tadej Borov?ak
tadeboro at gmail.com
tadej.borovsak at gmail.com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]