View Single Post
Old 03-12-10, 09:06 PM   #85
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Therion_Prime View Post
If I add, say, a button to the gui with the menu editor, where is the "logic" for this button (where is the code that tells the button what to do)?
the 'logic' lives in the page's .py file. For example:

you add a button to Pagelayout_Groupfeedback. Now to 'handle' that button you need to open up \data\Scripts\Menu\Page layout.py and add the necessary code to handle click events, mouse in/out, etc.
TheDarkWraith is offline   Reply With Quote