File: open_window.tcl

package info (click to toggle)
tkabber 0.9.7-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,756 kB
  • ctags: 1,593
  • sloc: tcl: 32,453; xml: 1,847; sh: 1,408; makefile: 72
file content (9 lines) | stat: -rw-r--r-- 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# $Id: open_window.tcl,v 1.1 2004/07/03 22:35:59 aleksey Exp $

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