ardour
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WM::ProxyBase Class Referenceabstract

#include <window_manager.h>

Inheritance diagram for WM::ProxyBase:
ARDOUR::SessionHandlePtr ProcessorWindowProxy WM::Proxy< About > WM::Proxy< AddRouteDialog > WM::Proxy< EngineControl > WM::Proxy< ExportVideoDialog > WM::Proxy< KeyEditor > WM::Proxy< LocationUIWindow > WM::Proxy< RCOptionEditor > WM::Proxy< RouteParams_UI > WM::Proxy< SpeakerDialog > WM::ProxyWithConstructor< AddVideoDialog > WM::ProxyWithConstructor< BigClockWindow > WM::ProxyWithConstructor< BundleManager > WM::ProxyWithConstructor< GlobalPortMatrixWindow > WM::ProxyWithConstructor< SessionOptionEditor > WM::Proxy< T > WM::ProxyTemporary WM::ProxyWithConstructor< T >

Public Member Functions

 ProxyBase (const std::string &name, const std::string &menu_name)
 
 ProxyBase (const std::string &name, const std::string &menu_name, const XMLNode &)
 
virtual ~ProxyBase ()
 
void show ()
 
void show_all ()
 
void hide ()
 
void present ()
 
void maybe_show ()
 
bool visible () const
 
const std::string & name () const
 
const std::string & menu_name () const
 
std::string action_name () const
 
void set_action (Glib::RefPtr< Gtk::Action >)
 
Glib::RefPtr< Gtk::Action > action () const
 
void drop_window ()
 
void use_window (Gtk::Window &)
 
virtual Gtk::Window * get (bool create=false)=0
 
virtual void toggle ()
 
void set_state (const XMLNode &)
 
XMLNodeget_state () const
 
virtual ARDOUR::SessionHandlePtrsession_handle ()=0
 
 operator bool () const
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 

Protected Member Functions

void save_pos_and_size ()
 
bool delete_event_handler (GdkEventAny *ev)
 
void setup ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

std::string _name
 
std::string _menu_name
 
Glib::RefPtr< Gtk::Action > _action
 
Gtk::Window * _window
 
bool _visible
 true if the window should be visible on startup More...
 
int _x_off
 x position More...
 
int _y_off
 y position More...
 
int _width
 width More...
 
int _height
 height More...
 
Gtkmm2ext::VisibilityTrackervistracker
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 78 of file window_manager.h.

Constructor & Destructor Documentation

WM::ProxyBase::ProxyBase ( const std::string &  name,
const std::string &  menu_name 
)
WM::ProxyBase::ProxyBase ( const std::string &  name,
const std::string &  menu_name,
const XMLNode  
)
ProxyBase::~ProxyBase ( )
virtual

Definition at line 194 of file window_manager.cc.

Member Function Documentation

Glib::RefPtr<Gtk::Action> WM::ProxyBase::action ( ) const
inline

Definition at line 96 of file window_manager.h.

std::string ProxyBase::action_name ( ) const

Definition at line 252 of file window_manager.cc.

bool ProxyBase::delete_event_handler ( GdkEventAny *  ev)
protected

Definition at line 416 of file window_manager.cc.

void ProxyBase::drop_window ( )

Definition at line 327 of file window_manager.cc.

virtual Gtk::Window* WM::ProxyBase::get ( bool  create = false)
pure virtual
XMLNode & ProxyBase::get_state ( void  ) const

Definition at line 294 of file window_manager.cc.

void ProxyBase::hide ( )

Definition at line 407 of file window_manager.cc.

void ProxyBase::maybe_show ( )

Definition at line 378 of file window_manager.cc.

const std::string& WM::ProxyBase::menu_name ( ) const
inline

Definition at line 92 of file window_manager.h.

const std::string& WM::ProxyBase::name ( ) const
inline

Definition at line 91 of file window_manager.h.

WM::ProxyBase::operator bool ( ) const
inline

Definition at line 110 of file window_manager.h.

void ProxyBase::present ( )

Definition at line 394 of file window_manager.cc.

void ProxyBase::save_pos_and_size ( )
protected

Definition at line 423 of file window_manager.cc.

virtual ARDOUR::SessionHandlePtr* WM::ProxyBase::session_handle ( )
pure virtual
void ProxyBase::set_action ( Glib::RefPtr< Gtk::Action >  act)

Definition at line 246 of file window_manager.cc.

void ProxyBase::set_state ( const XMLNode node)

Definition at line 201 of file window_manager.cc.

void ProxyBase::setup ( )
protected

Definition at line 347 of file window_manager.cc.

void ProxyBase::show ( )

Definition at line 370 of file window_manager.cc.

void ProxyBase::show_all ( )

Definition at line 386 of file window_manager.cc.

void ProxyBase::toggle ( )
virtual

Reimplemented in ProcessorWindowProxy.

Definition at line 258 of file window_manager.cc.

void ProxyBase::use_window ( Gtk::Window &  win)

Definition at line 339 of file window_manager.cc.

bool WM::ProxyBase::visible ( ) const
inline

Definition at line 90 of file window_manager.h.

Member Data Documentation

Glib::RefPtr<Gtk::Action> WM::ProxyBase::_action
protected

Definition at line 115 of file window_manager.h.

int WM::ProxyBase::_height
mutableprotected

height

Definition at line 121 of file window_manager.h.

std::string WM::ProxyBase::_menu_name
protected

Definition at line 114 of file window_manager.h.

std::string WM::ProxyBase::_name
protected

Definition at line 113 of file window_manager.h.

bool WM::ProxyBase::_visible
mutableprotected

true if the window should be visible on startup

Definition at line 117 of file window_manager.h.

int WM::ProxyBase::_width
mutableprotected

width

Definition at line 120 of file window_manager.h.

Gtk::Window* WM::ProxyBase::_window
protected

Definition at line 116 of file window_manager.h.

int WM::ProxyBase::_x_off
mutableprotected

x position

Definition at line 118 of file window_manager.h.

int WM::ProxyBase::_y_off
mutableprotected

y position

Definition at line 119 of file window_manager.h.

Gtkmm2ext::VisibilityTracker* WM::ProxyBase::vistracker
protected

Definition at line 122 of file window_manager.h.


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