signals - gtk tree view. Handle both single and double click -


according gtk+3 reference site:

the "row-activated" signal emitted when method gtk_tree_view_row_activated() called, when user double clicks treeview row "activate-on-single-click" property set false, or when user single clicks row when "activate-on-single-click" property set true. emitted when non-editable row selected , 1 of keys: space, shift+space, return or enter pressed.

is there no way deal both single , double click? example, single click action, double click one.

you can try use parent signals, in case gtkwidget's signal "button-press-event", event of gdk_button_press doing , gdk_2button_press doing other. little note: have grab gtktreeviewselection on row need.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -