1Gtk2::FileChooserButtonU(s3e)r Contributed Perl DocumentaGttiko2n::FileChooserButton(3)
2
3
4
6 Gtk2::FileChooserButton - wrapper for GtkFileChooserButton
7
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
19 Glib::Object::_Unregistered::AtkImplementorIface
20 Gtk2::Buildable
21 Gtk2::Orientable
22 Gtk2::FileChooser
23
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
58 'dialog' (Gtk2::FileChooser : default undef : writable / construct-only
59 / private)
60 The file chooser dialog to use.
61
62 'focus-on-click' (boolean : default true : readable / writable /
63 private)
64 Whether the button grabs focus when it is clicked with the mouse
65
66 'title' (string : default "Select a File" : readable / writable /
67 private)
68 The title of the file chooser dialog.
69
70 'width-chars' (integer : default -1 : readable / writable / private)
71 The desired width of the button widget, in characters.
72
74 file-set (Gtk2::FileChooserButton)
75
77 enum Gtk2::FileChooserAction
78 · 'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN'
79
80 · 'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE'
81
82 · 'select-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'
83
84 · 'create-folder' / 'GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER'
85
87 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
88 Gtk2::Container, Gtk2::Box, Gtk2::HBox
89
91 Copyright (C) 2003-2011 by the gtk2-perl team.
92
93 This software is licensed under the LGPL. See Gtk2 for a full notice.
94
95
96
97perl v5.28.0 2018-07-18 Gtk2::FileChooserButton(3)