NEURON
utility.h File Reference
#include <InterViews/dialog.h>
#include <IV-look/field.h>
#include <OS/string.h>
#include <InterViews/handler.h>

Go to the source code of this file.

Classes

class  FieldDialog
 
class  PopupMenu
 
class  K
 

Functions

bool nrn_spec_dialog_pos (Coord &x, Coord &y)
 true if Style 'dialog_spec_position: on' and fills x,y with dialog_left_position and dialog_bottom_position. More...
 
bool ok_to_write (const String &, Window *w=NULL)
 
bool ok_to_write (const char *, Window *w=NULL)
 
bool ok_to_read (const String &, Window *w=NULL)
 
bool ok_to_read (const char *, Window *w=NULL)
 
bool boolean_dialog (const char *label, const char *accept, const char *cancel, Window *w=NULL, Coord x=400., Coord y=400.)
 
void continue_dialog (const char *label, Window *w=NULL, Coord x=400., Coord y=400.)
 
bool str_chooser (const char *, char *, Window *w=NULL, Coord x=400., Coord y=400.)
 
bool var_pair_chooser (const char *, float &x, float &y, Window *w=NULL, Coord x1=400., Coord y1=400.)
 
void handle_old_focus ()
 

Function Documentation

◆ boolean_dialog()

bool boolean_dialog ( const char *  label,
const char *  accept,
const char *  cancel,
Window w = NULL,
Coord  x = 400.,
Coord  y = 400. 
)

◆ continue_dialog()

void continue_dialog ( const char *  label,
Window w = NULL,
Coord  x = 400.,
Coord  y = 400. 
)

◆ handle_old_focus()

void handle_old_focus ( )

◆ nrn_spec_dialog_pos()

bool nrn_spec_dialog_pos ( Coord x,
Coord y 
)

true if Style 'dialog_spec_position: on' and fills x,y with dialog_left_position and dialog_bottom_position.

◆ ok_to_read() [1/2]

bool ok_to_read ( const char *  ,
Window w = NULL 
)

◆ ok_to_read() [2/2]

bool ok_to_read ( const String &  ,
Window w = NULL 
)

◆ ok_to_write() [1/2]

bool ok_to_write ( const char *  ,
Window w = NULL 
)

◆ ok_to_write() [2/2]

bool ok_to_write ( const String &  ,
Window w = NULL 
)

◆ str_chooser()

bool str_chooser ( const char *  ,
char *  ,
Window w = NULL,
Coord  x = 400.,
Coord  y = 400. 
)

◆ var_pair_chooser()

bool var_pair_chooser ( const char *  ,
float &  x,
float &  y,
Window w = NULL,
Coord  x1 = 400.,
Coord  y1 = 400. 
)