Re: GtkActionEntry Question



Hi,

When you set an action entry for a GTK stock item, if you leave the 
accelerator field NULL does the default GTK accelerator get used and 
displayed in a menu item, or do you have to explicitly set the 
accelerator. The reason I asked is that all the examples in the tests 
directory explicitly set the accelator but default accelrators are 
defined in  gtkstock.c.

I just changed the behaviour to pull the accelerator from the stock item if
it is not explicitly given. 

Thanks for noticing, Matthias

 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]