Message: Retrieving numerical values from G4UIcommand Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Retrieving numerical values from G4UIcommand 

Forum: (Graphical) User Interfaces
Date: 11 Apr, 2004
From: Dmitry Onoprienko <Dmitry Onoprienko>

I have couple questions regarding G4UIcommand and G4UIparameter

First it looks like G4UIcommand doesn't provide any convenient
methods for retrieving double and integer values of its parameters
(like those provided by its subclasses, GetNewDoubleValue(...)
in G4UIcmdWithADouble, for example). Since G4UIcommand does know
types of its parameters and is capable of doing range checking,
the code for conversion from strings to numbers seems to be there,
but there are no public access methods. Or am I missing something
here ?

Second question - is there any way to add multi-line guidance to
parameters (not to the command itself) ?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Retrieving numerical values from G4UIcommand"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]