Re: Runtime menu point generation



Hello !

> Menu point is created, but there is an error
> Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion
> `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
>
> on code
>
> Gtk::MenuItem* openItem = fileOpenAct->create_menu_item ();
>

My error was that I don't set AccelGroup for new generation item.
-- 
Best regards,
Sincerely yours,
Yuriy Rusinov


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