/** File "wu.h"  
 *
 */


#ifndef __WU_H_
#define __WU_H_


typedef struct _Wu Wu;

struct _Wu {
  GtkWidget *w;  /* "normal" widget */
  GtkWidget *u;  /*  update  widget (a GtkCheckButton) */ 
};


typedef struct _WuSpin2Struct WuSpin2Struct;

struct _WuSpin2Struct {
  spin2Struct *sp2;
  GtkWidget   *u_label1;
  GtkWidget   *u_label2;
};


void wu_uvbox_set (GtkWidget *u);
void wu_update_on (gboolean on);
void wu_reset_u   (Wu wu);

void 	 wu_get_int  (Wu wu, int *n);
void     wu_get_dble (Wu wu, double *d);
gboolean wu_evalexpr (Wu wu ,double *answer);
void 	 wu_get_op   (Wu wu ,PlacementType *op);

#endif /*__WU_H_  */
