[Vala] [Genie] Help me please !



Hi Frederik,

Thank you it work !
Can you help one more time please, i have this problem:

newcolor = new ColorSelectionDialog ("Choose your prefered background color:")
       var response = newcolor.run()
       if response is ResponseType.OK
           color : Color
           var colorsel = newcolor.colorsel
           color = colorsel.get_current_color()
           newcolor.destroy()


texteditor.gs:481.21-481.46: error: The name `get_current_color' does not exist in the context of `Gtk.Widget'
           color = colorsel.get_current_color()


What is the problem ?


Thanks in advance,
Nicolas.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]