Re: Signals received twice



Hello.


> 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.

Cheers,
Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com


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