Ardour  8.7-14-g57a6773833
Gtkmm2ext::WindowProxy Class Referenceabstract

#include <window_proxy.h>

Inheritance diagram for Gtkmm2ext::WindowProxy:
[legend]

Public Types

enum  StateMask { Position = 0x1 , Size = 0x2 }
 

Public Member Functions

 WindowProxy (const std::string &name, const std::string &menu_name)
 
 WindowProxy (const std::string &name, const std::string &menu_name, const XMLNode &)
 
virtual ~WindowProxy ()
 
void show ()
 
void show_all ()
 
void hide ()
 
void present ()
 
void maybe_show ()
 
virtual bool visible () const
 
virtual bool fully_visible () const
 
const std::string & name () const
 
const std::string & menu_name () const
 
std::string action_name () const
 
void set_action (Glib::RefPtr< Gtk::Action >)
 
Glib::RefPtr< Gtk::Actionaction () const
 
void drop_window ()
 
void use_window (Gtk::Window &)
 
void set_transient_for (Gtk::Window &)
 
virtual Gtk::Windowget (bool create=false)=0
 
virtual int set_state (const XMLNode &, int version)
 
virtual XMLNodeget_state () const
 
void set_state_mask (StateMask)
 
StateMask state_mask () const
 
 operator bool () const
 
- Public Member Functions inherited from PBD::Stateful
 Stateful ()
 
virtual ~Stateful ()
 
virtual bool apply_change (PropertyBase const &)
 
PropertyChange apply_changes (PropertyList const &)
 
const OwnedPropertyListproperties () const
 
void add_property (PropertyBase &s)
 
void add_extra_xml (XMLNode &)
 
XMLNodeextra_xml (const std::string &str, bool add_if_missing=false)
 
void save_extra_xml (const XMLNode &)
 
const PBD::IDid () const
 
bool set_id (const XMLNode &)
 
void set_id (const std::string &)
 
void reset_id ()
 
void clear_changes ()
 
virtual void clear_owned_changes ()
 
PropertyListget_changes_as_properties (PBD::Command *) const
 
virtual void rdiff (std::vector< PBD::Command * > &) const
 
bool changed () const
 
virtual PropertyListproperty_factory (const XMLNode &) const
 
virtual void suspend_property_changes ()
 
virtual void resume_property_changes ()
 
bool property_changes_suspended () const
 
- Public Member Functions inherited from PBD::Destructible
virtual ~Destructible ()
 
virtual void drop_references ()
 

Static Public Member Functions

static std::string xml_node_name ()
 

Public Attributes

sigc::signal0< void > signal_map
 
sigc::signal0< void > signal_unmap
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal1< void, const PropertyChange & > PropertyChanged
 
- Public Attributes inherited from PBD::Destructible
PBD::Signal0< void > Destroyed
 
PBD::Signal0< void > DropReferences
 

Protected Member Functions

void save_pos_and_size ()
 
void set_pos_and_size ()
 
void set_pos ()
 
virtual bool delete_event_handler (GdkEventAny *ev)
 
virtual bool configure_handler (GdkEventConfigure *)
 
void map_handler ()
 
void unmap_handler ()
 
virtual void setup ()
 
void toggle ()
 
- Protected Member Functions inherited from PBD::Stateful
void add_instant_xml (XMLNode &, const std::string &directory_path)
 
XMLNodeinstant_xml (const std::string &str, const std::string &directory_path)
 
void add_properties (XMLNode &) const
 
PropertyChange set_values (XMLNode const &)
 
virtual void post_set (const PropertyChange &)
 
virtual void send_change (const PropertyChange &)
 
virtual void mid_thaw (const PropertyChange &)
 
bool regenerate_xml_or_string_ids () const
 

Protected Attributes

std::string _name
 
std::string _menu_name
 
Glib::RefPtr< Gtk::Action_action
 
Gtk::Window_window
 
bool _visible
 true if the window should be visible on startup More...
 
int _x_off
 x position More...
 
int _y_off
 y position More...
 
int _width
 width More...
 
int _height
 height More...
 
Gtkmm2ext::VisibilityTrackervistracker
 
StateMask _state_mask
 
sigc::connection delete_connection
 
sigc::connection configure_connection
 
sigc::connection map_connection
 
sigc::connection unmap_connection
 
- Protected Attributes inherited from PBD::Stateful
XMLNode_extra_xml
 
XMLNode_instant_xml
 
PBD::PropertyChange _pending_changed
 
Glib::Threads::Mutex _lock
 
std::string _xml_node_name
 name of node to use for this object in XML More...
 
OwnedPropertyList_properties
 

Additional Inherited Members

- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 

Detailed Description

Definition at line 40 of file window_proxy.h.

Member Enumeration Documentation

◆ StateMask

Enumerator
Position 
Size 

Definition at line 72 of file window_proxy.h.

Constructor & Destructor Documentation

◆ WindowProxy() [1/2]

Gtkmm2ext::WindowProxy::WindowProxy ( const std::string &  name,
const std::string &  menu_name 
)

◆ WindowProxy() [2/2]

Gtkmm2ext::WindowProxy::WindowProxy ( const std::string &  name,
const std::string &  menu_name,
const XMLNode  
)

◆ ~WindowProxy()

virtual Gtkmm2ext::WindowProxy::~WindowProxy ( )
virtual

Member Function Documentation

◆ action()

Glib::RefPtr<Gtk::Action> Gtkmm2ext::WindowProxy::action ( ) const
inline

Definition at line 60 of file window_proxy.h.

◆ action_name()

std::string Gtkmm2ext::WindowProxy::action_name ( ) const

◆ configure_handler()

virtual bool Gtkmm2ext::WindowProxy::configure_handler ( GdkEventConfigure )
protectedvirtual

◆ delete_event_handler()

virtual bool Gtkmm2ext::WindowProxy::delete_event_handler ( GdkEventAny ev)
protectedvirtual

Reimplemented in ArdourWidgets::Tabbable.

◆ drop_window()

void Gtkmm2ext::WindowProxy::drop_window ( )

◆ fully_visible()

virtual bool Gtkmm2ext::WindowProxy::fully_visible ( ) const
virtual

Reimplemented in ProcessorWindowProxy.

◆ get()

◆ get_state()

virtual XMLNode& Gtkmm2ext::WindowProxy::get_state ( ) const
virtual

◆ hide()

void Gtkmm2ext::WindowProxy::hide ( )

◆ map_handler()

void Gtkmm2ext::WindowProxy::map_handler ( )
protected

◆ maybe_show()

void Gtkmm2ext::WindowProxy::maybe_show ( )

◆ menu_name()

const std::string& Gtkmm2ext::WindowProxy::menu_name ( ) const
inline

Definition at line 56 of file window_proxy.h.

◆ name()

const std::string& Gtkmm2ext::WindowProxy::name ( ) const
inline

Definition at line 55 of file window_proxy.h.

◆ operator bool()

Gtkmm2ext::WindowProxy::operator bool ( ) const
inline

Definition at line 80 of file window_proxy.h.

◆ present()

void Gtkmm2ext::WindowProxy::present ( )

◆ save_pos_and_size()

void Gtkmm2ext::WindowProxy::save_pos_and_size ( )
protected

◆ set_action()

void Gtkmm2ext::WindowProxy::set_action ( Glib::RefPtr< Gtk::Action )

◆ set_pos()

void Gtkmm2ext::WindowProxy::set_pos ( )
protected

◆ set_pos_and_size()

void Gtkmm2ext::WindowProxy::set_pos_and_size ( )
protected

◆ set_state()

virtual int Gtkmm2ext::WindowProxy::set_state ( const XMLNode ,
int  version 
)
virtual

◆ set_state_mask()

void Gtkmm2ext::WindowProxy::set_state_mask ( StateMask  )

◆ set_transient_for()

void Gtkmm2ext::WindowProxy::set_transient_for ( Gtk::Window )

◆ setup()

virtual void Gtkmm2ext::WindowProxy::setup ( )
protectedvirtual

Reimplemented in WM::ProxyBase.

◆ show()

void Gtkmm2ext::WindowProxy::show ( )

◆ show_all()

void Gtkmm2ext::WindowProxy::show_all ( )

◆ state_mask()

StateMask Gtkmm2ext::WindowProxy::state_mask ( ) const
inline

Definition at line 78 of file window_proxy.h.

◆ toggle()

void Gtkmm2ext::WindowProxy::toggle ( )
protected

◆ unmap_handler()

void Gtkmm2ext::WindowProxy::unmap_handler ( )
protected

◆ use_window()

void Gtkmm2ext::WindowProxy::use_window ( Gtk::Window )

◆ visible()

virtual bool Gtkmm2ext::WindowProxy::visible ( ) const
virtual

Reimplemented in ProcessorWindowProxy.

◆ xml_node_name()

static std::string Gtkmm2ext::WindowProxy::xml_node_name ( )
static

Member Data Documentation

◆ _action

Glib::RefPtr<Gtk::Action> Gtkmm2ext::WindowProxy::_action
protected

Definition at line 90 of file window_proxy.h.

◆ _height

int Gtkmm2ext::WindowProxy::_height
mutableprotected

height

Definition at line 96 of file window_proxy.h.

◆ _menu_name

std::string Gtkmm2ext::WindowProxy::_menu_name
protected

Definition at line 89 of file window_proxy.h.

◆ _name

std::string Gtkmm2ext::WindowProxy::_name
protected

Definition at line 88 of file window_proxy.h.

◆ _state_mask

StateMask Gtkmm2ext::WindowProxy::_state_mask
protected

Definition at line 98 of file window_proxy.h.

◆ _visible

bool Gtkmm2ext::WindowProxy::_visible
mutableprotected

true if the window should be visible on startup

Definition at line 92 of file window_proxy.h.

◆ _width

int Gtkmm2ext::WindowProxy::_width
mutableprotected

width

Definition at line 95 of file window_proxy.h.

◆ _window

Gtk::Window* Gtkmm2ext::WindowProxy::_window
protected

Definition at line 91 of file window_proxy.h.

◆ _x_off

int Gtkmm2ext::WindowProxy::_x_off
mutableprotected

x position

Definition at line 93 of file window_proxy.h.

◆ _y_off

int Gtkmm2ext::WindowProxy::_y_off
mutableprotected

y position

Definition at line 94 of file window_proxy.h.

◆ configure_connection

sigc::connection Gtkmm2ext::WindowProxy::configure_connection
protected

Definition at line 100 of file window_proxy.h.

◆ delete_connection

sigc::connection Gtkmm2ext::WindowProxy::delete_connection
protected

Definition at line 99 of file window_proxy.h.

◆ map_connection

sigc::connection Gtkmm2ext::WindowProxy::map_connection
protected

Definition at line 101 of file window_proxy.h.

◆ signal_map

sigc::signal0<void> Gtkmm2ext::WindowProxy::signal_map

Definition at line 84 of file window_proxy.h.

◆ signal_unmap

sigc::signal0<void> Gtkmm2ext::WindowProxy::signal_unmap

Definition at line 85 of file window_proxy.h.

◆ unmap_connection

sigc::connection Gtkmm2ext::WindowProxy::unmap_connection
protected

Definition at line 102 of file window_proxy.h.

◆ vistracker

Gtkmm2ext::VisibilityTracker* Gtkmm2ext::WindowProxy::vistracker
protected

Definition at line 97 of file window_proxy.h.


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