Adding stuff to Gtk::RecentAction submenu



Hello,

	I'm trying to make a "Recent Files" submenu with recently opened files, a separator and a Clear action, which will purge the current list. I wonder how to add my own action to Gtk::RecentAction submenu and if it's possible at all? I don't really understand how this submenu works, since I add it to Gtk::UIManager just like it was an ordinary action (with <menuitem action=' '/>) instead of a submenu (with <menu action=' '></menu>), so I can't edit its content through ui_info supplied to Gtk::UIManager.

Regards,
phan


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