Tk Source Code

Check-in [88b11f8b]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Further files from René Zaumseil
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tip-510
Files: files | file ages | folders
SHA3-256: 88b11f8b1c4e474c0f31942d5d93559b405947cf1f9149448c23a1fed7a6b3e0
User & Date: fvogel 2019-04-11 06:03:35
Context
2019-04-11
19:30
Man pages changes from René Zaumseil check-in: 1b50dc65 user: fvogel tags: tip-510
06:03
Further files from René Zaumseil check-in: 88b11f8b user: fvogel tags: tip-510
2019-04-10
19:22
New files from René Zaumseil (branch does not compile at this point). check-in: a7c3cf8b user: fvogel tags: tip-510
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tkInt.h.

1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
/*
 * Themed widget set init function:
 */

MODULE_SCOPE int	Ttk_Init(Tcl_Interp *interp);

/*
 * Used Rbc widget set functions:
 */
#ifndef MAC_OSX_TK
MODULE_SCOPE int	Tk_PathInit(Tcl_Interp *interp);
MODULE_SCOPE int	Rbc_VectorInit(Tcl_Interp *interp);
MODULE_SCOPE int	Rbc_GraphInit(Tcl_Interp *interp);
MODULE_SCOPE int	Rbc_SnapWindow(Tcl_Interp *interp,Tk_Window tkmain,
			    const char*pathname, const char *photoimage,
			    int destWidth, int destHeight);
#endif

/*
 * Internal functions shared among Tk modules but not exported to the outside






|


|
<
<







1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012


1013
1014
1015
1016
1017
1018
1019
/*
 * Themed widget set init function:
 */

MODULE_SCOPE int	Ttk_Init(Tcl_Interp *interp);

/*
 * Used tko widget set functions:
 */
#ifndef MAC_OSX_TK
MODULE_SCOPE int	Tko_Init(Tcl_Interp *interp);


MODULE_SCOPE int	Rbc_SnapWindow(Tcl_Interp *interp,Tk_Window tkmain,
			    const char*pathname, const char *photoimage,
			    int destWidth, int destHeight);
#endif

/*
 * Internal functions shared among Tk modules but not exported to the outside

Changes to generic/tkWindow.c.

3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334

3335
3336
3337
3338
3339
3340
3341
    code = Ttk_Init(interp);
    if (code != TCL_OK) {
	goto done;
    }

    /*
     * Initialize the rbc widget set
     */
    code = Rbc_VectorInit(interp);
    if (code != TCL_OK) {
	goto done;
    }
    code = Rbc_GraphInit(interp);
    if (code != TCL_OK) {
	goto done;
    }

    /*
     * Initialize the tkpath widget set
     */
    code = Tk_PathInit(interp);
    if (code != TCL_OK) {
	goto done;
    }


    /*
     * Invoke platform-specific initialization. Unlock mutex before entering
     * TkpInit, as that may run through the Tk_Init routine again for the
     * console window interpreter.
     */

    code = TkpInit(interp);






|

|
<
<
<
|



<
<
<
<
<
<
<
<
<
>







3309
3310
3311
3312
3313
3314
3315
3316
3317
3318



3319
3320
3321
3322









3323
3324
3325
3326
3327
3328
3329
3330
    code = Ttk_Init(interp);
    if (code != TCL_OK) {
	goto done;
    }

    /*
     * Initialize the tko widget set
     */
#ifndef MAC_OSX_TK



    code = Tko_Init(interp);
    if (code != TCL_OK) {
	goto done;
    }









#endif
    /*
     * Invoke platform-specific initialization. Unlock mutex before entering
     * TkpInit, as that may run through the Tk_Init routine again for the
     * console window interpreter.
     */

    code = TkpInit(interp);