[Glade-users] Mnemonic activation for widgets with separate labels
- From: damon at karuna.uklinux.net (Damon Chaplin)
- Subject: [Glade-users] Mnemonic activation for widgets with separate labels
- Date: Tue Oct 4 17:37:09 2005
On Tue, 2005-10-04 at 10:41 -0500, Catherine Laws wrote:
I'm trying to use Glade to create an app that has Gtk spin buttons, combo
boxes, and entry fields with separate labels packed in vertical or
horizontal boxes. I'm using the underline button and putting an underline
before the first charater in the label text to create a mnemonic activation
for the related spin button, combo box, or entry field, and using the Label
For and Labelled By to associate the labels and controls. But when I run
the app, I get a Gtk-WARNING that GtkVBox isn't suitable for mnemonic
activation. Is there something else I need to do to associate the labels
and controls, or to set up mnemonic activation for these controls? The
label is in a different VBox cell than the combo box, so does that matter?
Mnemonic activation for radio and push buttons works fine for me.
You need to set the "Focus Target" property of the label. Choose the
widget you want to activate in the popup.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]