why do some buttons not have an onclick
#1
hi there,

I am question about some buttons in the PM3 skin dont have an onclick but still seem to do stuff..

for example

Code:
<control type="button" id="3">
                                        <description>Sort by button</description>
                                        <posx>0</posx>
                                        <posy>45</posy>
                                        <include>ButtonCommonValues</include>
                                        <label>103</label>
                                        <onleft>50</onleft>
                                        <onright>4</onright>
                                        <onup>2</onup>
                                        <ondown>99</ondown>
                                </control>

how do these work? are there hooks in the code itself that listen for these clicks ? i.e windows 5 controlid=3 ?
Reply
#2
yup, xbmc handles those button internally.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
any where i might find which buttons are handled internally?

also are the buttons identified by a combination of windowid,controlid?
Reply
#4
you have to check the sourcecode of the respective window or dialog.
the button definitions are listed somewhere at the top of the files.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
thanks ronnie.

GUIWindowSystemInfo.cpp etc.. i see now.
Reply

Logout Mark Read Team Forum Stats Members Help
why do some buttons not have an onclick0