1Gtk2::FileChooserButtonU(s3e)r Contributed Perl DocumentaGttiko2n::FileChooserButton(3)
2
3
4
6 Gtk2::FileChooserButton
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::FileChooser
21
23 widget = Gtk2::FileChooserButton->new ($title, $action)
24
25 * $title (string)
26 * $action (Gtk2::FileChooserAction)
27
28 widget = Gtk2::FileChooserButton->new_with_backend ($title, $action,
29 $backend)
30
31 * $title (string)
32 * $action (Gtk2::FileChooserAction)
33 * $backend (string)
34
35 widget = Gtk2::FileChooserButton->new_with_dialog ($dialog)
36
37 * $dialog (Gtk2::Widget)
38
39 boolean = $button->get_focus_on_click
40
41 $button->set_focus_on_click ($focus_on_click)
42
43 * $focus_on_click (boolean)
44
45 string = $button->get_title
46
47 $button->set_title ($title)
48
49 * $title (string)
50
51 integer = $button->get_width_chars
52
53 $button->set_width_chars ($n_chars)
54
55 * $n_chars (integer)
56
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
71 enum Gtk2::FileChooserAction
72
73 * 'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN'
74 * 'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE'
75 * 'select-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'
76 * 'create-folder' / 'GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER'
77
79 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
80 Gtk2::Container, Gtk2::Box, Gtk2::HBox
81
83 Copyright (C) 2003-2007 by the gtk2-perl team.
84
85 This software is licensed under the LGPL. See Gtk2 for a full notice.
86
87
88
89perl v5.8.8 2007-03-18 Gtk2::FileChooserButton(3)