Solved When back (escape) is selected menu keeps returning to previous window.
#1
Hi there,

Im not sure if i'm explaining this right but I am writing an addon.
In the addon I have a menu. When that menu is clicked it opens the EPG to the guide ActivateWindow(TVGuide)
However when I click the back key i want to return to the previous menu where I cam from but it keeps bouncing back to the guide every time.

here is what im using

def channelguide():
            xbmc.executebuiltin("ActivateWindow(TVGuide)")

Any suggestions to break the link so that I can return to the previous window?

Control 55 in window 10025 has been asked to focus, but it can't
Reply
#2
Quote:When back (escape) is selected
Which is it 'back' or 'esc' because they do different things?

xml:
<backspace>Back</backspace>
<escape>PreviousMenu</escape>
Reply
#3
Thread moved to addon development
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#4
(2021-11-01, 10:03)Hitcher Wrote:
Quote:When back (escape) is selected
Which is it 'back' or 'esc' because they do different things?

xml:
<backspace>Back</backspace>
<escape>PreviousMenu</escape>


Seems to be working now.
Reply

Logout Mark Read Team Forum Stats Members Help
When back (escape) is selected menu keeps returning to previous window.0