Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What's in a name?

1 view
Skip to first unread message

Rob Arthan

unread,
Jun 25, 2003, 6:48:08 AM6/25/03
to
Can anyone explain why creating a pulldown menu named "Command" gives rise
to the following Xt warning?

Warning: Actions not found: reset, set, notify, unset

The attached code shows this in action (and gives the warning message on
XFree86 and on the Motif bundled with Solaris 2.8).

Regards,

Rob.

menu.c

Rob Arthan

unread,
Jun 26, 2003, 6:40:13 AM6/26/03
to
Rob Arthan wrote:

Answer: resources, you fool! You were trying this with displays running
various versions of KDE. KDE in its infinite wisdom apparently uses xrdb to
load resources from a wide variety of places. These include a file called
AAAXaw.ad, which is presumably intended for generic Athena widget
applications and contains the following:

*Command.translations: <LeaveWindow>: reset()\n <Btn1Down>:
set()\n<Btn1Up>: notify() unset()

which is apparently lifted from the Xedit-color applications defaults file
that comes with X.

So not a Motif issue at all - although it would be a real pain in general to
defend your code against an environment which loads large numbers of
resources with no application class specified (KDE on my Mandrake 9.1
set-up loads over 200).

Regards,

Rob.

0 new messages