/// Saves the settings of toolbars and all dialogs
void saveUISettings() const;
///
- bool restoreLayout(bool force_inittoolbars = false);
+ bool restoreLayout();
///
GuiToolbar * toolbar(std::string const & name);
///
///
void initToolbars();
///
+ void initToolbar(std::string const & name);
+ ///
bool lfunUiToggle(std::string const & ui_component);
///
void toggleFullScreen();
///
void insertPlaintextFile(docstring const & fname,
bool asParagraph);
- ///
- bool exportBufferAs(Buffer & b);
+ /// Open Export As ... dialog. \p iformat is the format the
+ /// filter is initially set to.
+ bool exportBufferAs(Buffer & b, docstring const & iformat);
///
enum RenameKind { LV_WRITE_AS, LV_VC_RENAME, LV_VC_COPY };