Ardour  9.0-pre0-582-g084a23a80d
Gtkmm2ext::WindowTitle Class Reference

#include <window_title.h>

Public Member Functions

 WindowTitle (const std::string &title)
 
void operator+= (const std::string &)
 
const std::string & get_string ()
 

Private Attributes

std::string m_title
 

Detailed Description

The WindowTitle class can be used to maintain the consistancy of window titles between windows and dialogs.

Each string element that is added to the window title will be separated by a hyphen.

Definition at line 35 of file window_title.h.

Constructor & Destructor Documentation

◆ WindowTitle()

Gtkmm2ext::WindowTitle::WindowTitle ( const std::string &  title)
Parameters
titleThe first string/element of the window title which will may be the application name or the document name in a document based application.

Member Function Documentation

◆ get_string()

const std::string& Gtkmm2ext::WindowTitle::get_string ( )
inline
Returns
The window title string.

Definition at line 52 of file window_title.h.

◆ operator+=()

void Gtkmm2ext::WindowTitle::operator+= ( const std::string &  )

Add an string element to the window title.

Member Data Documentation

◆ m_title

std::string Gtkmm2ext::WindowTitle::m_title
private

Definition at line 56 of file window_title.h.


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