Create a ComboBox widget in Gtk2HS
问题 I want to create a ComboBox widget with this code: void initGUI window <- windowNew ... cb <- comboBoxNewText comboBoxAppendText cb "Option 1" comboBoxAppendText cb "Option 2" comboBoxSetActive cb 0 boxPackStart hb cb PackNatural 0 ... But this error appears: Couldn't match type ‘[Char]’ with ‘text-1.2.2.0:Data.Text.Internal.Text’ Expected type: ComboBoxText Actual type: [Char] In the second argument of ‘comboBoxAppendText’, namely ‘"Secuencial"’ In a stmt of a 'do' block: comboBoxAppendText