File: open_window.tcl

package info (click to toggle)
tkabber 0.11.0-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,252 kB
  • ctags: 2,433
  • sloc: tcl: 48,318; xml: 3,350; sh: 1,387; makefile: 66
file content (9 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
# $Id: open_window.tcl 652 2005-09-27 23:14:09Z aleksey $

proc chat_open_window {chatid from type body x} {
    chat::open_window $chatid $type -cleanroster 0
    set chatw [chat::chat_win $chatid]
    $chatw configure -state normal
}
hook::add draw_message_hook [namespace current]::chat_open_window 5