summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixMenu.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove spaces before tabsjan.nijtmans2024-11-051-39/+39
|\
* \ Fix [f91aa24bbe] for "menubutton". Simplify -activerelief for "menu"jan.nijtmans2024-10-011-1/+1
|\ \ | |/
| * Finish for "menubutton". Simplify -activerelief for "menu"jan.nijtmans2024-09-301-1/+1
| |
| * Better approach, using "Tk" prefix for UTF-32 versions of APIjan.nijtmans2024-03-141-2/+2
| |
* | Make "entry" work. No test failures any more. Many renamings of fields (*Ptr ↵jan.nijtmans2024-07-111-5/+5
| | | | | | | | -> *Obj)
* | Merge 8.7jan.nijtmans2023-12-221-10/+12
|\ \ | |/
| * int -> Tcl_Size in menu handlingjan.nijtmans2023-12-221-10/+12
| |
* | Starting work to compile Tk with TCL_UTF_MAX=4 (WIP)jan.nijtmans2023-11-271-1/+1
|/
* Improvements related to scaling and appearance in the built-in themes alt,csaba2023-08-121-27/+5
| | | clam, and default.
* More -1 -> TCL_INDEX_NONEjan.nijtmans2023-03-031-1/+1
|
* Made the cascade arrows of the menu entries on X11 and the values of further ↵csaba2023-01-241-40/+67
| | | | Ttk styling options scaling-aware. See the ticket <a href="https://core.tcl-lang.org/tk/info/f20f46b9">[f20f46b9]</a> for details.
* Fix for [dc4c5573a6]: tk_popup entry index not working on unix. Thanks to ↵fvogel2022-04-101-8/+13
|\ | | | | | | cjmcdonald.
| * Fix text alignment.fvogel2022-04-021-1/+1
| |
| * Proposed fix for [dc4c5573a6]: tk_popup entry index not working on unixjan.nijtmans2022-04-011-7/+12
| |
* | TIP #606 implementation. TODO: documentationjan.nijtmans2021-12-211-1/+1
| |
* | Merge 8.7jan.nijtmans2021-01-081-1/+1
|\ \
| * | (c) -> ©jan.nijtmans2020-12-091-1/+1
| | |
* | | Merge trunkjan.nijtmans2020-10-121-74/+32
|\ \ \ | |/ /
| * | Fix build problem on UNIX (due to the introduction of TCL_UNUSED macro)jan.nijtmans2020-10-051-36/+0
| | |
| * | Merge 8.6jan.nijtmans2020-10-051-38/+32
| |\ \ | | |/
| | * Fix many warnings related to the -Wshadow gcc compiler flagjan.nijtmans2020-10-051-39/+36
| | |
* | | Fix crash in Travis testcase runjan.nijtmans2020-09-161-1/+1
| | |
* | | Merge 8.7jan.nijtmans2020-08-191-8/+8
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2020-08-121-8/+8
| |\ \ | | |/
| | * Rename (internal) MAASTER_MENU to MAIN_MENU, but keep the original, just to ↵jan.nijtmans2020-08-121-2/+2
| | | | | | | | | | | | be sure
| * | TIP 578: Death to TCL_DBGXjan.nijtmans2020-07-031-1/+0
| | |
* | | No need to #include "default.h" in ttk widgets (and in ↵jan.nijtmans2020-07-021-1/+0
| | | | | | | | | | | | tkUnixMenu.c/tkMenubutton.c)
* | | More progress, implementing enhanced "-underline"jan.nijtmans2020-06-121-3/+3
|/ /
* | Merge 8.6. Protection done by TkUtfAtIndex() not needed here, because ↵jan.nijtmans2020-05-201-2/+2
|\ \ | |/ | | | | Tcl_UtfAtIndex() in Tcl 8.7 already does that.
| * Use Glyph indexing in more places (underscoring and canvas text and some more)jan.nijtmans2020-05-191-1/+1
| |
| * More improvements handling characters > U+FFFF as surrogates. Add internal ↵jan.nijtmans2020-05-141-2/+2
| | | | | | | | TkUtfPrev(), which handles jumping back over surrogate pairs.
* | Much more WIP: Appears to be working on UNIX, and for a bit part on Windows too.jan.nijtmans2019-12-201-5/+44
| |
* | Merge 8.6. When compiling against Tcl 9.0 headers, don't allow Emoji escape ↵jan.nijtmans2019-12-011-1/+1
|\ \ | |/ | | | | sequences to be split into two surrugates any more.
| * In tkUnixFont, make sure that the utf-to-ucs2 encoder clamps at 0xFFFF. Use ↵jan.nijtmans2019-12-011-1/+1
| | | | | | | | more uppercase hex-values where appropriate.
* | Eliminate "register" keyword from all unix/tkUnix*.c files.jan.nijtmans2019-08-151-1/+1
| |
* | Change (internal) signature of ↵jan.nijtmans2019-03-311-5/+5
| | | | | | | | | | TkMenuConfigureEntryDrawOptions/TkActivateMenuEntry such that - if compiled with Tcl 9.0 headers - indexes > 2G can be used. Also, change a lot of Tcl_NewIntObj()/Tcl_NewBooleanObj() calls to Tcl_NewWideIntObj().
* | Merge 8.6jan.nijtmans2019-03-151-5/+1
|\ \ | |/
| * Make Tk run on win32/win64 using -DTCL_UTF_MAX=6. Adapted from androwish.jan.nijtmans2019-03-151-5/+1
| |
* | TIP #533 (Extension of the menu post command) implementation was accepted by ↵fvogel2019-02-021-4/+101
|\ \ | |/ | | | | TCT vote. This allows fixing of bug [70e531918e]: geometry issues with menubuttons on macOS.
| * Use TkGetMenuIndex to parse the index argument to the post command.culler2019-01-151-8/+8
| |
| * Add TkpPostTearoffMenu, called by TkPostTearoffMenu and used in the menu postculler2019-01-131-1/+90
| | | | | | command; eliminates #ifdef in the generic code.
| * Fix related menubutton issues on linux and Windows.culler2019-01-111-3/+11
| |
* | Fix [9658bc800c]: Several display issues with menu items, more easily seen ↵fvogel2018-10-061-3/+3
|\ \ | |/ | | | | whenborderwidth != activeborderwidth and when these values are larger than usually.
| * Fix [9658bc800c]: Several display issues with menu items, more easily seen ↵fvogel2018-10-061-3/+3
| |\ | | | | | | | | | whenborderwidth != activeborderwidth and when these values are larger than usually.
| | * Fix drawing of the menu separator on Linux (was already correct on Windows)fvogel2018-09-291-1/+1
| | |
| | * Fix drawing of the tearoff entryfvogel2018-09-291-1/+1
| | |
| | * Once the menu geometry is correctly computed there is no need anymore for ↵fvogel2018-09-291-1/+1
| | | | | | | | | | | | questionable hacks in menu width calculation when displaying it
* | | Fix [8229232472]: Cascade menu entry indicator wrong colour on Unix. Patch ↵fvogel2018-09-301-7/+9
|\ \ \ | |/ / | | | | | | provided by cjmcdonald.
| * | Remove somewhat misleading text in commentsfvogel2018-09-221-2/+1
| | |
| * | Fix [8229232472]: Cascade menu entry indicator wrong colour on Unix. Patch ↵fvogel2018-09-221-5/+8
| |/ | | | | | | provided by cjmcdonald.