diff options
author | jenglish <jenglish@flightlab.com> | 2006-11-07 03:45:27 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2006-11-07 03:45:27 (GMT) |
commit | 643b19451d3b2bd1e080733c4c93c5a9daaad63a (patch) | |
tree | 8067b063a85bcd662fa0771dc6b6ab068aa3f9f3 /generic/ttk/ttkPanedwindow.c | |
parent | 4e674e6b1ec465975a7138542ed175cc6f9acda3 (diff) | |
download | tk-643b19451d3b2bd1e080733c4c93c5a9daaad63a.zip tk-643b19451d3b2bd1e080733c4c93c5a9daaad63a.tar.gz tk-643b19451d3b2bd1e080733c4c93c5a9daaad63a.tar.bz2 |
Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:
fix comments damaged by overzealous search-and-destroy;
removed obsolete [style default] synonym for [ttk::style configure];
removed other dead code.
Diffstat (limited to 'generic/ttk/ttkPanedwindow.c')
-rw-r--r-- | generic/ttk/ttkPanedwindow.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/generic/ttk/ttkPanedwindow.c b/generic/ttk/ttkPanedwindow.c index 7fe1cc8..ac8d9cc 100644 --- a/generic/ttk/ttkPanedwindow.c +++ b/generic/ttk/ttkPanedwindow.c @@ -1,8 +1,8 @@ -/* $Id: ttkPanedwindow.c,v 1.2 2006/11/03 03:06:22 das Exp $ +/* $Id: ttkPanedwindow.c,v 1.3 2006/11/07 03:45:28 jenglish Exp $ * * Copyright (c) 2005, Joe English. Freely redistributable. * - * Ttk widget set: ttk::panedwindow widget. + * ttk::panedwindow widget implementation. * * TODO: track active/pressed sash. */ @@ -378,7 +378,7 @@ static void PanedGeometryRequestProc( } static Ttk_ManagerSpec PanedManagerSpec = { - { "paned", PanedGeometryRequestProc, Ttk_LostSlaveProc }, + { "panedwindow", PanedGeometryRequestProc, Ttk_LostSlaveProc }, PaneOptionSpecs, sizeof(Pane), PanedSize, PanedPlaceSlaves, @@ -390,6 +390,7 @@ static Ttk_ManagerSpec PanedManagerSpec = { /*------------------------------------------------------------------------ * +++ Event handler. * + * <<NOTE-PW-LEAVE-NOTIFYINFERIOR>> * Tk does not execute binding scripts for <Leave> events when * the pointer crosses from a parent to a child. This widget * needs to know when that happens, though, so it can reset @@ -780,7 +781,7 @@ static Ttk_ElementSpec SashElementSpec = { }; TTK_BEGIN_LAYOUT(PanedLayout) - TTK_NODE("Paned.background", 0) /* @@@ BUG: empty layouts don't work */ + TTK_NODE("Panedwindow.background", 0)/* @@@ BUG: empty layouts don't work */ TTK_END_LAYOUT TTK_BEGIN_LAYOUT(HorizontalSashLayout) |