k3d::ngui::text::control Class Reference

Provides a standard UI control for manipulating text fields (i.e. the view and the controller from model-view-controller). More...

#include <text.h>

List of all members.

Classes

class  implementation

Public Member Functions

 control (imodel *const Model, k3d::istate_recorder *const StateRecorder)
 ~control ()

Private Types

typedef Gtk::VBox base

Private Member Functions

bool on_focus_in_event (GdkEventFocus *Event)
 Called when the control gains the keyboard focus.
bool on_focus_out_event (GdkEventFocus *Event)
 Called when the control loses the keyboard focus.
void on_apply ()
 Called when the user finishes editing data.
void on_reset ()
 Called to synchronize the control with the current model value.
const k3d::string_t change_message (const k3d::string_t &Value)

Private Attributes

implementation *const m_implementation

Detailed Description

Provides a standard UI control for manipulating text fields (i.e. the view and the controller from model-view-controller).


Member Typedef Documentation

typedef Gtk::VBox k3d::ngui::text::control::base [private]

Constructor & Destructor Documentation

k3d::ngui::text::control::control ( imodel *const   Model,
k3d::istate_recorder *const   StateRecorder 
)
k3d::ngui::text::control::~control (  ) 

References m_implementation.


Member Function Documentation

const k3d::string_t k3d::ngui::text::control::change_message ( const k3d::string_t Value  )  [private]
void k3d::ngui::text::control::on_apply (  )  [private]
bool k3d::ngui::text::control::on_focus_in_event ( GdkEventFocus *  Event  )  [private]

Called when the control gains the keyboard focus.

References k3d::ngui::text::control::implementation::m_disabled_accel_group, and m_implementation.

Referenced by control().

bool k3d::ngui::text::control::on_focus_out_event ( GdkEventFocus *  Event  )  [private]

Called when the control loses the keyboard focus.

References k3d::ngui::text::control::implementation::m_disabled_accel_group, and m_implementation.

Referenced by control().

void k3d::ngui::text::control::on_reset (  )  [private]

Called to synchronize the control with the current model value.

References m_implementation, k3d::ngui::text::control::implementation::m_model, and k3d::ngui::text::control::implementation::m_text_view.

Referenced by control().


Member Data Documentation


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

Generated on Mon Mar 21 07:42:42 2011 for K-3D by doxygen 1.6.3