GTK+ 1.2.10 Clist question... As briefly as possible... I have a clist with a signal handler for button_press_event events. Within this function, I'm checking for button 3. I show a popup menu if the user clicks the right mouse button over a clist item.
In the signal hander, I call gtk_clist_get_selection to figure out which row the user right clicked on. I then call gtk_clist_select_row to select that row. However, the row focus does not follow this selection. If I now use my up/down arrow keys, the focus moves from the previously selected row. I reviewed the clist code and all the functions and structure members that handle focus are defined as private so I can't use them. Note that if I click on the row with the left mouse button, the focus is moved to the selected row. Again, this is done by the private clist functions. How can I make the third mouse button: 1. Display my desired popup menu 2. Select the row the user clicked on 3. Move the current clist focus to the selected row Thanks for any help/ideas. Regards, David _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
