Re: [Vala] [Genie] Help me please !

2009-06-15 Thread Frederik
Nicolas wrote: Hi, I'm using this function: newfont = new FontSelectionDialog(Select font:) var response = newfont.run() if response is ResponseType.OK font_desc = new FontDescription() font_desc.from_string(newfont.get_font_name())

[Vala] [Genie] Help me please !

2009-06-15 Thread Nicolas
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

Re: [Vala] [Genie] Help me please !

2009-06-15 Thread Jiří Zárevúcky
Your problem is that colorsel property has type Widget. You have to cast it to ColorSelection. Just two general notes about your question: - keep your questions in one thread - don't name the thread help me please. use something informative, for god's sake... 2009/6/15 Nicolas