Re: [Vala] [Genie] Help me please !
- From: Jiří Zárevúcky <zarevucky jiri gmail com>
- To: Nicolas <c r n a wanadoo fr>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [Genie] Help me please !
- Date: Mon, 15 Jun 2009 20:04:12 +0200
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 <c r n a wanadoo fr>:
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.
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]