nx_work_log.win_app

Functions

change_time_dialog_time_changed_callback(minutes)

This is the callback function for the change time dialog, which keeps the time and whenever it changes due to the timer or user input then this function is called.

exit()

This function ends the SysTray thread

is_paused()

This function returns if the timer is paused :return: Paused

main()

Main function creating the ChangeTimeDialog and SysTrayIcon with its menu

minute_timer_callback()

This is the callback function for the minute timer.

on_exit(sys_tray_icon)

The exit function is called when the SystrayIcon exits :param sys_tray_icon: The SysTrayIcon object

on_startup(sys_tray_icon)

This function is called when the SysTrayIcon starts up :param sys_tray_icon: The SysTrayIcon object

pause_clicked(sys_tray_icon)

This function is called when the SysTrayIcon change pause menu item is selected or the icon is clicked :param sys_tray_icon: The SysTrayIcon object

reset_time(sys_tray_icon)

This function is called when the SysTrayIcon change reset time menu item is selected :param sys_tray_icon: The SysTrayIcon object

show_change_time_dialog(sys_tray_icon)

This function is called when the SysTrayIcon change time menu item is selected :param sys_tray_icon: The SysTrayIcon object