Re: Need to change icon selection method.

John P. Rouillard (rouilj@terminus.cs.umb.edu)
Sun, 17 Apr 1994 18:06:12 -0400

In message <9404172056.AA12999@sol>, Juergen Schoenwaelder writes:
> John> I would stringly suggest that you save icons by icon file
> John> name, and not by some menu hook. Doing this prevents your new
> John> icon definitions from screwing up my icon definitons (e.g. in
> John> 0.9 tkined you added a couple of new icons (compared to 0.7),
> John> and many of my nodes were displayed with the wrong icons).
>
> I am not sure about this. Saving the menu name and not the bitmap file
> name has the advantage that you could move bitmap files without
> breaking saved maps by modifying the tkined.defaults file. All version
> before 0.9 were a little bit buggy regarding this point, so there
> might have been some problems (sorry). The question is, whether menu
> entries or bitmap filenames are changing more frequently.

My menus shouldn't have to look like my bosses menu's, but he should
be able to look at maps that I create and have the proper icons. Names
of the bitmap files are not usually changed from person to person, but
the default menu setup is supposed to be different from user to user.

Also if you don't already have it, you should probably look for an
environment variable that will set the bitmap search path (i.e. it
doesn't look for tkined stuff there). It is up to the installers to
make sure that this is properly defined by default. This will make it
easy to move the bitmap directories around.

> John> Also it would be nice if there is some way to see all of the
> John> icons.
>
> This would add an extra dialog (means more source code) and it would
> not add new functionality. I use the tear-off menus to browse the
> icons. But I did not have 150 - perhaps I will change my opinion.

No biggie, its just thst it is difficult to look at the different
icons when you have to choose a new icon that will represent a machine
that you don't have a pre-made bitmap for.

Also, it looks like the patch for multi-cascading the icons works,
although I am having a few problems getting posted menus to stay
posted. Also, it looks like tkined (or maybe tk) is loosing the state
of some of its menu buttons (icons to be exact), so that it looks
selected even when it isn't.

-- John
John Rouillard

Special Projects Volunteer University of Massachusetts at Boston
rouilj@cs.umb.edu (preferred) Boston, MA, (617) 287-6480
===============================================================================
My employers don't acknowledge my existence much less my opinions.