Offers an aui managed frame with a notebook multiple document interface, used by the notebook classes, and toolbar, findbar and vibar support.
More...
|
|
| managed_frame (size_t maxFiles=9, const window_data &data=window_data().style(wxDEFAULT_FRAME_STYLE)) |
| | Default constructor, registers the aui manager, and creates the bars.
|
| |
|
virtual | ~managed_frame () |
| | Destructor, uninits the aui manager.
|
| |
| virtual bool | allow_close (wxWindowID id, wxWindow *page) |
| | Virtual interface. More...
|
| |
| virtual bool | exec_ex_command (ex_command &command) |
| | Executes a ex command. More...
|
| |
| virtual void | on_notebook (wxWindowID id, wxWindow *page) |
| | Called if the notebook changed page. More...
|
| |
| virtual void | print_ex (ex *ex, const std::string &text) |
| | Prints text in ex dialog. More...
|
| |
| virtual void | record (const std::string &command) |
| | Allows you to perform action for a (vi) command. More...
|
| |
| virtual stc * | restore_page (const std::string &key) |
| | Restores a previous saved current page. More...
|
| |
|
virtual bool | save_current_page (const std::string &key) |
| | Saves the current page, to restore later on.
|
| |
| virtual void | sync_all () |
| | Called after you checked the Sync checkbox on the options toolbar. More...
|
| |
| virtual void | sync_close_all (wxWindowID id) |
| | Called after all pages from the notebooks are deleted. More...
|
| |
|
stc * | open_file (const path &filename, const stc_data &data=stc_data()) override |
| | overriden methods
|
| |
|
void | set_recent_file (const path &path) override |
| | Allows derived class to update file history.
|
| |
|
void | statusbar_clicked (const std::string &) override |
| | When (left) clicked, uses the get_stc() for some dialogs.
|
| |
|
void | statusbar_clicked_right (const std::string &) override |
| | Do something when statusbar is (right) clicked.
|
| |
| bool | add_panes (const panes_t &panes, const std::string &perspective="managed frame") |
| | Other methods. More...
|
| |
|
auto & | file_history () |
| | Returns file history.
|
| |
|
auto * | get_debug () |
| | Debugging interface.
|
| |
|
auto * | get_find_toolbar () |
| | Returns the find toolbar.
|
| |
|
auto * | get_options_toolbar () |
| | Returns the options toolbar.
|
| |
|
auto * | get_toolbar () |
| | Returns the toolbar.
|
| |
| void | hide_ex_bar (int hide=HIDE_BAR_FOCUS_STC) |
| | Hides the ex bar. More...
|
| |
|
auto & | manager () |
| | Returns the manager.
|
| |
| bool | show_ex_command (ex *ex, const std::string &label) |
| | Returns a command line ex command. More...
|
| |
|
void | show_ex_message (const std::string &text) |
| | Shows text in ex bar.
|
| |
| bool | show_pane (const std::string &pane, bool show=true) |
| | Shows or hides the managed pane. More...
|
| |
| bool | toggle_pane (const std::string &pane) |
| | Toggles the managed pane: if shown hides it, otherwise shows it. More...
|
| |
|
const auto & | toggled_panes () const |
| | Returns the toggled panes.
|
| |
|
| frame (const window_data &data=window_data()) |
| | Default constructor,.
|
| |
|
virtual | ~frame () |
| | Destructor.
|
| |
| void | SetMenuBar (wxMenuBar *bar) override |
| | Override from base class. More...
|
| |
|
bool | Show (bool show=true) override |
| | Shows or hides window.
|
| |
| virtual grid * | get_grid () |
| | Virtual interface. More...
|
| |
|
virtual listview * | get_listview () |
| | Returns a listview.
|
| |
| virtual process * | get_process (const std::string &command) |
| | Allows you to e.g. More...
|
| |
|
virtual stc * | get_stc () |
| | Returns an stc.
|
| |
|
virtual bool | is_open (const path &filename) |
| | Returns true if file is opened in a window.
|
| |
|
virtual void | on_command_item_dialog (wxWindowID, const wxCommandEvent &) |
| | Called when an item dialog command event is triggered.
|
| |
| virtual stc * | open_file (const path &filename, const vcs_entry &vcs, const stc_data &data=stc_data()) |
| | Allows you to open a filename with info from vcs. More...
|
| |
| virtual stc * | open_file (const path &filename, const std::string &text, const stc_data &data=stc_data()) |
| | Allows you to open a filename with specified contents. More...
|
| |
| void | set_find_focus (wxWindow *focus) |
| | Other methods. More...
|
| |
|
statusbar * | setup_statusbar (const std::vector< statusbar_pane > &panes, long style=wxST_SIZEGRIP, const std::string &name="statusBar") |
| | Sets up the status bar if you want to use statustext.
|
| |
Offers an aui managed frame with a notebook multiple document interface, used by the notebook classes, and toolbar, findbar and vibar support.
- The toolbar and findbar are added as toolbarpanes to the aui manager.
- The vibar is added as normal aui panel to the aui manager. The next panes are supported:
- FINDBAR
- OPTIONSBAR
- PROCESS
- TOOLBAR
- VIBAR (same as the ex bar)