2 * \file xforms/Dialogs.C
3 * Copyright 1995 Matthias Ettrich
4 * Copyright 1995-2001 The LyX Team.
5 * See the file COPYING.
7 * \author Allan Rae, rae@lyx.org
13 #pragma implementation
19 #include <boost/bind.hpp>
21 LyXView * dialogs_lyxview;
24 /// Are the tooltips on or off?
25 bool Dialogs::tooltipsEnabled()
27 return Tooltips::enabled();
31 Dialogs::Dialogs(LyXView * lv)
36 toggleTooltips.connect(boost::bind(&Tooltips::toggleEnabled));
37 // reduce the number of connections needed in
38 // dialogs by a simple connection here.
39 hideAll.connect(hideBufferDependent);