From: Dennis S. <sy...@yo...> - 2004-10-03 17:27:40
|
Heya Duilio, When you double click in the xmms it's visualisation plugin list it'll show a config dialog. Thus I've had a look at the xmms code how it's doing this, and it seems to use GtkCList... and the following: gtk_clist_set_selection_mode(GTK_CLIST(prefswin_gplugins_list), GTK_SELECTION_SINGLE); gtk_signal_connect(GTK_OBJECT(prefswin_gplugins_list), "select_row", GTK_SIGNAL_FUNC(prefswin_glist_clicked), NULL); gtk_signal_connect(GTK_OBJECT(prefswin_gplugins_list), "unselect_row", GTK_SIGNAL_FUNC(prefswin_glist_clicked), NULL); It's in prefswin.c in the xmms/ dir within the xmms source tree. You might want to have a look at this because right now it's very unclear how you can actually change plugins. And I eventually want to drop the keybindings so we need a better and more natural way for this anyway. I think 'doubleclick' in the list is a good option... If you or someone else has a better suggestions, please go ahead. Cheers, Dennis |