# SettingsListBox ### Screenshot ![SettingsListView](https://a.desu.sh/vmqtzr.png) ### Example ```vala public void init_settings () { SettingsListBox settings = new SettingsListBox (); this.pack_start (settings, true, true, 0); settings.new_section ("Police"); Gtk.FontButton button_font = new Gtk.FontButton (); settings.new_row (button_font, "Police de caractères", "Utiliser une police de caractères personalisée." ); settings.new_section ("Vue d'ensemble"); Gtk.Switch switch_minimap = new Gtk.Switch (); settings.new_row (switch_minimap, "Afficher la vue d'ensemble", "Affiche une vue d'ensemble à côté de l'éditeur de code source." ); settings.new_section ("Indentation"); Gtk.SpinButton button_indent = new Gtk.SpinButton.with_range (0, 8, 2); settings.new_row (button_indent, "Largeur de tabulation", "Permet de définir la largeur d'une tabulation dans l'éditeur de code source." ); Gtk.Switch switch_indent_space = new Gtk.Switch (); settings.new_row (switch_indent_space, "Insérer des espaces au lieu de tabulations", "Insére 4 espaces à la place d'une tabulation." ); Gtk.Switch switch_auto_indent = new Gtk.Switch (); settings.new_row (switch_auto_indent, "Activer l'indentation automatique", "Formate automatiquement le texte pour l'indenter." ); } ```