Results 1 to 2 of 2

Thread: adding event to panel or list

  1. #1
    Join Date
    Jan 2010
    Posts
    15

    Default adding event to panel or list

    I want to add onclick event to my panel . I dont want to show default description/play menu. I added this code to panel container but nothing has been changed.

    <onclick lang="python"><![CDATA[
    import urllib
    list = mc.GetActiveWindow().GetList(3001)
    item = list.GetItem(list.GetFocusedItem())
    item.Dump()
    mc.GetPlayer().Play(item)
    ]]></onclick>

    My Panel has id=3001.

    Default menu:

  2. #2
    Join Date
    Jan 2010
    Posts
    15

    Default

    I solved the problem after hours of searching. I forgot to implement this code in <content> script. Therefore, onclick event never triggered.

Similar Threads

  1. Replies: 0
    Last Post: February 14th, 2012, 12:28 AM
  2. adding apps to main list
    By cvdvr13 in forum Boxee Box help
    Replies: 3
    Last Post: January 22nd, 2011, 03:10 PM
  3. unidentified movies adding to movie list
    By crow007 in forum Boxee Box help
    Replies: 1
    Last Post: January 19th, 2011, 07:48 PM
  4. list controller with onclick event
    By sparx in forum boxee applications
    Replies: 2
    Last Post: December 13th, 2010, 04:54 PM
  5. Where can I find event list ?
    By aledoux in forum boxee applications
    Replies: 2
    Last Post: March 21st, 2010, 07:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •