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