Window Advanced Usage - zabbix-byte/PyPulse GitHub Wiki

Window Advanced Usage 💡

Advanced functions for your window. More will be added in the future.

Parameters

Parameter Description Default Value Icon
url The URL for the internal HTTP server. localhost:{Vars.INTERNAL_HTTP_SERVER_PORT} 🌐
title The title of the window. self.kwargs['title'] 🏷️
icon Path to the window icon. self.kwargs.get('icon_path') 🖼️
size The dimensions (width, height) of the window. (self.kwargs['window_size_x'], self.kwargs['window_size_y']) 📏
debug Enable or disable debug mode. self.kwargs.get('debug') 🐛
log_file Path to the debug log file. self.kwargs.get('debug_file_name') 📄
border_less Removes window borders if set to True. self.kwargs.get('border_less') 🔲
caption Sets a titlebar caption. self.kwargs.get('titlebar_caption') 🏷️
maximize Disables the maximize button if True. self.kwargs.get('titlebar_no_button_maximize') 🔼
minimize Disables the minimize button if True. self.kwargs.get('titlebar_no_button_minimize') 🔽
resize Allows resizing if True, disables if False. self.kwargs.get('resize', True) 🔄

Notes

  • resize is True by default, allowing window resizing.
  • If border_less is enabled, window decorations may be removed.
  • Debug mode (debug) helps track issues by logging detailed information.
  • The icon parameter requires a valid image path for customization.

📌 Make sure to configure the parameters according to your application needs! 🚀

⚠️ **GitHub.com Fallback** ⚠️