Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Technical discussions | Discussions techniques How to deal with multiple inputs and only one "on_answer" signal
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Technical discussions | Discussions techniques

Subjects Author Language Messages Last message
[Locked] How to deal with multiple inputs and only one "on_answer" signal
Eduardo Mucelli English 2 Eduardo Mucelli [Read]
24 March 2010 à 21:28

Eduardo Mucelli, Wednesday 24 March 2010 à 14:04


Subscription date : 05 August 2009
Messages : 285
I could not figure it out by myself reading DBus page in the Wiki, but the problem is. If I have, for example, many AskText, AskValue calls, how can I figure out that a specific answer came from a specific Ask* call since there is only one "on_answer" with no identification of the received parameter ?

I mean, is there a way to bind the question with an ID to know which answer came from which respective question ? If there is no such way, how are you dealing with multiple inputs from user ?

fabounet, Wednesday 24 March 2010 à 21:12


Subscription date : 30 November 2007
Messages : 17118
actually the DBus takes care to delete the previous dialog if there was any.
so you can only have 1 dialog at once, which is the last one.
until now we didn't need to ask several questions at once, but I think it's better to not pop up many dialogs at once anyway.

Eduardo Mucelli, Wednesday 24 March 2010 à 21:28


Subscription date : 05 August 2009
Messages : 285
Solved my doubt. Thanks.

Technical discussions | Discussions techniques

Subjects Author Language Messages Last message
[Locked] How to deal with multiple inputs and only one "on_answer" signal
Eduardo Mucelli English 2 Eduardo Mucelli [Read]
24 March 2010 à 21:28


Glx-Dock / Cairo-Dock List of forums Technical discussions | Discussions techniques How to deal with multiple inputs and only one "on_answer" signal Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.