Bwidget Source Code
File History
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.

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

History of font.tcl

2016-03-22
09:02
Only support Tile 0.8 and newer + spacing in themed Font Toolbar. Ticket [d7ea07c40a] file: [989ecccaeb] check-in: [4f9f713d30] user: oehhar branch: bwidget, size: 18845
2011-04-20
05:20
* font.tcl, lang/*.rc: Add translation possibility for color picker button of font dialog. Used google translater to translate "Color" to all languages. Please check if this is correct. [Bug 3289573] reported by Rezso file: [6a14115d19] check-in: [a4bd3808d2] user: oehhar branch: bwidget, size: 18792
2009-11-01
20:20
*** code consolidation + refracturing related to BWSlim.Toolbutton style, attempt to improve Button behavior when ttk is used (still not perfect thought) file: [d4c1cbba69] check-in: [e3d15ada17] user: oberdorfer branch: trunk, size: 20939
2009-09-06
21:13
theme related mod's done file: [500ce82f78] check-in: [307eeef2b7] user: oberdorfer branch: trunk, size: 20932
2006-09-28
22:31
* removed Makefile.in    * font.tcl: correctly handle code path when user cancels dialog    * passwd.tcl: fixed Dialog::enddialog error; fixed ordering error file: [2f9c1bb777] check-in: [fc94efbefb] user: dev_null42a branch: trunk, size: 18694
2006-09-27
03:26
* passwd.tcl: don't ignore -labelwidth when calculating label widths; return key moves through subwidgets like most login managers [patch 922877, with slight change]    * font.tcl: add options to select font color and to disable font sizes; updated man pages [patch 1531199]    * font.tcl: using arrow keys to browse font family / font size will cause an update to the shown sample font [patch 947109] file: [3bcb3775e3] check-in: [11ef7eeb82] user: dev_null42a branch: trunk, size: 18593
2005-09-23
00:41
* font.tcl (SelectFont::_getfont): fix tile compat to still set data(family) and data(size) in any case. file: [aa7ccbb1df] check-in: [260fc87e5a] user: hobbs branch: trunk, size: 16978
2005-09-19
20:21
remove tile compat options that are not valid file: [45abdd12e6] check-in: [67a217345b] user: hobbs branch: trunk, size: 16958
2005-07-28
00:40
* statusbar.tcl: if themed, use ttk::separator * scrollframe.tcl: if themed, use ttk::frame * font.tcl: if themed, use ttk::comboboxes and ttk::checkbuttons * widget.tcl: encapsulate all .#BWidget* hidden widgets into a single frame .#BWidget to clean up main '.' childspace. Add 'Widget::theme ?boolean?' that, if enabled, has BWidgets try to use some ttk themed widgets (*very* incomplete). file: [fa9579deb2] check-in: [705ef12dfd] user: hobbs branch: trunk, size: 16987
2004-09-03
04:34
change dialogs to anchor buttons e file: [e34b157337] check-in: [effdf3d3d9] user: hobbs branch: trunk, size: 16509
2004-05-12
21:10
* font.tcl (SelectFont::create): don't hardcode -bd 2 when creating the style selectbuttons. file: [391865644b] check-in: [f0153b81c4] user: hobbs branch: trunk, size: 16492
2003-10-20
21:23
This is a huge commit with a lot of changes. I've tested through it with the demo as well as some of my own software, and everything seems to be working properly. I have no doubt that there will be little inconsistencies discovered through some thorough use.    Please checkout this latest version and give it a spin through your applications and tests. I am available to fix any and every bug that crops up, as I want to see this in really good shape for the next ActiveTcl release (which will follow the next Tcl release shortly).    * arrow.tcl, bitmap.tcl, button.tcl, buttonbox.tcl, color.tcl, * combobox.tcl, dialog.tcl, dragsite.tcl, dropsite.tcl, entry.tcl * font.tcl, label.tcl, labelentry.tcl, labelframe.tcl, listbox.tcl * mainframe.tcl, messagedlg.tcl, notebook.tcl, pagesmgr.tcl * panedw.tcl, passwddlg.tcl, progressbar.tcl, progressdlg.tcl * scrollframe.tcl, scrollview.tcl, scrollw.tcl, separator.tcl * spinbox.tcl, titleframe.tcl, tree.tcl, utils.tcl, widget.tcl * xpm2image.tcl: Revamp again to let core Widget commands handle most of the esoteric work of creating and destroying widgets properly in the BWidget environment.    The command Widget::define defines a class, its filename and a list of classes which it uses. This command handles creating the command to create new widgets, creates a ::use command for the class and calls the ::use command for each class included.    The command Widget::create does the renaming of the widget to $path:cmd and creates the proc to redirect the widget commands.    Widget::destroy now does the rename $path "" that almost all widgets do.    * button.tcl: Added a -state option to configure the state of the entire box at once.    Added new insert and delete subcommands.    Added an after cancel to stop button repeat upon release. [Bug 697022]    * combobox.tcl: Added -bwlistbox, -listboxwidth and -hottrack options. -images option already existed, but now it actually does something.    Added getlistbox, get, icursor, post and unpost subcommands.    * dynhelp.tcl: Added add subcommand to replace the (now) deprecated register command. The new command adds for a lot more flexibility in applying dynamic help.    Help popup now comes up -topmost 1 on Windows if available.    * entry.tcl: Added -disabledbackground option so that the BWidget entry more closely resembles the standard Tk entry. [Bug 638236].    * init.tcl: Moved Widget::traverseTo into widget.tcl.    * label.tcl: Renamed BWLabel class to just Label.    * listbox.tcl: Added a default -dropcmd so that if -dragenabled and -dropenabled are true, drag-and-drop within the same widget is possible without any other options.    Added -autofocus option to specify that clicking within the listbox should draw the focus in order to handle mouse wheel events.    Added -selectfill option for drawing a full selection rectangle around selected items instead of just around the item.    Added getcanvas subcommand. [Bug 436762].    bindImage and bindText now map %W to $path in order to get an accurate path in events. This can probably be fixed better when we have more control over event parameters. [Bug 607745]    Added mouse wheel bindings by default.    Added <<ListboxSelect>> event when selection changes.    * mainframe.tcl: Fixed bug for adding CTRL-F items to a mainframe [Bug 784269]    * messagedlg.tcl: Added -buttonwidth option.    * notebook.tcl: Added dynamic help to tabs.    Added -tabpady option to specify the padding between the text and the tab.    Notebooks now handle multi-line text properly. [Bug 565284]    * scrollview.tcl: Rewritten to use a variable per path instead of a big array.    * tree.tcl: Added -anchor option to nodes to specify the anchor for an image or window when displayed.    Added -crossopenimage, -crosscloseimage, -crossopenbitmap and -crossclosebitmap options to change the open / close cross.    Added mouse wheel bindings by default.    Added toggle subcommand to toggle a single tree node.    Added <<TreeSelect>> event when selection changes.    The characters "& | ^ !" are all converted to | silently in node names. This is to avoid errors because these characters are special to the canvas widget. [Bug 746960]    bindImage and bindText now map %W to $path in order to get an accurate path in events. This can probably be fixed better when we have more control over event parameters. [Bug 607745]    * utils.tcl: Added BWidget::wrongNumArgsString command to return a standard wrong # args error string.    Added BWidget::classes command that returns a list of all classes required by a given class.    Added BWidget::inuse command to determine if a given class is inuse.    Added BWidget::library command to return a body of code that can be saved into a project or other code based on the given classes. When called with a list of classes, all the classes and code necessary to use those classes is returned in a large string which can then be written out to a file.    Added BWidget::write command to write to a given file the current set of classes that are in use.    Added BWidget::bindMouseWheel command to setup default mouse bindings on a given widget.    * widget.tcl: Added a new option type 'Padding' which will accept the standard padding arguments in Tcl 8.4+.    Added Widget::define command to define a new BWidget class.    Added Widget::create command to create a BWidget properly.    Widget::destroy now attempts to delete a widget command created through Widget::create.    Added Widget::options command to return the current options of a given widget in a style that can be used to serialize a widget.    Added Widget::getOption command to get options based on children having the same option.    * wizard.tcl: Added new Wizard widget. file: [d42fad9c53] check-in: [b363fd16f2] user: damonc branch: trunk, size: 16498
2003-10-17
18:33
* arrow.tcl, bitmap.tcl, button.tcl, buttonbox.tcl, color.tcl, * combobox.tcl, dialog.tcl, dragsite.tcl, dropsite.tcl, entry.tcl * font.tcl, label.tcl, labelentry.tcl, labelframe.tcl, listbox.tcl * mainframe.tcl, messagedlg.tcl, notebook.tcl, pagesmgr.tcl * panedw.tcl, passwddlg.tcl, progressbar.tcl, progressdlg.tcl * scrollframe.tcl, scrollview.tcl, scrollw.tcl, separator.tcl * spinbox.tcl, titleframe.tcl, tree.tcl, utils.tcl, widget.tcl * xpm2image.tcl: major revamp to reduce incorrect use of eval and other list-safetiness evils. Also change !strcomp to streq. file: [cde19a0953] check-in: [ebde8e280e] user: hobbs branch: trunk, size: 16495
2003-02-18
01:54
* font.tcl: comment out the adding of default style bits for bold and italic. The allows setting the font to something like "Courier 8", clicking B on and off and getting "Courier 8" back again (otherwise gave "Courier 8 normal roman"). file: [d55f05909b] check-in: [1951f74ec2] user: hobbs branch: trunk, size: 16631
2002-06-04
22:03
* font.tcl: reworked loadfont to not sort font names unless requested. [Patch #524353] (kienzle, hobbs) file: [8abdb31336] check-in: [7a9a373b6d] user: hobbs branch: trunk, size: 16630
1999-10-29
21:00
Fixed font lists on windows. file: [17a7c251b7] check-in: [e33b90fb7b] user: ericm branch: trunk, size: 16750
19:00
* font.tcl: Added one new flag: -querysystem. This lets the user control whether the font selector queries the system (via font families) for the list of fonts, or if it uses a preset list of fonts (which is much faster and less likely to crash some systems). file: [c85438c171] check-in: [3e02826d52] user: ericm branch: trunk, size: 16750
1999-10-25
23:00
Fixed some issues with the new -style flag. file: [e5d0d4d897] check-in: [3d735e7800] user: ericm branch: trunk, size: 14863
21:54
* font.tcl: Added support for two new flags: -families and -styles; -families allows you to specify one of all, fixed, or variable, to limit the choice of fonts to those fonts; -styles allows you to specify a list of styles that can be set with the widget (ie, bold, italic, etc). file: [ee7adb0d4c] check-in: [0044eccdb1] user: ericm branch: trunk, size: 14848
1999-08-03
20:20
BWidget 1.2.1 import file: [566d7db27f] check-in: [68d35bc50f] user: ericm branch: trunk, size: 13854 Added