Message: Suggestion for /gui/addIcon Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Suggestion for /gui/addIcon 

Forum: (Graphical) User Interfaces
Date: 21 Oct, 2013
From: Emmanuel Delage <Emmanuel Delage >

Dear all,

as advised by Laurent Garnier, I use /gui/addIcon to open a file thanks to icons below GUI menu bar.

Adding the following line in gui.mac:

/gui/addIcon "Open macro file" open /control/execute

it's possible to open macro files .mac .

By typing '*' character into input field open dialog, I may select any sort of file. But it's not convenient.

Is it possible to add filters to open command, for example? /gui/addIcon "Open PDB file" open /PDB4DNA/det/loadPDB "PDB files|*.pdb"

Thanks in advance, Emmanuel

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

1 None: Re: Suggestion for /gui/addIcon   (garnier - 22 Oct, 2013)
 Add Message Add Message
to: "Suggestion for /gui/addIcon"

 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 ]