My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

Goals

Create Tcl/Tk extension to provide some level of control over Windows power management support for Tk applications.

That is: to provide a way for Tcl/Tk applications to handle

  • WM_POWERBROADCAST and its various classes of reported info (suspend/resume, etc);
  • WM_QUERYENDSESSION and WM_ENDSESSION.

Status

Production/ready.

Implemented

  • Ability to bind to WM_QUERYENDSESSION and WM_ENDSESSION ("Query end session" request can be cancelled by the callback script if desired).
  • Ability to bind to WM_POWERBROADCAST and the basic classes of its info (PBT_APMPOWERSTATUSCHANGE, PBT_APMRESUMEAUTOMATIC, PBT_APMRESUMESUSPEND and PBT_APMSUSPEND).
  • It's possible to inspect the system's power status and the messages being processed.
Powered by Google Project Hosting