Retrieves the index of the currently selected menu item. The menu
items are numbered from top to bottom, starting with 0.
WARNING: gtk_option_menu_get_history has been deprecated since version 2.4 and should not be used in newly-written code. Use GtkComboBox instead.