1Gtk2::RecentAction(3) User Contributed Perl DocumentationGtk2::RecentAction(3)
2
3
4

NAME

6       Gtk2::RecentAction - wrapper for GtkRecentAction
7

SYNOPSIS

9         my $action = Gtk2::RecentAction->new (name => name,
10                                               label => label,
11                                               tooltip => tooltip,
12                                               stock-id => stock_id,
13                                               recent-manager => manager);
14
15       Note that the constructor slightly deviates from the convenience
16       constructor in the C API.  Instead of passing in a list of values for
17       name, label, tooltip, stock-id and value, you just use key => value
18       pairs like with Glib::Object::new.
19

HIERARCHY

21         Glib::Object
22         +----Gtk2::Action
23              +----Gtk2::RecentAction
24

INTERFACES

26         Gtk2::Buildable
27         Gtk2::RecentChooser
28

METHODS

30   boolean = $action->get_show_numbers
31   $action->set_show_numbers ($show_numbers)
32       •   $show_numbers (boolean)
33

PROPERTIES

35       'show-numbers' (boolean : default false : readable / writable)
36           Whether the items should be displayed with a number
37

SEE ALSO

39       Gtk2, Glib::Object, Gtk2::Action
40
42       Copyright (C) 2003-2011 by the gtk2-perl team.
43
44       This software is licensed under the LGPL.  See Gtk2 for a full notice.
45
46
47
48perl v5.38.0                      2023-07-20             Gtk2::RecentAction(3)
Impressum