Tk Source Code

Attachment Details
Login
Overview

Artifact ID: d3802f60db3f789edb5e41634825de72908e6a18762b6c2981577676080de174
Ticket: 591829e94815173b70f1a71788c13eccb8f75134
Date: 2026-05-09 16:48:38
User: erikleunissen
Artifact Attached: 34875bfb6960c31b535a1bc767f350f53890ff8e850213cd629a94200f9aa010
Filename:call_graphs.txt
Description:
Content:
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
###############################################################################
# CURRENT TRUNK (9.1.a1 -> 9.1.a2)


* Tk_Init -> Initialize -> TkCreateFrame -> Schedule MapFrame for execution at idle time
                           |
                           -> TkpInit
                              * Updates idletasks: executes scheduled MapFrame synchronously  ----------
                              * Schedule showRootWindow for execution at idle time                      |
                                                                                                        |
* Evaluate script file, which may do [wm withdraw .], setting the root window in state withdrawn.    |
                                                                                                        |
Idle tasks:                                                                                             |
                                                                                                        |
   ------------------------------------------------------------------------------------------------------
  |
  v
* MapFrame -> Tk_MapWindow -> TkWmMapWindow
                              * Set TK_MAPPED flag in winPtr->flags, which determines result of Tk_IsMapped
                              * Calls XMapWindow
                              * Generates/services MapNotify event

* showRootWindow -> makeKeyAndOrderFront
                      (if window is in state normal. This is foregone if
                       the script file has withdrawn the root window.)



###############################################################################
# BUGFIX BRANCH A (bug-591829e948-A)


* Tk_Init -> Initialize -> TkCreateFrame -> Schedule MapFrame for execution at idle time
                           |
                           -> TkpInit

* Evaluate script file, which may do [wm withdraw .], setting the root window in state withdrawn.

Idle tasks:

* MapFrame -> Tk_MapWindow -> TkWmMapWindow
                              * Set TK_MAPPED flag in winPtr->flags, which determines result of Tk_IsMapped
                              * Calls XMapWindow -> makeKeyAndOrderFront
                                                    (if window is in state normal. This is foregone if
                                                     the script file has withdrawn the root window.)
                              * Generates/services MapNotify event