Ardour  9.0-pre0-822-g12e3bc5c20
ArdourWindow Class Reference

#include <ardour_window.h>

Inheritance diagram for ArdourWindow:
[legend]

Public Member Functions

 ArdourWindow (std::string title)
 
 ArdourWindow (Gtk::Window &parent, std::string title)
 
virtual ~ArdourWindow ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from Gtkmm2ext::VisibilityTracker
 VisibilityTracker (Gtk::Window &)
 
virtual ~VisibilityTracker ()
 
void cycle_visibility ()
 
bool fully_visible () const
 
bool not_visible () const
 
bool partially_visible () const
 
Gtk::Window & window () const
 

Protected Member Functions

bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
bool on_key_press_event (GdkEventKey *)
 
bool on_key_release_event (GdkEventKey *)
 
void on_unmap ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Private Member Functions

void init ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Gtkmm2ext::VisibilityTracker
static void set_use_window_manager_visibility (bool)
 
static bool use_window_manager_visibility ()
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

This virtual parent class is so that each window uses the same mechanism to declare its closing. It shares a common method of connecting and disconnecting from a Session with all other objects that have a handle on a Session.

Definition at line 37 of file ardour_window.h.

Constructor & Destructor Documentation

◆ ArdourWindow() [1/2]

ArdourWindow::ArdourWindow ( std::string  title)

◆ ArdourWindow() [2/2]

ArdourWindow::ArdourWindow ( Gtk::Window &  parent,
std::string  title 
)

◆ ~ArdourWindow()

virtual ArdourWindow::~ArdourWindow ( )
virtual

Member Function Documentation

◆ init()

void ArdourWindow::init ( )
private

◆ on_delete_event()

bool ArdourWindow::on_delete_event ( GdkEventAny *  )
protected

◆ on_focus_in_event()

bool ArdourWindow::on_focus_in_event ( GdkEventFocus *  )
protected

◆ on_focus_out_event()

bool ArdourWindow::on_focus_out_event ( GdkEventFocus *  )
protected

◆ on_key_press_event()

bool ArdourWindow::on_key_press_event ( GdkEventKey *  )
protected

◆ on_key_release_event()

bool ArdourWindow::on_key_release_event ( GdkEventKey *  )
protected

◆ on_unmap()

void ArdourWindow::on_unmap ( )
protected

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