Gtk_EntryControl Class Reference

#include <pcs.h>

Inheritance diagram for Gtk_EntryControl:

Param_Control Param_Control List of all members.

Public Member Functions

 Gtk_EntryControl (UnitObj *U, char *W, double *V, double VMi, double VMa, char *p, GtkWidget *w, double AdjStep=0., double AdjPage=0., double AdjProg=0.)
 Gtk_EntryControl (UnitObj *U, char *W, unsigned long *V, double VMi, double VMa, char *p, GtkWidget *w, double AdjStep=0., double AdjPage=0., double AdjProg=0.)
 Gtk_EntryControl (UnitObj *U, char *W, int *V, double VMi, double VMa, char *p, GtkWidget *w, double AdjStep=0., double AdjPage=0., double AdjProg=0.)
 Gtk_EntryControl (UnitObj *U, char *W, short *V, double VMi, double VMa, char *p, GtkWidget *w, double AdjStep=0., double AdjPage=0., double AdjProg=0.)
virtual ~Gtk_EntryControl ()
void pcs_adjustment_configure ()
void get_pcs_configuartion ()
void put_pcs_configuartion ()
virtual gint ShowMessage (char *txt, char *options=NULL, gint default_choice=0)
GtkObject * GetAdjustment ()
void Show (gint flg)
void Thaw ()
void Freeze ()
virtual gpointer GetEntryData (const gchar *txtid)
GSList * AddEntry2RemoteList (gchar *RefName, GSList *remotelist)
void disable_remote_pcs_tips ()
void enable_remote_pcs_tips ()
int CheckRemoteCmd (gchar **arglist)
virtual void Put_Value ()
virtual void Set_Parameter (double Value=0., int flg=FALSE, int usr2base=FALSE)
 Gtk_EntryControl (UnitObj *U, char *W, double *V, double VMi, double VMa, char *p, GtkWidget *w, double AdjStep=0., double AdjPage=0., double AdjProg=0.)
 Gtk_EntryControl (UnitObj *U, char *W, unsigned long *V, double VMi, double VMa, char *p, GtkWidget *w, double AdjStep=0., double AdjPage=0., double AdjProg=0.)
 Gtk_EntryControl (UnitObj *U, char *W, int *V, double VMi, double VMa, char *p, GtkWidget *w, double AdjStep=0., double AdjPage=0., double AdjProg=0.)
 Gtk_EntryControl (UnitObj *U, char *W, short *V, double VMi, double VMa, char *p, GtkWidget *w, double AdjStep=0., double AdjPage=0., double AdjProg=0.)
virtual ~Gtk_EntryControl ()
void pcs_adjustment_configure ()
void get_pcs_configuartion ()
void put_pcs_configuartion ()
virtual gint ShowMessage (char *txt, char *options=NULL, gint default_choice=0)
GtkObject * GetAdjustment ()
void Show (gint flg)
void Thaw ()
void Freeze ()
virtual gpointer GetEntryData (const gchar *txtid)
GSList * AddEntry2RemoteList (gchar *RefName, GSList *remotelist)
void disable_remote_pcs_tips ()
void enable_remote_pcs_tips ()
int CheckRemoteCmd (gchar **arglist)
virtual void Put_Value ()
virtual void Set_Parameter (double Value=0., int flg=FALSE, int usr2base=FALSE)

Static Public Member Functions

static gint update_callback (GtkEditable *editable, void *data)
static void adjustment_callback (GtkAdjustment *adj, Gtk_EntryControl *gpcs)
static gint update_callback (GtkEditable *editable, void *data)
static void adjustment_callback (GtkAdjustment *adj, Gtk_EntryControl *gpcs)

Private Member Functions

void InitRegisterCb (double AdjStep, double AdjPage, double AdjProg)
void InitRegisterCb (double AdjStep, double AdjPage, double AdjProg)

Private Attributes

GtkWidget * entry
GtkObject * adj
gint enable_client
double page10
double page
double step
double progressive
gint show_adj:1
gint show_scale:1
gint show_extra:1
GtkWidget * entry
GtkObject * adj

Detailed Description

Definition at line 121 of file pcs.h.


Constructor & Destructor Documentation

Gtk_EntryControl::Gtk_EntryControl UnitObj U,
char *  W,
double *  V,
double  VMi,
double  VMa,
char *  p,
GtkWidget *  w,
double  AdjStep = 0.,
double  AdjPage = 0.,
double  AdjProg = 0.
[inline]
 

Definition at line 123 of file pcs.h.

References entry, and InitRegisterCb().

Referenced by pcs_adjustment_configure().

Gtk_EntryControl::Gtk_EntryControl UnitObj U,
char *  W,
unsigned long *  V,
double  VMi,
double  VMa,
char *  p,
GtkWidget *  w,
double  AdjStep = 0.,
double  AdjPage = 0.,
double  AdjProg = 0.
[inline]
 

Definition at line 129 of file pcs.h.

References entry, and InitRegisterCb().

Gtk_EntryControl::Gtk_EntryControl UnitObj U,
char *  W,
int *  V,
double  VMi,
double  VMa,
char *  p,
GtkWidget *  w,
double  AdjStep = 0.,
double  AdjPage = 0.,
double  AdjProg = 0.
[inline]
 

Definition at line 135 of file pcs.h.

References entry, and InitRegisterCb().

Gtk_EntryControl::Gtk_EntryControl UnitObj U,
char *  W,
short *  V,
double  VMi,
double  VMa,
char *  p,
GtkWidget *  w,
double  AdjStep = 0.,
double  AdjPage = 0.,
double  AdjProg = 0.
[inline]
 

Definition at line 141 of file pcs.h.

References entry, and InitRegisterCb().

virtual Gtk_EntryControl::~Gtk_EntryControl  )  [inline, virtual]
 

Definition at line 147 of file pcs.h.

References adjustment_callback().

Gtk_EntryControl::Gtk_EntryControl UnitObj U,
char *  W,
double *  V,
double  VMi,
double  VMa,
char *  p,
GtkWidget *  w,
double  AdjStep = 0.,
double  AdjPage = 0.,
double  AdjProg = 0.
[inline]
 

Definition at line 123 of file pcs.h.

References entry, and InitRegisterCb().

Gtk_EntryControl::Gtk_EntryControl UnitObj U,
char *  W,
unsigned long *  V,
double  VMi,
double  VMa,
char *  p,
GtkWidget *  w,
double  AdjStep = 0.,
double  AdjPage = 0.,
double  AdjProg = 0.
[inline]
 

Definition at line 129 of file pcs.h.

References entry, and InitRegisterCb().

Gtk_EntryControl::Gtk_EntryControl UnitObj U,
char *  W,
int *  V,
double  VMi,
double  VMa,
char *  p,
GtkWidget *  w,
double  AdjStep = 0.,
double  AdjPage = 0.,
double  AdjProg = 0.
[inline]
 

Definition at line 135 of file pcs.h.

References entry, and InitRegisterCb().

Gtk_EntryControl::Gtk_EntryControl UnitObj U,
char *  W,
short *  V,
double  VMi,
double  VMa,
char *  p,
GtkWidget *  w,
double  AdjStep = 0.,
double  AdjPage = 0.,
double  AdjProg = 0.
[inline]
 

Definition at line 141 of file pcs.h.

References entry, and InitRegisterCb().

virtual Gtk_EntryControl::~Gtk_EntryControl  )  [inline, virtual]
 

Definition at line 147 of file pcs.h.

References adjustment_callback().


Member Function Documentation

GSList* Gtk_EntryControl::AddEntry2RemoteList gchar *  RefName,
GSList *  remotelist
 

GSList * Gtk_EntryControl::AddEntry2RemoteList gchar *  RefName,
GSList *  remotelist
 

Definition at line 588 of file pcs.C.

References entry, Param_Control::refname, and remote_pcs_tips.

Referenced by App::create_as_control(), App::create_spa_control(), App::create_spm_control(), DSPControl::DSPControl(), and rhk_ScanControl::rhk_ScanControl().

static void Gtk_EntryControl::adjustment_callback GtkAdjustment *  adj,
Gtk_EntryControl gpcs
[static]
 

void Gtk_EntryControl::adjustment_callback GtkAdjustment *  adj,
Gtk_EntryControl gpcs
[static]
 

Definition at line 246 of file pcs.C.

References Set_Parameter(), and TRUE.

Referenced by InitRegisterCb(), and ~Gtk_EntryControl().

int Gtk_EntryControl::CheckRemoteCmd gchar **  arglist  )  [inline]
 

Definition at line 187 of file pcs.h.

References FALSE, Param_Control::refname, Set_Parameter(), and TRUE.

int Gtk_EntryControl::CheckRemoteCmd gchar **  arglist  )  [inline]
 

Definition at line 187 of file pcs.h.

References FALSE, Param_Control::refname, Set_Parameter(), and TRUE.

Referenced by RemoteControl::Check_ec(), and check_remote_ec().

void Gtk_EntryControl::disable_remote_pcs_tips  )  [inline]
 

Definition at line 184 of file pcs.h.

References remote_pcs_tips.

void Gtk_EntryControl::disable_remote_pcs_tips  )  [inline]
 

Definition at line 184 of file pcs.h.

References remote_pcs_tips.

void Gtk_EntryControl::enable_remote_pcs_tips  )  [inline]
 

Definition at line 185 of file pcs.h.

References remote_pcs_tips.

void Gtk_EntryControl::enable_remote_pcs_tips  )  [inline]
 

Definition at line 185 of file pcs.h.

References remote_pcs_tips.

void Gtk_EntryControl::Freeze  )  [inline]
 

Definition at line 175 of file pcs.h.

References entry, and FALSE.

void Gtk_EntryControl::Freeze  )  [inline]
 

Definition at line 175 of file pcs.h.

References entry, and FALSE.

Referenced by DSPControl::auto_probe_callback(), App::create_spm_control(), and App::freeze_ec().

void Gtk_EntryControl::get_pcs_configuartion  ) 
 

void Gtk_EntryControl::get_pcs_configuartion  ) 
 

Definition at line 429 of file pcs.C.

References DBG_L2, entry, page, page10, progressive, step, Param_Control::v_ex_hi, Param_Control::v_ex_lo, Param_Control::vMax, Param_Control::vMax_warn, Param_Control::vMin, Param_Control::vMin_warn, XRM_GET_WD, and XSM_DEBUG.

Referenced by InitRegisterCb(), and pcs_adjustment_configure().

GtkObject* Gtk_EntryControl::GetAdjustment  )  [inline]
 

Definition at line 165 of file pcs.h.

References adj.

GtkObject* Gtk_EntryControl::GetAdjustment  )  [inline]
 

Definition at line 165 of file pcs.h.

References adj.

Referenced by App::create_spa_control(), App::create_spm_control(), and SpaLeedControl::SpaLeedControl().

virtual gpointer Gtk_EntryControl::GetEntryData const gchar *  txtid  )  [inline, virtual]
 

Reimplemented from Param_Control.

Definition at line 179 of file pcs.h.

References entry.

virtual gpointer Gtk_EntryControl::GetEntryData const gchar *  txtid  )  [inline, virtual]
 

Reimplemented from Param_Control.

Definition at line 179 of file pcs.h.

References entry.

void Gtk_EntryControl::InitRegisterCb double  AdjStep,
double  AdjPage,
double  AdjProg
[private]
 

void Gtk_EntryControl::InitRegisterCb double  AdjStep,
double  AdjPage,
double  AdjProg
[private]
 

Definition at line 542 of file pcs.C.

References adj, adjustment_callback(), DBG_L2, ec_gtk_spin_button_sci_input(), ec_gtk_spin_button_sci_output(), ec_pcs_populate_popup(), enable_client, entry, Param_Control::Get_dValue(), get_pcs_configuartion(), GTK_IS_SPIN_BUTTON_SCI, GTK_SPIN_BUTTON_SCI, gtk_spin_button_sci_configure(), page, page10, progressive, Put_Value(), step, TRUE, update_callback(), Param_Control::vMax, Param_Control::vMin, and XSM_DEBUG.

Referenced by Gtk_EntryControl().

void Gtk_EntryControl::pcs_adjustment_configure  ) 
 

void Gtk_EntryControl::pcs_adjustment_configure  ) 
 

Definition at line 352 of file pcs.C.

References _, EC_INF, entry, get_pcs_configuartion(), GNOME_PAD, Gtk_EntryControl(), make_edit(), page, page10, Param_Control::prec, progressive, put_pcs_configuartion(), step, TRUE, Param_Control::unit, Param_Control::v_ex_hi, Param_Control::v_ex_lo, Param_Control::vMax, Param_Control::vMax_warn, Param_Control::vMin, and Param_Control::vMin_warn.

Referenced by ec_pcs_adjustment_configure().

void Gtk_EntryControl::put_pcs_configuartion  ) 
 

void Gtk_EntryControl::put_pcs_configuartion  ) 
 

Definition at line 455 of file pcs.C.

References adj, DBG_L2, entry, GTK_IS_SPIN_BUTTON_SCI, GTK_SPIN_BUTTON_SCI, gtk_spin_button_sci_configure(), gtk_spin_button_sci_set_increments(), page, page10, progressive, step, Param_Control::v_ex_hi, Param_Control::v_ex_lo, Param_Control::vMax, Param_Control::vMax_warn, Param_Control::vMin, Param_Control::vMin_warn, XRM_PUT_WD, and XSM_DEBUG.

Referenced by pcs_adjustment_configure().

virtual void Gtk_EntryControl::Put_Value  )  [inline, virtual]
 

Reimplemented from Param_Control.

Definition at line 196 of file pcs.h.

References adj, entry, Param_Control::Get_UsrString(), Param_Control::unit, and UnitObj::Usr2Base().

virtual void Gtk_EntryControl::Put_Value  )  [inline, virtual]
 

Reimplemented from Param_Control.

Definition at line 196 of file pcs.h.

References adj, entry, Param_Control::Get_UsrString(), Param_Control::unit, and UnitObj::Usr2Base().

Referenced by InitRegisterCb(), Set_Parameter(), and App::update_ec().

virtual void Gtk_EntryControl::Set_Parameter double  Value = 0.,
int  flg = FALSE,
int  usr2base = FALSE
[inline, virtual]
 

Reimplemented from Param_Control.

Definition at line 203 of file pcs.h.

References adj, Param_Control::ChangeNoticeFkt, enable_client, entry, Param_Control::FktData, Put_Value(), Param_Control::Set_FromValue(), ShowMessage(), Param_Control::unit, and UnitObj::Usr2Base().

virtual void Gtk_EntryControl::Set_Parameter double  Value = 0.,
int  flg = FALSE,
int  usr2base = FALSE
[inline, virtual]
 

Reimplemented from Param_Control.

Definition at line 203 of file pcs.h.

References adj, Param_Control::ChangeNoticeFkt, enable_client, entry, Param_Control::FktData, Put_Value(), Param_Control::Set_FromValue(), ShowMessage(), Param_Control::unit, and UnitObj::Usr2Base().

Referenced by adjustment_callback(), CheckRemoteCmd(), and update_callback().

void Gtk_EntryControl::Show gint  flg  )  [inline]
 

Definition at line 167 of file pcs.h.

References enable_client, entry, FALSE, and TRUE.

void Gtk_EntryControl::Show gint  flg  )  [inline]
 

Definition at line 167 of file pcs.h.

References enable_client, entry, FALSE, and TRUE.

virtual gint Gtk_EntryControl::ShowMessage char *  txt,
char *  options = NULL,
gint  default_choice = 0
[virtual]
 

Reimplemented from Param_Control.

gint Gtk_EntryControl::ShowMessage char *  txt,
char *  options = NULL,
gint  default_choice = 0
[virtual]
 

Reimplemented from Param_Control.

Definition at line 279 of file pcs.C.

References _, GNOME_PAD, total_message_count, total_message_count_int, and TRUE.

Referenced by Set_Parameter().

void Gtk_EntryControl::Thaw  )  [inline]
 

Definition at line 171 of file pcs.h.

References entry, and TRUE.

void Gtk_EntryControl::Thaw  )  [inline]
 

Definition at line 171 of file pcs.h.

References entry, and TRUE.

Referenced by DSPControl::auto_probe_callback(), and App::thaw_ec().

static gint Gtk_EntryControl::update_callback GtkEditable *  editable,
void *  data
[inline, static]
 

Definition at line 152 of file pcs.h.

References FALSE, and Set_Parameter().

static gint Gtk_EntryControl::update_callback GtkEditable *  editable,
void *  data
[inline, static]
 

Definition at line 152 of file pcs.h.

References FALSE, and Set_Parameter().

Referenced by InitRegisterCb().


Member Data Documentation

GtkObject* Gtk_EntryControl::adj [private]
 

Definition at line 242 of file pcs.h.

GtkObject* Gtk_EntryControl::adj [private]
 

Definition at line 242 of file pcs.h.

Referenced by GetAdjustment(), InitRegisterCb(), put_pcs_configuartion(), Put_Value(), and Set_Parameter().

gint Gtk_EntryControl::enable_client [private]
 

Definition at line 243 of file pcs.h.

Referenced by InitRegisterCb(), Set_Parameter(), and Show().

GtkWidget* Gtk_EntryControl::entry [private]
 

Definition at line 241 of file pcs.h.

GtkWidget* Gtk_EntryControl::entry [private]
 

Definition at line 241 of file pcs.h.

Referenced by AddEntry2RemoteList(), Freeze(), get_pcs_configuartion(), GetEntryData(), Gtk_EntryControl(), InitRegisterCb(), pcs_adjustment_configure(), put_pcs_configuartion(), Put_Value(), Set_Parameter(), Show(), and Thaw().

double Gtk_EntryControl::page [private]
 

Definition at line 245 of file pcs.h.

Referenced by get_pcs_configuartion(), InitRegisterCb(), pcs_adjustment_configure(), and put_pcs_configuartion().

double Gtk_EntryControl::page10 [private]
 

Definition at line 245 of file pcs.h.

Referenced by get_pcs_configuartion(), InitRegisterCb(), pcs_adjustment_configure(), and put_pcs_configuartion().

double Gtk_EntryControl::progressive [private]
 

Definition at line 245 of file pcs.h.

Referenced by get_pcs_configuartion(), InitRegisterCb(), pcs_adjustment_configure(), and put_pcs_configuartion().

gint Gtk_EntryControl::show_adj [private]
 

Definition at line 246 of file pcs.h.

gint Gtk_EntryControl::show_extra [private]
 

Definition at line 248 of file pcs.h.

gint Gtk_EntryControl::show_scale [private]
 

Definition at line 247 of file pcs.h.

double Gtk_EntryControl::step [private]
 

Definition at line 245 of file pcs.h.

Referenced by get_pcs_configuartion(), InitRegisterCb(), pcs_adjustment_configure(), and put_pcs_configuartion().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 09:05:26 2006 for GXSM by  doxygen 1.4.6