Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
comp.lang.tcl
Conversations
About
info
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
BWidget::NoteBook how to add tooltip over tab title
36 views
Skip to first unread message
Puneet Goyal
unread,
Jun 22, 2016, 9:19:54 AM
6/22/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi
Is there any way to add tooltip on tab title ?
proc tab_raise_cmd { nb page } {
set ctxt [$nb itemcget $page -text]
tooltip::tooltip [$nb getframe $page] $ctxt
<<<< this is not working for me
if {[string length $ctxt]>10} {
set ctxt [format "%s..." [string range $ctxt 0 9]]
}
$nb itemconfigure $page -text $ctxt
}
$nb insert end test -text "Testing tooltip" -raisecmd [list tab_raise_cmd $nb test]
Regards, puneet
Puneet Goyal
unread,
Jun 23, 2016, 7:46:22 AM
6/23/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
ok i am able to do it using -helptext option.
0 new messages