Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: 0c40896700ee9bb8392427a126bc44b4a8ffacab98a673d2a062a19d3c5a49b8
Ticket: 9ba9729ef1b5ef6ead755f2d72656743bbb26832
Limitation of [send] and [winfo interps] on macOS is not reflected documentation, and tests exhibit shortcomings
User & Date: erikleunissen 2025-08-16 08:00:39
Changes

  1. icomment:
    New text proposals for man winfo (winfo interps) and man send
    -------------------------------------------------------------
    
    Man winfo, current text "winfo interps"
    --
    Returns a list whose members are the names of all Tcl interpreters (e.g. all Tk-based
    applications) currently registered for a particular display. If the -displayof option
    is given then the return value refers to the display of window; otherwise it refers
    to the display of the application's main window.
    --
    
    Proposed new text
    --
    Returns a list whose members are the names of all Tcl interpreters (e.g. all Tk-based
    applications) currently registered for a particular display. If the -displayof option
    is given then the return value refers to the display of window; otherwise it refers
    to the display of the application's main window.
    
    Under macOS/aqua, the command returns only the interpreters that exist in the same process
    as the current interpreter.
    --
    
    
    Man send, proposal to add a section "LIMITATIONS"
    -------------------------------------------------
    
    Proposed text for section LIMITATIONS:
    --
    Under macOS/aqua, the send command works only with interpreters that exist in
    the same process (these are returned by "winfo interps"). Invocations that
    target an interpreter that exists in another process return an empty string
    without accomplishing anything; no error is returned.
    --
    
    The proposed changes have been committed in bug-fix branch bug-9ba9729ef1,
    commit [731a5957cc].
    
  2. login: "erikleunissen"
  3. mimetype: "text/x-fossil-plain"