GtkItemFactory::get_widget

GtkWidget get_widget(String path);

If the widget corresponding to path is a menu item which opens a submenu, then the submenu is returned. If you are interested in the menu item, use get_item() instead.