| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
GTK
GTK.Combo

# Method GTK.Combo()->set_use_arrows()

Method set_use_arrows

  `GTK.Combo set_use_arrows(int use_arrows)`

Description

  set_use_arrows() lets the user change the value in the entry using the up/down arrow keys. This doesn't bring up the list, but rather replaces the current text in the entry with the next list entry (up or down, as your key choice indicates). It does this by searching in the list for the item corresponding to the current value in the entry and selecting the previous/next item accordingly. Usually in an entry the arrow keys are used to change focus (you can do that anyway using TAB). Note that when the current item is the last of the list and you press arrow-down it changes the focus (the same applies with the first item and arrow-up).