Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Dec. 19, 2010 04:38:37

Erick P.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Signals received twice


Hi:

I think this is a bug, but I'm asking first to check,I'm using GtkFileChooserButton and connecting to "selection-changed" signaland the issue is that when i changed the selected fodler in the widget, I'mgetting the signal 4 or 5 times repeatedly.And I think that should happens just one, Am I right ?Thxs_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#2 Dec. 19, 2010 08:35:59

Tadej B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

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
tadeb***@*mail.com
tadej.borov***@*mail.com
_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#3 Dec. 20, 2010 04:58:45

Erick P.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Signals received twice


I'm using GtkFileChooserButton and connecting to "selection-changed"signaland the issue is that when i changed the selected fodler in the widget,I'mgetting 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 appearson the list, the signal doesn't gets emitted.BTW, I'm using GtkFIleChooserButton for selecting folders.Erick_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

Board footer

Moderator control

Enjoy the 23rd of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support