Menu

#47 need command enumerate bindtags

open
5
2003-11-13
2000-11-01
No

OriginalBugID: 877 RFE
Version: 8.0.3
SubmitDate: '1998-11-25'
LastModified: '1999-11-03'
Severity: LOW
Status: Assigned
Submitter: pat
ChangedBy: hobbs
OS: All

From: John Ousterhout <ouster@scriptics.com>
Subject: RFE: need more introspection in Tcl and Tk

This is another problem pointed out by Kevin Kenny in his Tcl/Tk
Conference paper.

Tcl and Tk are missing several pieces of introspection that are
meeting to find memory leaks. Right now there are no Tcl commands
that can be invoked to find out about the following things:

- bindings for nonexistent canvas and text tags, or nonexistent binding tags

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2001-06-19
    • labels: 104336 -->
    • milestone: 102485 -->
     
  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    I was under the impression that canvas tags were just ways
    of naming groups of canvas items, and that they had no real
    data structures attached to them. Hence you can't enumerate
    the tags that are not attached to anything.

    Text widgets can enumerate their tags. Given a tag name,
    you can find its bindings.

    There is no way currently to enumerate the defined bind-tags
    in a Tk app.

     
  • Donal K. Fellows

    • labels: --> 01. Bindings
    • summary: need command to get bindings for nonexistent canvas and text tags, or nonexistent binding tags --> need command enumerate bindtags
     
  • Don Porter

    Don Porter - 2003-11-13
    • assigned_to: nobody --> kennykb
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.