To edit the backbone angle: 1.) use the button from the 'old' Model/Fit/Refine dialog
2.) add the following line to the last list in your coot_toolbuttons.py file (in COOTDIR/share/coot/python; e.g. after ["Add alt conf", "altconf()", "Add alternative conformation", "add-alt-conf.svg"],): ["Edit BB", "setup_backbone_torsion_edit(1)", "Edit Backbone Torsion Angle", "flip-peptide.svg"], N.B. will be an option in the next version... 3.) Edit (or if not there create) coot_toolbuttons.py in $HOME/.coot-preferences/coot_toolbuttons.py and add: coot_toolbar_button("Edit BB", "setup_backbone_torsion_edit(1)", "flip-peptide.svg") The last two points are general to add new functions to the toolbuttons manager. I may include a GUI to add a simple function in the next release if requested. Bernhard *************************************************** Dr. Bernhard Lohkamp now University of York, YSBL Div. Molecular Structural Biology Dept. of Medical Biochemistry and Biophysics (MBB) Karolinska Institutet S-17177 Stockholm Sweden phone: (+46) 08-52487698 fax: (+46) 08-327626 email: [EMAIL PROTECTED] ----- Original Message ----- From: Jianghai Zhu <[EMAIL PROTECTED]> Date: Friday, October 3, 2008 6:09 pm Subject: Re: [COOT] where did add alt conf go? To: COOT@JISCMAIL.AC.UK > Where can I find the instructions to add/delete buttons onto the > toolbar? I particularly need the "backbone torsion angle" recently. > > Could somebody share the information? Thanks. > > -- Jianghai > > > > > > > On Aug 2, 2008, at 4:57 AM, Bernhard Lohkamp wrote: > > > As Paul already mentioned in this thread you can add you own > buttons > > to > > the horizontal toolbar now (pre version with python and gtk2). I > > made a > > few pre-defined functions but more will be added in future and > can be > > customized. I recently added an Alt Conf button. > > > > Bernhard > > > >> Dear Paul -- > >> > >> On 26 Jul 2008, at 14:57, Paul Emsley wrote: > >>> I recently discovered that on a laptop with 100dpi fonts and a > >> 800- > >>> pixel height resolution (not uncommon), then the tool-bar is so > >>> long that the GNOME panel obscures the status bar. Not good. I > >>> suppose that the Right Thing is to make it runtime configurable. > >> > >> Just a quick thought (I'm sure you're only considering this, but > >> well...): what about adding an option just like your "Tips" window? > >> > >> What I have in mind is to add a pop-up window when you click on the > >> > >> Model/Fit/Refine button that will ask you which option you'd like > >> to > >> have in your refinement bar. You might put the all list of > >> functions, > >> with pre-selected buttons for the most common ones. The user will > >> then have the possibility to choose what (s)he want according to > >> the > >> most used functions &/or the size of the screen. > >> > >> Sorry for the post if you already implemented it or already planed > >> to > >> do it. Just a thought. > >> > >> Kind regards. > >> > >> -- Leo -- > >> ------------------------------------------------------------ > >> Chavas Leonard, Ph.D. @ home > >> Research Associate > >> ------------------------------------------------------------ > >> Faculty of Life Sciences > >> The University of Manchester > >> The Michael Smith Building > >> Oxford Road > >> Manchester Lancashire > >> M13 9PT > >> ------------------------------------------------------------ > >> Tel: +44(0)161-275-1586 > >> e-mail: [EMAIL PROTECTED] > >> http://personalpages.manchester.ac.uk/staff/leonard.chavas/ > > > > > > > > *************************************************** > > > > Dr. Bernhard Lohkamp > > Div. Molecular Structural Biology > > Dept. of Medical Biochemistry and Biophysics (MBB) > > Karolinska Institutet > > S-17177 Stockholm > > Sweden > > > > phone: (+46) 08-52487698 > > fax: (+46) 08-327626 > > email: [EMAIL PROTECTED] > > >