ardour
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
Gtkmm2ext::Prompter Class Reference

#include <prompter.h>

Inheritance diagram for Gtkmm2ext::Prompter:
ArdourPrompter

Public Member Functions

 Prompter (bool modal=false)
 
 Prompter (Gtk::Window &parent, bool modal=false)
 
 ~Prompter ()
 
void set_prompt (std::string prompt)
 
void set_initial_text (std::string txt)
 
void change_labels (std::string ok, std::string cancel)
 
void get_result (std::string &str, bool strip=true)
 

Protected Member Functions

Gtk::Entry & the_entry ()
 
void on_entry_changed ()
 
void on_show ()
 

Private Member Functions

void init ()
 
void entry_activated ()
 

Private Attributes

Gtk::Entry entry
 
Gtk::HBox entryBox
 
Gtk::Label entryLabel
 
bool first_show
 
bool can_accept_from_entry
 

Detailed Description

Definition at line 38 of file prompter.h.

Constructor & Destructor Documentation

Prompter::Prompter ( bool  modal = false)

Definition at line 41 of file prompter.cc.

Prompter::Prompter ( Gtk::Window &  parent,
bool  modal = false 
)

Definition at line 33 of file prompter.cc.

Gtkmm2ext::Prompter::~Prompter ( )
inline

Definition at line 44 of file prompter.h.

Member Function Documentation

void Prompter::change_labels ( std::string  ok,
std::string  cancel 
)

Definition at line 97 of file prompter.cc.

void Prompter::entry_activated ( )
private

Definition at line 113 of file prompter.cc.

void Prompter::get_result ( std::string &  str,
bool  strip = true 
)

Definition at line 104 of file prompter.cc.

void Prompter::init ( )
private

Definition at line 50 of file prompter.cc.

void Prompter::on_entry_changed ( )
protected

Definition at line 123 of file prompter.cc.

void Prompter::on_show ( )
protected

Definition at line 80 of file prompter.cc.

void Gtkmm2ext::Prompter::set_initial_text ( std::string  txt)
inline

Definition at line 50 of file prompter.h.

void Gtkmm2ext::Prompter::set_prompt ( std::string  prompt)
inline

Definition at line 46 of file prompter.h.

Gtk::Entry& Gtkmm2ext::Prompter::the_entry ( )
inlineprotected

Definition at line 60 of file prompter.h.

Member Data Documentation

bool Gtkmm2ext::Prompter::can_accept_from_entry
private

Definition at line 70 of file prompter.h.

Gtk::Entry Gtkmm2ext::Prompter::entry
private

Definition at line 66 of file prompter.h.

Gtk::HBox Gtkmm2ext::Prompter::entryBox
private

Definition at line 67 of file prompter.h.

Gtk::Label Gtkmm2ext::Prompter::entryLabel
private

Definition at line 68 of file prompter.h.

bool Gtkmm2ext::Prompter::first_show
private

Definition at line 69 of file prompter.h.


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