Hi,

On Mon, 2010-05-17 at 12:23 +0100, Simon Bolek wrote:
> hello:)
> 
>       I have a problem with my custom widget which i created based on
> ClutterGroup.
> I have a widget/class based on ClutterGroup.
> In this clutter group as children I have a MxScrollView which embedds
> the MxListView.
> The MxListView items are of type ClutterText.
> 
> So this is a simple scrollable list. Working OK I see my items fed
> from ClutterModel and can scroll with the mouse up and down.
> But I am missing the "button-press-event" on my items.
> I tried to the g_signal_connect(...) the signal "button-press-event"
> on the actors:
> - my custom widget
> - the child MxScrollView
> - the child MxListView
> but i get no event fired.
> I than tried all the other events like "event" but did not work as well.

You need to make sure you ClutterText items have the "reactive" property
set to TRUE and you connect to the button-press-event signal of each
ClutterText created by MxListView. This is easy to do if you use a
MxItemFactory that creates the items for MxListView.

Regards,

Thomas


---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Moblin dev Mailing List
dev@moblin.org

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to