EuGTK - GTK_SELECTION_SINGLE?

new topic     » topic index » view thread      » older message » newer message

In GtkEnums.e I find:
GTK_SELECTION_NONE = 0,
GTK_SELECTION_SINGLE,
GTK_SELECTION_BROWSE,
GTK_SELECTION_MULTIPLE,

http://scentric.net/tutorial/sec-sel-click-menus.html

6.1.1. Selection Modes 
 
You can use gtk_tree_selection_set_mode to influence the way that selections are handled. There are four selection modes: 
 
GTK_SELECTION_NONE - no items can be selected 
 
GTK_SELECTION_SINGLE - no more than one item can be selected 
 
GTK_SELECTION_BROWSE - exactly one item is always selected 
 
GTK_SELECTION_MULTIPLE - anything between no item and all items can be selected 

Does this mean there is a way to do a single click event on a listview?

Single click would make more sense than double click in DMAK.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu