class Plugin::Settings::Menu

設定DSLで設定された設定をリストアップし、選択するリストビュー。

Constants

COL_LABEL
COL_ORDER
COL_RECORD

Public Class Methods

new() click to toggle source
Calls superclass method
# File core/plugin/settings/menu.rb, line 11
def initialize
  super(Gtk::TreeStore.new(String, Record, Integer))
  set_headers_visible(false)
  model.set_sort_column_id(COL_ORDER, Gtk::SORT_ASCENDING)
  column = Gtk::TreeViewColumn.new("", ::Gtk::CellRendererText.new, text: 0)
  self.append_column(column)
  self.set_width_request(HYDE)
  insert_defined_settings
end