Strange accel behavior
| From: | Madeleine D. | Date: | Tue, 25 Jan 2005 20:43:10 +0000 |
| Subject: | Strange accel behavior | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-5489@lists.php.net to get a copy of this message | ||
Speaking of keyboard options, I have one instance of an accelgroup that
behaves strangely, and am hoping somebody can help.
I use a class setup for all my buttons, passing the uline as a parameter.
It works for any and all buttons, except the following:
$buttons["tre_delete_button"] = & new PMstdButton("_delete","Delete
current record from the print list below.","tre_delete", $accelGroup,
$statusBar);
Inside the PMstdButton class:
$buttons["$key"] = $buttons["$label"]->parse_uline("$inLabel");
If I switch the uline to 'de_lete', all is well. But if I try to use the
'd', it appears as though nothing happens.
I trap changes to entry fields, so I can see that a signal does get fired.
But the actual delete doesn't occur, unless the user mouse-clicks.
There are about 20 other similar buttons (clear, save, etc). So far, this
is the only one with a problem.
Any suggestions?
thanks
Madeleine D.