|
Ardour
9.0-pre0-1952-gc5e0b21049
|
#include <recentaction.h>
Public Member Functions | |
| virtual | ~RecentAction () |
| GtkRecentAction * | gobj () |
| Provides access to the underlying C GObject. More... | |
| const GtkRecentAction * | gobj () const |
| Provides access to the underlying C GObject. More... | |
| GtkRecentAction * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More... | |
| bool | get_show_numbers () |
| void | set_show_numbers (bool show_numbers=true) |
| Glib::PropertyProxy< bool > | property_show_numbers () |
| Glib::PropertyProxy_ReadOnly< bool > | property_show_numbers () const |
Public Member Functions inherited from Gtk::Action | |
| virtual | ~Action () |
| GtkAction * | gobj () |
| Provides access to the underlying C GObject. More... | |
| const GtkAction * | gobj () const |
| Provides access to the underlying C GObject. More... | |
| GtkAction * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More... | |
| Glib::ustring | get_name () const |
| bool | is_sensitive () const |
| bool | get_sensitive () const |
| void | set_sensitive (bool sensitive=true) |
| bool | is_visible () const |
| bool | get_visible () const |
| void | set_visible (bool visible=true) |
| void | activate () |
| Image * | create_icon (IconSize icon_size) |
| MenuItem * | create_menu_item () |
| ToolItem * | create_tool_item () |
| Menu * | create_menu () |
| void | connect_proxy (Widget &proxy) |
| void | disconnect_proxy (Widget &proxy) |
| Glib::SListHandle< Widget * > | get_proxies () |
| Glib::SListHandle< const Widget * > | get_proxies () const |
| void | connect_accelerator () |
| void | disconnect_accelerator () |
| Glib::ustring | get_accel_path () const |
| Glib::SignalProxy0< void > | signal_activate () |
| void | set_accel_path (const Glib::ustring &accel_path) |
| void | set_accel_group (const Glib::RefPtr< AccelGroup > &accel_group) |
| void | set_label (const Glib::ustring &label) |
| Glib::ustring | get_label () const |
| void | set_short_label (const Glib::ustring &short_label) |
| Glib::ustring | get_short_label () const |
| void | set_tooltip (const Glib::ustring &tooltip) |
| Glib::ustring | get_tooltip () const |
| void | set_stock_id (const StockID &stock_id) |
| StockID | get_stock_id () const |
| void | set_gicon (const Glib::RefPtr< Gio::Icon > &icon) |
| Glib::RefPtr< Gio::Icon > | get_gicon () |
| Glib::RefPtr< const Gio::Icon > | get_gicon () const |
| void | set_icon_name (const Glib::ustring &icon_name) |
| Glib::ustring | get_icon_name () const |
| void | set_visible_horizontal (bool visible_horizontal=true) |
| bool | get_visible_horizontal () const |
| void | set_visible_vertical (bool visible_vertical=true) |
| bool | get_visible_vertical () const |
| void | set_is_important (bool is_important=true) |
| bool | get_is_important () const |
| void | set_always_show_image (bool always_show=true) |
| bool | get_always_show_image () const |
| void | block_activate () |
| void | unblock_activate () |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_name () const |
| Glib::PropertyProxy< Glib::ustring > | property_label () |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_label () const |
| Glib::PropertyProxy< Glib::ustring > | property_short_label () |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_short_label () const |
| Glib::PropertyProxy< Glib::ustring > | property_tooltip () |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_tooltip () const |
| Glib::PropertyProxy< StockID > | property_stock_id () |
| Glib::PropertyProxy_ReadOnly< StockID > | property_stock_id () const |
| Glib::PropertyProxy< Glib::RefPtr< Gio::Icon > > | property_gicon () |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gio::Icon > > | property_gicon () const |
| Glib::PropertyProxy< Glib::ustring > | property_icon_name () |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_icon_name () const |
| Glib::PropertyProxy< bool > | property_visible_horizontal () |
| Glib::PropertyProxy_ReadOnly< bool > | property_visible_horizontal () const |
| Glib::PropertyProxy< bool > | property_visible_vertical () |
| Glib::PropertyProxy_ReadOnly< bool > | property_visible_vertical () const |
| Glib::PropertyProxy< bool > | property_visible_overflown () |
| Glib::PropertyProxy_ReadOnly< bool > | property_visible_overflown () const |
| Glib::PropertyProxy< bool > | property_is_important () |
| Glib::PropertyProxy_ReadOnly< bool > | property_is_important () const |
| Glib::PropertyProxy< bool > | property_hide_if_empty () |
| Glib::PropertyProxy_ReadOnly< bool > | property_hide_if_empty () const |
| Glib::PropertyProxy< bool > | property_sensitive () |
| Glib::PropertyProxy_ReadOnly< bool > | property_sensitive () const |
| Glib::PropertyProxy< bool > | property_visible () |
| Glib::PropertyProxy_ReadOnly< bool > | property_visible () const |
| Glib::PropertyProxy< Glib::RefPtr< ActionGroup > > | property_action_group () |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< ActionGroup > > | property_action_group () const |
| Glib::PropertyProxy< bool > | property_always_show_image () |
| Glib::PropertyProxy_ReadOnly< bool > | property_always_show_image () const |
Public Member Functions inherited from Gtk::RecentChooser | |
| virtual | ~RecentChooser () |
| GtkRecentChooser * | gobj () |
| Provides access to the underlying C GObject. More... | |
| const GtkRecentChooser * | gobj () const |
| Provides access to the underlying C GObject. More... | |
| void | set_show_private (bool show_private=true) |
| bool | get_show_private () const |
| void | set_show_not_found (bool show_not_found=true) |
| bool | get_show_not_found () const |
| void | set_select_multiple (bool select_multiple=true) |
| bool | get_select_multiple () const |
| void | set_limit (int limit) |
| void | unset_limit () |
| int | get_limit () const |
| void | set_local_only (bool local_only=true) |
| bool | get_local_only () const |
| void | set_show_tips (bool show_tips=true) |
| bool | get_show_tips () const |
| void | set_show_icons (bool show_icons=true) |
| bool | get_show_icons () const |
| void | set_sort_type (RecentSortType sort_type) |
| RecentSortType | get_sort_type () const |
| void | set_sort_func (const SlotCompare &slot) |
| bool | set_current_uri (const Glib::ustring &uri) |
| Glib::ustring | get_current_uri () const |
| Glib::RefPtr< RecentInfo > | get_current_item () |
| Glib::RefPtr< const RecentInfo > | get_current_item () const |
| bool | select_uri (const Glib::ustring &uri) |
| void | unselect_uri (const Glib::ustring &uri) |
| void | select_all () |
| void | unselect_all () |
| ListHandle_RecentInfos | get_items () const |
| Glib::StringArrayHandle | get_uris () const |
| void | add_filter (const RecentFilter &filter) |
| void | remove_filter (const RecentFilter &filter) |
| Glib::SListHandle< RecentFilter * > | list_filters () |
| Glib::SListHandle< const RecentFilter * > | list_filters () const |
| void | set_filter (const RecentFilter &filter) |
| RecentFilter * | get_filter () |
| const RecentFilter * | get_filter () const |
| Glib::SignalProxy0< void > | signal_selection_changed () |
| Glib::SignalProxy0< void > | signal_item_activated () |
| Glib::PropertyProxy< bool > | property_show_private () |
| Glib::PropertyProxy_ReadOnly< bool > | property_show_private () const |
| Glib::PropertyProxy< bool > | property_show_tips () |
| Glib::PropertyProxy_ReadOnly< bool > | property_show_tips () const |
| Glib::PropertyProxy< bool > | property_show_icons () |
| Glib::PropertyProxy_ReadOnly< bool > | property_show_icons () const |
| Glib::PropertyProxy< bool > | property_show_not_found () |
| Glib::PropertyProxy_ReadOnly< bool > | property_show_not_found () const |
| Glib::PropertyProxy< bool > | property_select_multiple () |
| Glib::PropertyProxy_ReadOnly< bool > | property_select_multiple () const |
| Glib::PropertyProxy< bool > | property_local_only () |
| Glib::PropertyProxy_ReadOnly< bool > | property_local_only () const |
| Glib::PropertyProxy< int > | property_limit () |
| Glib::PropertyProxy_ReadOnly< int > | property_limit () const |
| Glib::PropertyProxy< RecentSortType > | property_sort_type () |
| Glib::PropertyProxy_ReadOnly< RecentSortType > | property_sort_type () const |
| Glib::PropertyProxy< RecentFilter * > | property_filter () |
| Glib::PropertyProxy_ReadOnly< RecentFilter * > | property_filter () const |
Static Public Member Functions | |
| static GType | get_type () G_GNUC_CONST |
| static Glib::RefPtr< RecentAction > | create () |
| static Glib::RefPtr< RecentAction > | create (const Glib::ustring &name, const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring()) |
| static Glib::RefPtr< RecentAction > | create (const Glib::ustring &name, const Gtk::StockID &stock_id, const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring()) |
| static Glib::RefPtr< RecentAction > | create (const Glib::ustring &name, const Gtk::StockID &stock_id, const Glib::ustring &label, const Glib::ustring &tooltip, const Glib::RefPtr< RecentManager > &recent_manager) |
Static Public Member Functions inherited from Gtk::Action | |
| static GType | get_type () G_GNUC_CONST |
| static Glib::RefPtr< Action > | create () |
| static Glib::RefPtr< Action > | create (const Glib::ustring &name, const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring()) |
| static Glib::RefPtr< Action > | create (const Glib::ustring &name, const Gtk::StockID &stock_id, const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring()) |
| static Glib::RefPtr< Action > | create_with_icon_name (const Glib::ustring &name, const Glib::ustring &icon_name, const Glib::ustring &label, const Glib::ustring &tooltip) |
Static Public Member Functions inherited from Gtk::RecentChooser | |
| static void | add_interface (GType gtype_implementer) |
| static GType | get_type () G_GNUC_CONST |
Protected Member Functions | |
| RecentAction () | |
| RecentAction (const Glib::ustring &name, const StockID &stock_id=StockID(), const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring()) | |
| RecentAction (const Glib::ustring &name, const StockID &stock_id, const Glib::ustring &label, const Glib::ustring &tooltip, const Glib::RefPtr< RecentManager > &recent_manager) | |
Protected Member Functions inherited from Gtk::Action | |
| Action () | |
| Action (const Glib::ustring &name, const StockID &stock_id=StockID(), const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring()) | |
| Action (const Glib::ustring &name, const Glib::ustring &icon_name, const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring()) | |
| void | block_activate_from (Widget &proxy) |
| void | unblock_activate_from (Widget &proxy) |
| virtual Widget * | create_menu_item_vfunc () |
| virtual Widget * | create_tool_item_vfunc () |
| virtual void | connect_proxy_vfunc (Widget *proxy) |
| virtual void | disconnect_proxy_vfunc (Widget *proxy) |
| virtual void | on_activate () |
| This is a default handler for the signal signal_activate(). More... | |
Protected Member Functions inherited from Gtk::RecentChooser | |
| RecentChooser () | |
| virtual Glib::ustring | get_current_uri_vfunc () const |
| virtual void | unselect_uri_vfunc (const Glib::ustring &uri) |
| virtual void | select_all_vfunc () |
| virtual void | unselect_all_vfunc () |
| virtual Glib::RefPtr< RecentManager > | get_recent_manager_vfunc () |
| virtual void | add_filter_vfunc (const RecentFilter &filter) |
| virtual void | remove_filter_vfunc (const RecentFilter &filter) |
Related Functions | |
(Note that these are not member functions.) | |
| Glib::RefPtr< Gtk::RecentAction > | wrap (GtkRecentAction *object, bool take_copy=false) |
Related Functions inherited from Gtk::Action | |
| Glib::RefPtr< Gtk::Action > | wrap (GtkAction *object, bool take_copy=false) |
Related Functions inherited from Gtk::RecentChooser | |
| Glib::RefPtr< Gtk::RecentChooser > | wrap (GtkRecentChooser *object, bool take_copy=false) |
Additional Inherited Members | |
Public Types inherited from Gtk::Action | |
| typedef sigc::slot< void > | SlotActivate |
| For instance, void on_activate();. More... | |
Public Types inherited from Gtk::RecentChooser | |
| typedef sigc::slot< int, const Glib::RefPtr< RecentInfo > &, const Glib::RefPtr< RecentInfo > & > | SlotCompare |
| typedef Glib::ListHandle< RecentInfo, RecentInfoTraits > | ListHandle_RecentInfos |
An action of which represents a list of recently used files.
A Gtk::RecentAction represents a list of recently used files, which can be shown by widgets such as Gtk::RecentChooserDialog or Gtk::RecentChooserMenu. To construct a submenu showing recently used files, use a Gtk::RecentAction as the action for a menuitem. To construct a menu toolbutton showing the recently used files in the popup menu, use a Gtk::RecentAction as the action for a toolitem element.
See also the methods in the RecentChooser base class.
Definition at line 64 of file recentaction.h.
|
virtual |
|
protected |
|
explicitprotected |
|
explicitprotected |
|
static |
|
static |
|
static |
|
static |
| bool Gtk::RecentAction::get_show_numbers | ( | ) |
Returns the value set by Gtk::RecentChooserMenu::set_show_numbers().
true if numbers should be shown.
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C GObject.
Definition at line 105 of file recentaction.h.
|
inline |
Provides access to the underlying C GObject.
Definition at line 108 of file recentaction.h.
| GtkRecentAction* Gtk::RecentAction::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| Glib::PropertyProxy< bool > Gtk::RecentAction::property_show_numbers | ( | ) |
Whether the items should be displayed with a number.
| Glib::PropertyProxy_ReadOnly< bool > Gtk::RecentAction::property_show_numbers | ( | ) | const |
Whether the items should be displayed with a number.
| void Gtk::RecentAction::set_show_numbers | ( | bool | show_numbers = true | ) |
Sets whether a number should be added to the items shown by the widgets representing action. The numbers are shown to provide a unique character for a mnemonic to be used inside the menu item's label. Only the first ten items get a number to avoid clashes.
| show_numbers | true if the shown items should be numbered. |
|
related |
A Glib::wrap() method for this object.
| object | The C instance. |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |