How to programmatically push a button?
How to programmatically push a button?
- Subject: How to programmatically push a button?
- From: Rich Cook <email@hidden>
- Date: Thu, 30 Sep 2004 09:58:02 -0700
Hello,
Does anyone know of a way from within a C program to tell a pushbutton
widget to activate itself, or more generically, to ask a widget, given
its name, to execute one of its actions, such as "activate?" What I
would like to do is provide a way to run my Motif GUI from a scripting
interface, for testing purposes.
I think that sending X Events such as a mouse down event is
problematic, as it means I have to find the widget's borders, but if
there is a way to query a widget for its borders, I ought to also be
able to activate that widget directly, I guess.
Thanks for any help.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden