gtkmm  3.14.0
Public Member Functions | Static Public Member Functions | Related Functions | List of all members
Gtk::RecentChooserMenu Class Reference

RecentChooserMenu is a widget suitable for displaying recently used files inside a menu. More...

#include <gtkmm/recentchoosermenu.h>

Inheritance diagram for Gtk::RecentChooserMenu:
Inheritance graph
[legend]

Public Member Functions

virtual ~RecentChooserMenu ()
 
GtkRecentChooserMenu* gobj ()
 Provides access to the underlying C GtkObject. More...
 
const GtkRecentChooserMenu* gobj () const
 Provides access to the underlying C GtkObject. More...
 
 RecentChooserMenu ()
 
 RecentChooserMenu (const Glib::RefPtr< RecentManager >& recent_manager)
 
void set_show_numbers (bool show_numbers=true)
 Sets whether a number should be added to the items of menu. More...
 
bool get_show_numbers () const
 Returns the value set by set_show_numbers(). More...
 
Glib::PropertyProxy< bool > property_show_numbers ()
 Whether the items should be displayed with a number. More...
 
Glib::PropertyProxy_ReadOnly
< bool > 
property_show_numbers () const
 Whether the items should be displayed with a number. More...
 
- Public Member Functions inherited from Gtk::Menu
virtual ~Menu ()
 
GtkMenu* gobj ()
 Provides access to the underlying C GtkObject. More...
 
const GtkMenu* gobj () const
 Provides access to the underlying C GtkObject. More...
 
 Menu ()
 
 Menu (const Glib::RefPtr< Gio::MenuModel >& model)
 Creates a new Menu and populates it with menu items and submenus according to the model. More...
 
void popup (MenuShell& parent_menu_shell, MenuItem& parent_menu_item, const SlotPositionCalc& slot, guint button, guint32 activate_time, const Glib::RefPtr< Gdk::Device >& device=Glib::RefPtr< Gdk::Device >())
 
void popup (const SlotPositionCalc& position_calc_slot, guint button, guint32 activate_time, const Glib::RefPtr< Gdk::Device >& device=Glib::RefPtr< Gdk::Device >())
 Displays a menu and makes it available for selection. More...
 
void popup (guint button, guint32 activate_time, const Glib::RefPtr< Gdk::Device >& device=Glib::RefPtr< Gdk::Device >())
 Displays a menu and makes it available for selection. More...
 
void reposition ()
 Repositions the menu according to its position function. More...
 
void popdown ()
 Removes the menu from the screen. More...
 
MenuItemget_active ()
 Returns the selected menu item from the menu. More...
 
const MenuItemget_active () const
 Returns the selected menu item from the menu. More...
 
void set_active (guint index)
 Selects the specified menu item within the menu. More...
 
void set_accel_group (const Glib::RefPtr< AccelGroup >& accel_group)
 Set the Gtk::AccelGroup which holds global accelerators for the menu. More...
 
void unset_accel_group ()
 
Glib::RefPtr< AccelGroupget_accel_group ()
 Gets the Gtk::AccelGroup which holds global accelerators for the menu. More...
 
Glib::RefPtr< const AccelGroupget_accel_group () const
 Gets the Gtk::AccelGroup which holds global accelerators for the menu. More...
 
void set_accel_path (const Glib::ustring& accel_path)
 Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. More...
 
Glib::ustring get_accel_path () const
 Retrieves the accelerator path set on the menu. More...
 
void detach ()
 Detaches the menu from the widget to which it had been attached. More...