diff options
author | jenglish <jenglish@flightlab.com> | 2006-12-13 17:06:31 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2006-12-13 17:06:31 (GMT) |
commit | 94acb8d71c38b7e493d498a69816f77b520f49f1 (patch) | |
tree | 5750b2c23f77580621592431250ee7f66a508fd7 /generic/ttk/ttkElements.c | |
parent | b7c21ec7f3c632eb27c460678d7382bf05eb1d38 (diff) | |
download | tk-94acb8d71c38b7e493d498a69816f77b520f49f1.zip tk-94acb8d71c38b7e493d498a69816f77b520f49f1.tar.gz tk-94acb8d71c38b7e493d498a69816f77b520f49f1.tar.bz2 |
Try to straighten out theme loading and selection logic.
Diffstat (limited to 'generic/ttk/ttkElements.c')
-rw-r--r-- | generic/ttk/ttkElements.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/ttk/ttkElements.c b/generic/ttk/ttkElements.c index 787ea64..e7af248 100644 --- a/generic/ttk/ttkElements.c +++ b/generic/ttk/ttkElements.c @@ -1,4 +1,4 @@ -/* $Id: ttkElements.c,v 1.2 2006/11/03 03:06:22 das Exp $ +/* $Id: ttkElements.c,v 1.3 2006/12/13 17:06:32 jenglish Exp $ * * Copyright (c) 2003, Joe English * @@ -1443,6 +1443,11 @@ void TtkRegisterElements(Tcl_Interp *interp) Ttk_RegisterLayout(theme, "Horizontal.TScale", HorizontalScaleLayout); Ttk_RegisterLayout(theme, "TSeparator", SeparatorLayout); Ttk_RegisterLayout(theme, "TSizegrip", SizegripLayout); + + /* + * Register "default" as a user-loadable theme (for now): + */ + Tcl_PkgProvide(interp, "ttk::theme::default", TTK_VERSION); } /*EOF*/ |