Re: Signals received twice



I'm using GtkFileChooserButton and connecting to "selection-changed" signal and the issue is that when i changed the selected fodler in the widget, I'm
getting the signal 4 or 5 times repeatedly.
And I think that should happens just one, Am I right ?

No, GtkFileChooser::selection-changed signal gets emitted for every
change of selection in file selection dialog. You should probably use
GtkFileChooserButton::file-set signal in your application.

Yeah, mmm, I tried that one, but when I select one the folders that appears on the list, the signal doesn't gets emitted.
BTW, I'm using GtkFIleChooserButton for selecting folders.

Erick

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