From: Tom S. <tra...@tr...> - 2002-08-15 06:07:13
|
hi Masao, this doesn't seem to help. i add accelerator to an entry field assigning Key to 'Return' and Signal to 'button_press_event'. i get this warning: Gtk-WARNING **: gtk_accel_group_add(): signal "button_press_event" in the 'GtkEntry' class ancestrycannot be used as accelerator signal. i am confused on how to catch this signal in my code anyhow. basicaly, i want it it act like the user hit a certain menuitem when they hit Enter. by the way, your help on my last problem was brillant! thanks! ~tom (aka transami) On Wed, 2002-08-14 at 04:59, Masao Mutoh wrote: > Hi, > > On Wed, 14 Aug 2002 19:06:22 +0900 > Masao Mutoh <mu...@hi...> wrote: > > > Hi, > > > > On 13 Aug 2002 13:36:09 -0600 > > Tom Sawyer <tra...@tr...> wrote: > > > > > can anyone help me and tell me how to setup shortcut keys with glade? > > > > In C Locale. > > 1. Execute glade with your *.glade. > > 2. Select widget what you want to add shortcut. > > 3. In "Properties" dialog, click Accelerators("Edit...") button. > > 3.5. Select "Common" tab. - I forgot it. > > > 4. Select Modifies, Key, Signal. > > -- > .:% Masao Mutoh<mu...@hi...> > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > _______________________________________________ > ruby-gnome-users-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome-users-en > -- ~transami |