Ardour  9.0-pre0-822-g12e3bc5c20
ArdourWidgets::PopUp Class Reference

#include <popup.h>

Inheritance diagram for ArdourWidgets::PopUp:
[legend]

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 38 of file popup.h.

Constructor & Destructor Documentation

◆ PopUp()

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

◆ ~PopUp()

virtual ArdourWidgets::PopUp::~PopUp ( )
virtual

Member Function Documentation

◆ button_click()

gint ArdourWidgets::PopUp::button_click ( GdkEventButton *  )

◆ on_delete_event()

bool ArdourWidgets::PopUp::on_delete_event ( GdkEventAny *  )

◆ on_realize()

void ArdourWidgets::PopUp::on_realize ( )
protected

◆ remove()

void ArdourWidgets::PopUp::remove ( )

◆ remove_prompt_timeout()

static gint ArdourWidgets::PopUp::remove_prompt_timeout ( void *  )
staticprivate

◆ set_name()

void ArdourWidgets::PopUp::set_name ( std::string  )

◆ set_text()

void ArdourWidgets::PopUp::set_text ( std::string  )

◆ touch()

void ArdourWidgets::PopUp::touch ( )
virtual

Implements Touchable.

Member Data Documentation

◆ delete_on_hide

bool ArdourWidgets::PopUp::delete_on_hide
private

Definition at line 60 of file popup.h.

◆ label

Gtk::Label ArdourWidgets::PopUp::label
private

Definition at line 56 of file popup.h.

◆ my_text

std::string ArdourWidgets::PopUp::my_text
private

Definition at line 57 of file popup.h.

◆ popdown_time

unsigned int ArdourWidgets::PopUp::popdown_time
private

Definition at line 61 of file popup.h.

◆ timeout

gint ArdourWidgets::PopUp::timeout
private

Definition at line 58 of file popup.h.


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