Fwd...
---------- Forwarded message ----------
From: "Tom medhurst" <[email protected]>
Date: 8 Feb 2011 13:44
Subject: Re: Q: MxButton in a ClutterScript file doesn&apos;t behave
correctly?
To: "Thomas Wood" <[email protected]>

thanks, thats good to know!
but what about the other behaviours that the button is lacking? Usually when
u hover over an MxButton you get an orange border, and when you press down,
the button inverts... I loose this when using a json script file.
On 8 Feb 2011 13:12, "Thomas Wood" <[email protected]> wrote:
> On Sat, Feb 5, 2011 at 4:54 PM, Tom medhurst <[email protected]>
wrote:
>> Hi Guys,
>> Got a ClutterScript that contains an MxButton with "toggled":true set.
>> Unfortunately (even after calling clutter_script_connect_signals(script,
>> NULL)) when you hover over the button it does not highlight, also when I
>> click the button, it doesn't toggle like it should (even though the
>> "clicked" signal is emitted).
>> In summary the button works fine, all signals are emitted as expected,
but
>> the appearance of the button is not right. When I press and hold the
button,
>> it doesn't depress either.
>> What do I need to do to get this working?
>
> The "toggle" property only indicates the state of a toggle button. To
> make sure the button is set up to use toggle behaviour, set
> "is-toggle" to true.
>
> Regards,
>
> Thomas
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to