Monday, April 29, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1523  / 1 Year ago, wed, april 26, 2023, 6:02:38

i want to get the location of the folder that is selected by a filechooserbutton in pygtk... how can i do this?



i connect the current folder changed signal from filechooser but the signal is emitted twice so i get the name of the folder twice...



i don't know what signal to connect... can i do something with properties?
any idea will be usefull... :)


More From » application-development

 Answers
5

A gtk.FileChooserButton implements the gtk.FileChooser interface. This means you can just use those methods on your button. get_current_folder() is probably the one you need.


[#37017] Wednesday, April 26, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nalystcul

Total Points: 390
Total Questions: 106
Total Answers: 115

Location: Tokelau
Member since Sun, May 7, 2023
1 Year ago
;