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

#include <popup.h>

Inheritance diagram for Gtkmm2ext::PopUp:
Touchable

Public Member Functions

 PopUp (Gtk::WindowPosition pos, unsigned int show_for_msecs=0, bool delete_on_hide=false)
 
virtual ~PopUp ()
 
void touch ()
 
void remove ()
 
void set_text (std::string)
 
void set_name (std::string)
 
gint button_click (GdkEventButton *)
 
bool on_delete_event (GdkEventAny *)
 
- Public Member Functions inherited from Touchable
 Touchable ()
 
virtual ~Touchable ()
 
void set_delete_after_touch (bool yn)
 
bool delete_after_touch () const
 

Protected Member Functions

void on_realize ()
 

Static Private Member Functions

static gint remove_prompt_timeout (void *)
 

Private Attributes

Gtk::Label label
 
std::string my_text
 
gint timeout
 
bool delete_on_hide
 
unsigned int popdown_time
 

Additional Inherited Members

- Protected Attributes inherited from Touchable
bool _delete_after_touch
 

Detailed Description

Definition at line 36 of file popup.h.

Constructor & Destructor Documentation

PopUp::PopUp ( Gtk::WindowPosition  pos,
unsigned int  show_for_msecs = 0,
bool  delete_on_hide = false 
)

Definition at line 31 of file popup.cc.

PopUp::~PopUp ( )
virtual

Definition at line 46 of file popup.cc.

Member Function Documentation

gint PopUp::button_click ( GdkEventButton *  )

Definition at line 114 of file popup.cc.

bool PopUp::on_delete_event ( GdkEventAny *  )

Definition at line 134 of file popup.cc.

void PopUp::on_realize ( )
protected

Definition at line 51 of file popup.cc.

void PopUp::remove ( )

Definition at line 73 of file popup.cc.

gint PopUp::remove_prompt_timeout ( void *  arg)
staticprivate

Definition at line 58 of file popup.cc.

void PopUp::set_name ( std::string  )

Definition at line 127 of file popup.cc.

void PopUp::set_text ( std::string  )

Definition at line 121 of file popup.cc.

void PopUp::touch ( )
virtual

Implements Touchable.

Definition at line 94 of file popup.cc.

Member Data Documentation

bool Gtkmm2ext::PopUp::delete_on_hide
private

Definition at line 58 of file popup.h.

Gtk::Label Gtkmm2ext::PopUp::label
private

Definition at line 54 of file popup.h.

std::string Gtkmm2ext::PopUp::my_text
private

Definition at line 55 of file popup.h.

unsigned int Gtkmm2ext::PopUp::popdown_time
private

Definition at line 59 of file popup.h.

gint Gtkmm2ext::PopUp::timeout
private

Definition at line 56 of file popup.h.


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