方法

Gtk下拉列表set_selected

[]

声明 [源]

void
gtk_drop_down_set_selected (
  GtkDropDown* self,
  guint position
)
[]

描述 [源]

选择给定位置的项目。

设置属性Gtk.DropDown:selected
[]

参数

position

类型: guint

选择的项目位置,或者 GTK_INVALID_LIST_POSITION