You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello pravic, i wanted to do the UI code inside my .py source code. is that possible. i didnt want to expose all my styling and tiscript code.. because anybody can edit it. thanks.
The text was updated successfully, but these errors were encountered:
In general, there is a Host.set_html (usually called from Window), so you can keep your resources anywhere (in zip with password, in encrypted file, on your server, etc.).
Also take note about Host.on_load_data, where you can intercept resources load requests and override with your own path:
HTML loaded into Sciter may contain external resources: CSS (Cascading Style Sheets), images, fonts, cursors and scripts. To get any of such resources Sciter will first send SC_LOAD_DATA notification to your application using callback function defined in code of your application. Your application can
provide your own data for such resources (for example from resource section, DB or other storage of your choice)
or delegate resource loading to built-in HTTP client and file loader
Hello pravic, i wanted to do the UI code inside my .py source code. is that possible. i didnt want to expose all my styling and tiscript code.. because anybody can edit it. thanks.
The text was updated successfully, but these errors were encountered: