conexus logo

Conexus::Gtk::HostEntry Class Reference

TODO provide custom hostname lookups, kinda like DNS but for images. More...

#include <hostentry.h>

List of all members.

Public Member Functions

 HostEntry (unsigned lookup=LOOKUP_IPV4|LOOKUP_IPV6)
 HostEntry (IPAddressInterface *addr, unsigned lookup=LOOKUP_IPV4|LOOKUP_IPV6)
 HostEntry (IPAddressInterface::pointer addr, unsigned lookup=LOOKUP_IPV4|LOOKUP_IPV6)
 HostEntry (IPv4::Address &address, unsigned lookup=LOOKUP_IPV4|LOOKUP_IPV6)
 HostEntry (IPv6::Address &address, unsigned lookup=LOOKUP_IPV4|LOOKUP_IPV6)
 ~HostEntry ()
IPAddressInterfaceaddress ()
void set_address (IPAddressInterface *addr, unsigned lookup=LOOKUP_IPV4)
void set_address (IPAddressInterface::pointer addr, unsigned lookup=LOOKUP_IPV4)
void set_address (IPv4::Address &addr, unsigned lookup=LOOKUP_IPV4)
void set_address (IPv6::Address &addr, unsigned lookup=LOOKUP_IPV6)
void unset_address ()
::Gtk::ComboBoxEntryText & host_widget ()
::Gtk::Image & good_host_image ()
::Gtk::Image & bad_host_image ()
std::string host ()
void set_host (const std::string &s)
bool is_hostname_label_visible ()
bool is_host_label_visible ()
bool is_host_image_visible ()
void show_hostname_label (bool show=true)
void show_host_label (bool show=true)
void show_host_image (bool show=true)
::Gtk::Button & apply_button ()
bool is_immediate_apply_enabled ()
void enable_immediate_apply (bool enable=true)
void apply ()

Protected Member Functions

virtual void on_controlled_host_changed ()
virtual void on_host_widget_changed ()

Protected Attributes

IPAddressInterfacem_address
unsigned m_lookup
bool m_immediate_apply
sigc::connection m_conn_address_host
sigc::connection m_host_widget_connection
::Gtk::Label m_hostname_label
::Gtk::Label m_host_label
::Gtk::ComboBoxEntryText m_host_widget
::Gtk::EventBox m_image_holder
::Gtk::Image m_good_host_image
::Gtk::Image m_bad_host_image
::Gtk::Button m_apply_button

Private Member Functions

void setup_widget ()


Detailed Description

TODO provide custom hostname lookups, kinda like DNS but for images.

..

Author:
Rick L Vinyard Jr

Constructor & Destructor Documentation

Conexus::Gtk::HostEntry::HostEntry ( unsigned  lookup = LOOKUP_IPV4|LOOKUP_IPV6  ) 

References setup_widget().

Conexus::Gtk::HostEntry::HostEntry ( IPAddressInterface addr,
unsigned  lookup = LOOKUP_IPV4|LOOKUP_IPV6 
)

References setup_widget().

Conexus::Gtk::HostEntry::HostEntry ( IPAddressInterface::pointer  addr,
unsigned  lookup = LOOKUP_IPV4|LOOKUP_IPV6 
)

References setup_widget().

Conexus::Gtk::HostEntry::HostEntry ( IPv4::Address address,
unsigned  lookup = LOOKUP_IPV4|LOOKUP_IPV6 
)

References setup_widget().

Conexus::Gtk::HostEntry::HostEntry ( IPv6::Address &  address,
unsigned  lookup = LOOKUP_IPV4|LOOKUP_IPV6 
)

References setup_widget().

Conexus::Gtk::HostEntry::~HostEntry (  ) 


Member Function Documentation

IPAddressInterface * Conexus::Gtk::HostEntry::address (  ) 

References m_address.

void Conexus::Gtk::HostEntry::apply (  ) 

Gtk::Button & Conexus::Gtk::HostEntry::apply_button (  ) 

References m_apply_button.

Gtk::Image & Conexus::Gtk::HostEntry::bad_host_image (  ) 

References m_bad_host_image.

void Conexus::Gtk::HostEntry::enable_immediate_apply ( bool  enable = true  ) 

Gtk::Image & Conexus::Gtk::HostEntry::good_host_image (  ) 

References m_good_host_image.

std::string Conexus::Gtk::HostEntry::host (  ) 

References m_host_widget.

Referenced by apply().

Gtk::ComboBoxEntryText & Conexus::Gtk::HostEntry::host_widget (  ) 

References m_host_widget.

bool Conexus::Gtk::HostEntry::is_host_image_visible (  ) 

References m_image_holder.

bool Conexus::Gtk::HostEntry::is_host_label_visible (  ) 

References m_host_label.

bool Conexus::Gtk::HostEntry::is_hostname_label_visible (  ) 

References m_hostname_label.

bool Conexus::Gtk::HostEntry::is_immediate_apply_enabled (  ) 

References m_immediate_apply.

void Conexus::Gtk::HostEntry::on_controlled_host_changed (  )  [protected, virtual]

Referenced by set_address().

void Conexus::Gtk::HostEntry::on_host_widget_changed (  )  [protected, virtual]

References apply(), m_apply_button, and m_immediate_apply.

Referenced by setup_widget().

void Conexus::Gtk::HostEntry::set_address ( IPv6::Address &  addr,
unsigned  lookup = LOOKUP_IPV6 
)

References set_address().

void Conexus::Gtk::HostEntry::set_address ( IPv4::Address addr,
unsigned  lookup = LOOKUP_IPV4 
)

References set_address().

void Conexus::Gtk::HostEntry::set_address ( IPAddressInterface::pointer  addr,
unsigned  lookup = LOOKUP_IPV4 
)

References set_address().

void Conexus::Gtk::HostEntry::set_address ( IPAddressInterface addr,
unsigned  lookup = LOOKUP_IPV4 
)

void Conexus::Gtk::HostEntry::set_host ( const std::string &  s  ) 

References m_host_widget.

Referenced by unset_address().

void Conexus::Gtk::HostEntry::setup_widget (  )  [private]

void Conexus::Gtk::HostEntry::show_host_image ( bool  show = true  ) 

References m_image_holder.

void Conexus::Gtk::HostEntry::show_host_label ( bool  show = true  ) 

References m_host_label.

void Conexus::Gtk::HostEntry::show_hostname_label ( bool  show = true  ) 

References m_hostname_label.

void Conexus::Gtk::HostEntry::unset_address (  ) 


Member Data Documentation

::Gtk::Button Conexus::Gtk::HostEntry::m_apply_button [protected]

Referenced by apply(), bad_host_image(), and setup_widget().

sigc::connection Conexus::Gtk::HostEntry::m_conn_address_host [protected]

Referenced by set_address(), and unset_address().

::Gtk::Label Conexus::Gtk::HostEntry::m_host_label [protected]

::Gtk::ComboBoxEntryText Conexus::Gtk::HostEntry::m_host_widget [protected]

Referenced by apply(), and setup_widget().

::Gtk::EventBox Conexus::Gtk::HostEntry::m_image_holder [protected]

unsigned Conexus::Gtk::HostEntry::m_lookup [protected]

Referenced by apply(), set_address(), and unset_address().


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

Generated on Wed Jul 8 15:51:27 2009 for conexus by doxygen 1.5.8