summaryrefslogtreecommitdiffstats
path: root/library/msgbox.tcl
Commit message (Collapse)AuthorAgeFilesLines
* Remove various unnecessary "global tcl_platform" occurrences, which are no ↵jan.nijtmans2015-08-051-1/+1
| | | | | longer used. Add "Fit To Screen Width" menu entry to Windows (and android) console menu. Ported from androwish.
* Remove unnecessary end-of-line spacingjan.nijtmans2015-02-021-3/+3
|
* Generate -errorcode values to go with errors. Generate messages and postscriptdkf2012-08-271-8/+12
| | | using Tcl_Obj API, not the string result API.
* Use vroot size in stead of screen size for clipping window coordinates in ↵jan.nijtmans2012-04-201-1/+1
|\ | | | | | | | | ::tk::PlaceWindow. Use ::tk::PlaceWindow in dialog.tcl, in stead of dumplicating the code there.
| * Use vroot size in stead of screen size for clipping window coordinates in ↵jan.nijtmans2012-04-201-1/+1
| |\ | | | | | | | | | | | | ::tk::PlaceWindow. Use ::tk::PlaceWindow in dialog.tcl, in stead of dumplicating the code there.
| | * Fix bug 533519jan.nijtmans2012-04-161-1/+1
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * [Patch #3154705] Close button has no effect.nijtmans2011-01-131-7/+14
| | | | | | | | | | | | Add <Escape> binding as well (backported from Tcl 8.5)
| | * TIP #359: Extended Window Manager Hints support for 8.4patthoyts2010-01-231-1/+3
| | |
| | * * library/bgerror.tcl: standardize dialog option & button sizedas2007-05-301-2/+15
| | | | | | | | | | | | | | | | | | | | | * library/dialog.tcl: modifications done when running on on Aqua. * library/msgbox.tcl: * library/demos/button.tcl: set button highlightbackground on Aqua.
| | * * library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch ↵dgp2006-01-251-22/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1237759] * library/button.tcl: * library/choosedir.tcl: * library/clrpick.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/focus.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/palette.tcl: * library/panedwindow.tcl: * library/safetk.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl:
| | * Shrank the font size of messages in the Unix/X11 [tk_messageBox]dkf2004-05-131-2/+2
| | | | | | | | | | | | It looks better like this. :^)
| | * Backport of the 'Message box buttons too wide' fix. [Bug #701812]dkf2003-03-141-3/+3
| | |
| * | [Patch #3154705] Close button has no effectnijtmans2011-01-131-4/+2
| | |
| * | TIP #359: Extended window manager hints support for X11.patthoyts2010-01-201-1/+3
| | |
| * | Correct bindings for [tk_messageBox].dkf2009-08-241-4/+4
| | |
| * | * library/msgbox.tcl: don't set msgbox bitmap background on TkAqua.das2009-04-101-2/+2
| | |
* | | [Patch #3154705] Close button has no effectnijtmans2011-01-131-2/+2
| | |
* | | TIP #359: Extended window manager hints support for X11.patthoyts2010-01-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modern unix window managers use a set of window properties to give hints as to the purpose of a toplevel window. They then use these hints to apply various animation and decoration options based on the type (dialog, menu, tooltip and more). This patch adds a [wm attributes $w -type] option to control and read the type hint and makes use of this for the ttk::combobox and the dialogs raised from the Tk library scripts. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* | | Correct bindings for [tk_messageBox].dkf2009-08-241-4/+4
| | |
* | | Pretty up the messagebox on unix using PNG images for the icons and group ↵patthoyts2009-01-111-43/+17
| | | | | | | | | | | | the icons into one place.
* | | library/demos/*.tcl: Omit contraindicated [package require Ttk].jenglish2008-12-111-3/+1
|/ / | | | | | | | | | | Remove logic that switches [ttk::scrollbar]s to [tk::scrollbar]s based on [tk windowingsystem]; this is already handled in library/ttk/scrollbar.tcl.
* | * library/msgbox.tcl (::tk::MessageBox): don't use ttk::label inhobbs2008-01-311-2/+3
| | | | | | | | low depth/aqua fallback, as it doesn't support -bitmap.
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Improve theming of Unix dialogsdkf2007-11-211-2/+2
| |
* | Tk (non-native) message box now uses Ttk widgets for better L&F.dkf2007-11-021-16/+20
| |
* | * tests/listbox.test, tests/panedwindow.test, tests/scrollbar.test:hobbs2007-10-301-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/bgerror.tcl, library/dialog.tcl, library/listbox.tcl: * library/msgbox.tcl, library/optMenu.tcl, library/tclIndex: * library/tkfbox.tcl, library/demos/floor.tcl, library/demos/rmt: * library/demos/tcolor, library/demos/text.tcl: * library/demos/twind.tcl, library/demos/widget: Buh-bye Motif look * library/ttk/fonts.tcl: Update of Tk default look in 8.5 * macosx/tkMacOSXDefault.h: Trims border sizes, cleaner X11 look * unix/tkUnixDefault.h: with minor modifications for Win32/Aqua. * win/tkWinDefault.h: Uses Tk*Font definitions throughout for * win/tkWinFont.c: classic widgets. [Bug #1820344] * library/obsolete.tcl (::tk::classic::restore): This restores changes made to defaults in 8.5 using the 'option' command, segmented into logical groups.
* | * library/bgerror.tcl: standardize dialog option & button sizedas2007-05-301-2/+15
| | | | | | | | | | | | | | * library/dialog.tcl: modifications done when running on on Aqua. * library/msgbox.tcl: * library/demos/button.tcl: set button highlightbackground on Aqua.
* | * library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch ↵dgp2006-01-251-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1237759] * library/choosedir.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/focus.tcl: * library/msgbox.tcl: * library/palette.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl:
* | Fix [Bug 987169] for tk_messageBox and tk_chooseColordkf2004-08-051-17/+32
| |
* | Enabled TIP#152 style message detail on Unix/X11 platforms.dkf2004-05-131-5/+18
| |
* | Removed support for Mac OS Classic platform [Patch 918139]das2004-03-171-11/+6
| |
* | The dialogs were affected by the TIP#146 implementation.pspjuth2004-01-251-1/+2
| | | | | | | | Added grid anchor commands to restore original behaviour.
* | Better aesthetics for the messageBox. [Bug #701812]dkf2003-03-121-3/+3
|/
* * library/clrpick.tcl (color::BuildDialog):dkf2003-02-211-9/+5
| | | | | | * library/msgbox.tcl (MessageBox): Yet more places that did complex and fragile width calculations instead of using grid, though with these it is the -uniform option that saves the day.
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx_8_4_merge_2002_08_31_trunkdas2002-08-311-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tk.decls: * generic/tkInt.decls: added new "aqua" specific entries to the stubs tables. Changed all "unix" entries to "x11" to allow us to distinguish and build both "aqua" on MacOSX and "x11" on MacOSX. * generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can be passed to the resource compiler. * generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem] subcommand: returns "x11" when running on X11, "win32" on Windows, "classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon) * generic/tkFont.c (TkFontGetFirstTextLayout): new private function returning the first chunk of a Tk_TextLayout, i.e. until the first font change on the first line (or the whole first line if there is no such font change). * generic/tkMain.c: made Tcl_ThreadDataKey static * library/demos/puzzle.tcl: fixed button metrics for aqua * tests/cursor.test: check for presence of arrow cursor instead of heart cursor * xlib/xcolors.c: changed xColors static initialization to more standard C * macosx/Wish.pbproj/jingham.pbxuser (new): * macosx/Wish.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE. * macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'. * macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking for a AppMain.tcl file in its bundled Resources/Scripts folder. If present, argv[1] is set to that file and the Scripts folder is added to the auto_path. This allows tk apps to embed scripts within their bundle directory structure. * macosx/tkMacOSXInit.c (new): macosx adapted version of tkUnixInit.c: we initialize & cache the Carbon native encoding (e.g. 'macRoman') and try to find the tk script library files inside Tk packaged as a framework. * macosx/tkMacOSXNotify.c (new): new macosx specific merged Carbon/select-based notifier. * macosx/tkMacOSXEvent.c (new): * macosx/tkMacOSXEvent.h (new): * macosx/tkMacOSXKeyEvent.c (new): * macosx/tkMacOSXMouseEvent.c (new): * macosx/tkMacOSXWindowEvent.c (new): new macosx specific event handling functionality. * macosx/tkMacOSX.h (new): * macosx/tkMacOSXBitmap.c (new): * macosx/tkMacOSXButton.c (new): * macosx/tkMacOSXClipboard.c (new): * macosx/tkMacOSXColor.c (new): * macosx/tkMacOSXConfig.c (new): * macosx/tkMacOSXCursor.c (new): * macosx/tkMacOSXDefault.h (new): * macosx/tkMacOSXDialog.c (new): * macosx/tkMacOSXDraw.c (new): * macosx/tkMacOSXEmbed.c (new): * macosx/tkMacOSXFont.c (new): * macosx/tkMacOSXHLEvents.c (new): * macosx/tkMacOSXInt.h (new): * macosx/tkMacOSXKeyboard.c (new): * macosx/tkMacOSXMenu.c (new): * macosx/tkMacOSXMenubutton.c (new): * macosx/tkMacOSXMenus.c (new): * macosx/tkMacOSXPort.h (new): * macosx/tkMacOSXRegion.c (new): * macosx/tkMacOSXScale.c (new): * macosx/tkMacOSXScrlbr.c (new): * macosx/tkMacOSXSubwindows.c (new): * macosx/tkMacOSXTest.c (new): * macosx/tkMacOSXUtil.c (new): * macosx/tkMacOSXUtil.h (new): * macosx/tkMacOSXWm.c (new): * macosx/tkMacOSXWm.h (new): * macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk implementation in tk/mac. * macosx/tkMacOSXSend.c (new): only send to local interp implemented currently. * macosx/tkMacOSXDebug.h (new): * macosx/tkMacOSXDebug.c (new): new macosx specific functions for debugging MacOS events, regions, etc. * macosx/tkAboutDlg.r (new): * macosx/tkMacOSXApplication.r (new): * macosx/tkMacOSXCursors.r (new): * macosx/tkMacOSXLibrary.r (new): * macosx/tkMacOSXMenu.r (new): * macosx/tkMacOSXResource.r (new): * macosx/tkMacOSXXCursors.r (new): * macosx/tclets.r (new): sources for Rez resource compiler. * macosx/Wish.icns (new): Wish application icon. * generic/tk.h: * generic/default.h: * generic/tkBind.c: * generic/tkCmds.c: * generic/tkGrab.c: * generic/tkPointer.c: * generic/tkPort.h: * generic/tkSelect.c: * generic/tkStubLib.c: * generic/tkTest.c: * generic/tkText.c: * generic/tkWindow.c: * unix/tkUnix3d.c: * xlib/xgc.c: * xlib/X11/X.h: * xlib/X11/Xlib.h: * xlib/X11/Xutil.h: added #includes and #ifdefs for macosx * library/bgerror.tcl: * library/button.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: * library/demos/menu.tcl: * library/demos/menubu.tcl: * library/demos/widget: check [tk windowingsystem] instead of and/or in addition to $tcl_platform(platform). * generic/tkInt.h: * mac/tkMacBitmap.c: * mac/tkMacWm.c: added missing CONSTification * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: regen
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-07-221-8/+1
| | | | | | | | | | * library/clrpick.tcl (tk::dialog::file::chooseDir): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog): Revert [Tk patch 568278]. The transient window workaround is no longer needed since the fix for [Tk bug 570764] solved the problem for withdrawn transients.
* Force the message box to have consistent background colours. [Bug#552515]dkf2002-06-281-9/+15
|
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-06-131-1/+8
| | | | | | | | | | | * library/clrpick.tcl (tk::dialog::file::chooseDir): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog): Remove the transient property on dialogs after they have been dismissed to insulate them from further state changes in the master. This keeps a withdrawn dialog from being mapped when the master is deiconified. [Tk patch 568278]
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-06-121-2/+2
| | | | | | | | | | | | | * library/clrpick.tcl (tk::dialog::color): * library/dialog.tcl (tk_dialog): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog_Create): Only make the dialog window a transient if the master is visible. This check already appeared in some of the dialogs. This patch just copies the check into those that were lacking.
* Added "magic ampersand" approach for translated strings in standard dialogs.a_kovalenko2002-06-101-61/+34
| | | | | All translations were modified to work with "magic ampersand". Russian translations added.
* Make non-default buttons in messagebox have -default normala_kovalenko2002-06-061-1/+3
|
* new feature, make dependence on msgcat soft, [539309]bagnonm2002-04-291-20/+20
|
* * TIP 44 changes specific to the Mac anddgp2001-08-061-2/+2
| | | | | | Windows platforms that were overlooked before: tkOpenDocument, tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: . Thanks to Vince Darley for prompting another look.
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-011-10/+11
| | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
* Added braces to expressions.dkf2001-06-141-11/+11
|
* * library/msgs/de.msg: German message catalog.ericm2000-06-301-26/+49
| | | | | | | | | | | | | | | | | | | | * library/msgs/en.msg: English message catalog. * library/msgs/es.msg: Spanish message catalog. * library/msgs/fr.msg: French message catalog. * unix/Makefile.in: * unix/configure.in: * library/tk.tcl: * library/clrpick.tcl: * library/choosedir.tcl: * library/console.tcl: * library/msgbox.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: * library/bgerror.tcl: Applied patches from Laurent Duperval to provide localization of Tk dialogs. [RFE: 2671].
* * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].ericm2000-04-271-11/+16
| | | | | | | | | | | | | | * doc/colors.n: Man page enumerating valid color names [RFE: 1645]. * doc/cursors.n: Man page enumerating valid cursor values [RFE: 1645]. * library/msgbox.tcl: Corrected Unix tk_messageBox implementation to make the first button the default when no default is specified [Bug: 2218]. * doc/messageBox.n: Updated documentation with regards to selection of default button when none is specified (now it will use the first button as the default in that case) [Bug: 2218].