A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCWindowManager.html below:

NCBI C++ ToolKit: CWindowManager Class Reference

Search Toolkit Book for CWindowManager

CWindowManager - component controlling windowing of client windows. More...

#include <gui/widgets/wx/window_manager.hpp>

  CWindowManager (wxFrame *frame)   virtual  ~CWindowManager ()   virtual bool  Create (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)   virtual void  SetAdvisor (IWindowManagerAdvisor *advisor)   virtual void  SetMenuListener (IWindowManagerMenuListener *listener)   wxFrame *  GetFrameWindow ()   CDockManagerGetDockManager ()   void  ApplyLayout (const objects::CUser_object &layout)   void  LoadLayout (const objects::CUser_object &layout, IWMClientFactory &factory)   objects::CUser_object *  SaveLayout ()   bool  HasToolBar (const string &name)   void  AddToolBar (wxAuiToolBar *toolbar)   void  DeleteToolBar (const string &name)   bool  OnCaptionPanelCommand (CDockPanel &panel, TCmdID cmd)   bool  OnCloseClientsRequest (const TClients &clients)   void  OnFocusChanged (wxWindow *new_focus)   string  GetNewFloatingFrameTitle ()   wxFrame *  GetMainWindow ()   virtual void  SetRegistryPath (const string &reg_path)   bool  OnSetClientColor (CDockPanel &panel)   void  OnDockPanelStartDrag (CDockPanel *panel, const wxPoint &pt)   Called by CDockPanel to delegated DnD handling to Window Manager. More...
  virtual const wxMenu *  GetMenu ()   virtual bool  ProcessEvent (wxEvent &event)   virtual bool  Dispatch (CEvent *evt, EDispatch disp_how, int pool)   Dispatches an event to the listeners (but does not handle it). More...
  void  OnPostCommand (CEvent *evt)   handles an internal command posted to itself More...
  void  OnCloseClientsRequestEvent (CEvent *evt)   void  OnMoveToTopLevel (CEvent *evt)   void  OnLeftUp (wxMouseEvent &evt)   void  OnMotion (wxMouseEvent &evt)   void  OnMouseCaptureLost (wxMouseCaptureLostEvent &event)   void  OnActivateWindow (wxCommandEvent &event)   void  OnShowWindowsDlg (wxCommandEvent &event)   void  OnWindowCommand (wxCommandEvent &event)   void  OnUpdateWindowCommand (wxUpdateUIEvent &event)   void  OnUpdateWindowCommand_Client (wxUpdateUIEvent &event, IWMClient *client)    Public Member Functions inherited from CEventHandler   CEventHandler ()   CEventHandler. More...
  virtual  ~CEventHandler ()   virtual void  AddListener (CEventHandler *listener, int pool_name=ePool_Default)   Add a listener. More...
  virtual void  RemoveListener (CEventHandler *listener)   Remove a listener. More...
  virtual void  RemoveAllListeners (void)   virtual bool  HasListener (CEventHandler *listener, int pool_name=ePool_Default) const   returns "true" if the given listener belongs to the specified pool More...
  virtual const TListenersGetListeners (int pool_name=ePool_Default) const   returns a set of listeners fro the specified pool More...
  virtual bool  OnEvent (CEvent *evt)   Processes en event. Returns "true" if event has been processed. More...
  virtual bool  Send (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)   Sends an event synchronously. More...
  virtual bool  Send (CEvent *evt, int pool_name)   void  Post (CRef< CEvent > evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)   Handles an event asynchronously (process and/or dispatch). More...
 

CWindowManager - component controlling windowing of client windows.

CWindowManager provides centralized control over multiple clients (views) associated with an application. Window Manager provides two ways to place clients - in independent top-level frame windows (Floating Frame) or in containers embedded into manager's main window (docked). CWindowManager allows for dynamic creation of hierarchical layouts consisting of containers such as CSplitter and CTabControl and clients. IWMClient interface represents an abstract client window that can be managed by CWindowManager. IWMContainer interface represents an abstract container that can be embedded into CWindowManager. IWMCPosition represents abstract notion of position in IWMContainer.

Definition at line 112 of file window_manager.hpp.

◆ TClients ◆ TCmdToWindowMap ◆ TEvent ◆ TFrame ◆ TParent ◆ TWindowToClientMap ◆ CWindowManager() ◆ ~CWindowManager() CWindowManager::~CWindowManager ( ) virtual ◆ ActivateClient() void CWindowManager::ActivateClient ( IWMClientclient ) ◆ ActivateClients() void CWindowManager::ActivateClients ( TClientsclients ) ◆ AddClient() ◆ AddToolBar() void CWindowManager::AddToolBar ( wxAuiToolBar *  toolbar ) ◆ ApplyLayout() void CWindowManager::ApplyLayout ( const objects::CUser_object &  layout ) ◆ CloseAllClients() void CWindowManager::CloseAllClients ( ) ◆ CloseClient() ◆ CloseClients() ◆ Create() bool CWindowManager::Create ( wxWindow *  parent, wxWindowID  id, const wxPoint &  pos = wxDefaultPosition, const wxSize &  size = wxDefaultSize  ) virtual ◆ DECLARE_EVENT_MAP() CWindowManager::DECLARE_EVENT_MAP ( ) protected ◆ DECLARE_EVENT_TABLE() CWindowManager::DECLARE_EVENT_TABLE ( ) protected ◆ DeleteToolBar() void CWindowManager::DeleteToolBar ( const stringname ) ◆ Dispatch() ◆ GetActiveClient() IWMClient * CWindowManager::GetActiveClient ( ) ◆ GetAllClients() void CWindowManager::GetAllClients ( TClientsclients ) ◆ GetDockManager() ◆ GetFrameWindow() wxFrame * CWindowManager::GetFrameWindow ( ) ◆ GetMainWindow() wxFrame* CWindowManager::GetMainWindow ( ) inline ◆ GetMenu() const wxMenu * CWindowManager::GetMenu ( ) virtual ◆ GetNewFloatingFrameTitle() string CWindowManager::GetNewFloatingFrameTitle ( ) ◆ HasToolBar() ◆ IsDragging() bool CWindowManager::IsDragging ( void  ) static ◆ IsFloating() ◆ IsInMainTab() ◆ IsMinimized() ◆ IsRegistered() ◆ LoadLayout() ◆ Minimize() void CWindowManager::Minimize ( IWMClientclient ) ◆ MoveToFloatingFrame() wxFrame * CWindowManager::MoveToFloatingFrame ( IWMClientclient ) ◆ MoveToMainTab() void CWindowManager::MoveToMainTab ( IWMClientclient ) ◆ OnActivateWindow() void CWindowManager::OnActivateWindow ( wxCommandEvent &  event ) ◆ OnCaptionPanelCommand()

Definition at line 381 of file window_manager.cpp.

References _ASSERT, cmd, eCmdCloseDockPanel, eCmdMoveToMainTab, eCmdSetClientColor, eCmdWindowFloat, eCmdWindowMinimize, eCmdWindowRestore, CEventHandler::eDispatch_SelfOnly, CDockPanel::GetClient(), m_Advisor, m_DockManager, CDockManager::Minimize(), IWindowManagerAdvisor::OnCloseClientsRequest(), OnSetClientColor(), and CEventHandler::Post().

Referenced by CDockManager::OnCloseDockable(), and CDockManager::OnDockPanelCommand().

◆ OnCloseClientsRequest() ◆ OnCloseClientsRequestEvent() void CWindowManager::OnCloseClientsRequestEvent ( CEventevt ) ◆ OnDockPanelStartDrag() void CWindowManager::OnDockPanelStartDrag ( CDockPanelpanel, const wxPoint &  pt  ) ◆ OnFocusChanged() void CWindowManager::OnFocusChanged ( wxWindow *  new_focus ) ◆ OnLeftUp() void CWindowManager::OnLeftUp ( wxMouseEvent &  evt ) ◆ OnMotion() void CWindowManager::OnMotion ( wxMouseEvent &  evt ) ◆ OnMouseCaptureLost() void CWindowManager::OnMouseCaptureLost ( wxMouseCaptureLostEvent &  event ) ◆ OnMoveToTopLevel() void CWindowManager::OnMoveToTopLevel ( CEventevt ) ◆ OnPostCommand() void CWindowManager::OnPostCommand ( CEventevt )

handles an internal command posted to itself

Definition at line 831 of file window_manager.cpp.

References _ASSERT, client, cmd, eCmdCloseDockPanel, eCmdMoveToMainTab, eCmdWindowFloat, eCmdWindowMinimize, eCmdWindowRestore, CWindowManagerEvent::GetClient(), CWindowManagerEvent::GetCmd(), and x_HandlePanelCommand().

◆ OnSetClientColor() ◆ OnShowWindowsDlg() void CWindowManager::OnShowWindowsDlg ( wxCommandEvent &  event ) ◆ OnUpdateWindowCommand() void CWindowManager::OnUpdateWindowCommand ( wxUpdateUIEvent &  event ) ◆ OnUpdateWindowCommand_Client() void CWindowManager::OnUpdateWindowCommand_Client ( wxUpdateUIEvent &  event, IWMClientclient  )

Definition at line 871 of file window_manager.cpp.

References _ASSERT, client, eCmdCloseDockPanel, eCmdMoveToMainTab, eCmdWindowFloat, eCmdWindowMinimize, eCmdWindowRestore, CDockManager::IsFloating(), CDockManager::IsInMainTab(), CDockManager::IsMinimized(), and m_DockManager.

Referenced by CMinPanelContainer::OnUpdateWindowCommand(), and OnUpdateWindowCommand().

◆ OnWindowCommand() void CWindowManager::OnWindowCommand ( wxCommandEvent &  event ) ◆ ProcessEvent() bool CWindowManager::ProcessEvent ( wxEvent &  event ) virtual ◆ RaiseFloatingWindowsInZOrder() [1/2] void CWindowManager::RaiseFloatingWindowsInZOrder ( ) ◆ RaiseFloatingWindowsInZOrder() [2/2] void CWindowManager::RaiseFloatingWindowsInZOrder ( wxRect  r ) ◆ RefreshClient() void CWindowManager::RefreshClient ( IWMClientclient ) ◆ RegisterActiveClient() void CWindowManager::RegisterActiveClient ( IWMClientclient ) ◆ RegisterImageAliases() ◆ Restore() void CWindowManager::Restore ( IWMClientclient ) ◆ SaveLayout() objects::CUser_object * CWindowManager::SaveLayout ( ) ◆ SetAdvisor() ◆ SetMenuListener() ◆ SetRegistryPath() void CWindowManager::SetRegistryPath ( const stringreg_path ) virtual ◆ UnRegisterActiveClient() void CWindowManager::UnRegisterActiveClient ( IWMClientclient ) ◆ x_AddClient() ◆ x_CloseClient()

Definition at line 488 of file window_manager.cpp.

References _ASSERT, client, ERR_POST, m_Advisor, m_Clients, IWindowManagerAdvisor::OnClientAboutToClose(), IWindowManagerAdvisor::OnClientClosed(), UnRegisterActiveClient(), and x_RemoveClient().

Referenced by CloseAllClients(), CloseClient(), and CloseClients().

◆ x_GetActiveClientByWindow() IWMClient * CWindowManager::x_GetActiveClientByWindow ( wxWindow *  widget ) protected ◆ x_GetClientLabelForMenu() ◆ x_HandlePanelCommand() void CWindowManager::x_HandlePanelCommand ( IWMClientclient, int  cmd  ) protected

Definition at line 905 of file window_manager.cpp.

References _ASSERT, client, cmd, eCmdCloseDockPanel, eCmdMoveToMainTab, eCmdWindowFloat, eCmdWindowMinimize, eCmdWindowRestore, m_Advisor, m_DockManager, CDockManager::Minimize(), CDockManager::MoveToFloatingFrame(), CDockManager::MoveToMainTab(), IWindowManagerAdvisor::OnCloseClientsRequest(), and CDockManager::Restore().

Referenced by OnPostCommand(), and OnWindowCommand().

◆ x_OnBeginDrag() void CWindowManager::x_OnBeginDrag ( const wxPoint &  mouse_pos ) protectedvirtual ◆ x_OnDrag() void CWindowManager::x_OnDrag ( const wxPoint &  mouse_pos ) protectedvirtual ◆ x_OnEndDrag() ◆ x_RegisterClient() ◆ x_RemoveClient() void CWindowManager::x_RemoveClient ( IWMClientclient ) protected ◆ x_ResetMenuBar() void CWindowManager::x_ResetMenuBar ( ) protectedvirtual ◆ x_UpdateActiveClient() void CWindowManager::x_UpdateActiveClient ( ) protectedvirtual ◆ x_UpdateListener() void CWindowManager::x_UpdateListener ( IWMClientclient ) protected ◆ x_UpdateWindowsMenu() void CWindowManager::x_UpdateWindowsMenu ( wxMenu &  root_menu ) protectedvirtual

Definition at line 732 of file window_manager.cpp.

References map_checker< Container >::clear(), client, cmd, eCmdWindowLast, eCmdWindowXXXX, FindSubItem(), GenerateWinItemPrefix(), ITERATE, kMaxRecentItems, m_Clients, m_CmdToWindow, NULL, ToWxString(), wxID_ANY, wxT, and x_GetClientLabelForMenu().

◆ m_ActiveClient ◆ m_Advisor ◆ m_AuiManager wxAuiManager CWindowManager::m_AuiManager protected ◆ m_Canceled bool CWindowManager::m_Canceled protected ◆ m_ClickPoint wxPoint CWindowManager::m_ClickPoint protected ◆ m_Clients ◆ m_CmdToWindow ◆ m_DockManager

the Docking Manager associated with this Window Manager

Definition at line 274 of file window_manager.hpp.

Referenced by ActivateClients(), AddClient(), ApplyLayout(), Create(), GetDockManager(), IsFloating(), IsInMainTab(), IsMinimized(), LoadLayout(), Minimize(), MoveToFloatingFrame(), MoveToMainTab(), OnCaptionPanelCommand(), OnUpdateWindowCommand_Client(), RaiseFloatingWindowsInZOrder(), Restore(), SaveLayout(), x_HandlePanelCommand(), x_OnBeginDrag(), x_OnDrag(), x_OnEndDrag(), x_RemoveClient(), and ~CWindowManager().

◆ m_DragDockPanel ◆ m_FrameWindow wxFrame* CWindowManager::m_FrameWindow protected ◆ m_IsDragging ◆ m_Menu unique_ptr<wxMenu> CWindowManager::m_Menu protected ◆ m_MenuListener ◆ m_RegPath string CWindowManager::m_RegPath protected ◆ m_WindowToClient

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4