1Gtk2::FileChooserButtonU(s3e)r Contributed Perl DocumentaGttiko2n::FileChooserButton(3)
2
3
4

NAME

6       Gtk2::FileChooserButton
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Box
15                                  +----Gtk2::HBox
16                                       +----Gtk2::FileChooserButton
17

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20         Gtk2::Buildable
21         Glib::Object::_Unregistered::GtkOrientable
22         Gtk2::FileChooser
23

METHODS

25   widget = Gtk2::FileChooserButton->new ($title, $action)
26           ·   $title (string)
27
28           ·   $action (Gtk2::FileChooserAction)
29
30   widget = Gtk2::FileChooserButton->new_with_backend ($title, $action,
31       $backend)
32           ·   $title (string)
33
34           ·   $action (Gtk2::FileChooserAction)
35
36           ·   $backend (string)
37
38   widget = Gtk2::FileChooserButton->new_with_dialog ($dialog)
39           ·   $dialog (Gtk2::Widget)
40
41   boolean = $button->get_focus_on_click
42           Since: gtk+ 2.10
43
44   $button->set_focus_on_click ($focus_on_click)
45           ·   $focus_on_click (boolean)
46
47           Since: gtk+ 2.10
48
49   string = $button->get_title
50   $button->set_title ($title)
51           ·   $title (string)
52
53   integer = $button->get_width_chars
54   $button->set_width_chars ($n_chars)
55           ·   $n_chars (integer)
56

PROPERTIES

58       'dialog' (Gtk2::FileChooser : writable / construct-only / private)
59           The file chooser dialog to use.
60
61       'focus-on-click' (boolean : readable / writable / private)
62           Whether the button grabs focus when it is clicked with the mouse
63
64       'title' (string : readable / writable / private)
65           The title of the file chooser dialog.
66
67       'width-chars' (integer : readable / writable / private)
68           The desired width of the button widget, in characters.
69

SIGNALS

71       file-set (Gtk2::FileChooserButton)
72

ENUMS AND FLAGS

74   enum Gtk2::FileChooserAction
75       ·   'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN'
76
77       ·   'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE'
78
79       ·   'select-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'
80
81       ·   'create-folder' / 'GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER'
82

SEE ALSO

84       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
85       Gtk2::Container, Gtk2::Box, Gtk2::HBox
86
88       Copyright (C) 2003-2008 by the gtk2-perl team.
89
90       This software is licensed under the LGPL.  See Gtk2 for a full notice.
91
92
93
94perl v5.12.0                      2010-05-02        Gtk2::FileChooserButton(3)
Impressum