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



Hi.

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

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




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