Libxfce4ui.FilenameInput¶
- Subclasses:
- None 
Methods¶
- Inherited:
- Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2) 
- Structs:
- Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5) 
| class | 
 | 
| class | 
 | 
| 
 | |
| 
 | |
| 
 | 
Virtual Methods¶
Properties¶
- Inherited:
- Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1) 
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| w/co | Maximum permitted length of a filename | ||
| w/co | The original filename | 
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
| Name | Short Description | 
|---|---|
| Signals that the current text is not a valid filename. | |
| Signals that the current text is a valid filename. | 
Fields¶
- Inherited:
Class Details¶
- class Libxfce4ui.FilenameInput(*args, **kwargs)¶
- Bases:
- Abstract:
- No 
- Structure:
 - An opaque structure with only private fields. - classmethod desensitise_widget(widget)¶
- Parameters:
- widget ( - Gtk.Widget) – a- Gtk.Widget
 - A convenience function to be connected as a callback for the “text-invalid” signal (for example, using g_connect_swapped) for the simple case where the desired effect of this signal is to set the sensitivity of a single - Gtk.Widget(for example, a- Gtk.Button).- New in version 4.16. 
 - classmethod sensitise_widget(widget)¶
- Parameters:
- widget ( - Gtk.Widget) – a- Gtk.Widget
 - A convenience function to be connected as a callback for the “text-valid” signal (for example, using g_connect_swapped) for the simple case where the desired effect of this signal is to set the sensitivity of a single - Gtk.Widget(for example, a- Gtk.Button).- New in version 4.16. 
 - check()¶
- Forces a check of the current input text even when it has not changed. This is useful to force the appropriate signal to be sent to indicate whether the text is a valid filename or not, so that for example any GtkWidgets whose sensitivity is controlled by this can be correctly updated when they are first created. - New in version 4.16. 
 
Signal Details¶
- Libxfce4ui.FilenameInput.signals.text_invalid(filename_input)¶
- Signal Name:
- text-invalid
- Flags:
- Parameters:
- filename_input ( - Libxfce4ui.FilenameInput) – The object which received the signal
 - Signals that the current text is not a valid filename. This signal is emitted whenever the user changes the text and the result is not a valid filename. - New in version 4.16. 
- Libxfce4ui.FilenameInput.signals.text_valid(filename_input)¶
- Signal Name:
- text-valid
- Flags:
- Parameters:
- filename_input ( - Libxfce4ui.FilenameInput) – The object which received the signal
 - Signals that the current text is a valid filename. This signal is emitted whenever the user changes the text and the result is a valid filename. - New in version 4.16. 
Property Details¶
- Libxfce4ui.FilenameInput.props.max_text_length¶
- Name:
- max-text-length
- Type:
- Default Value:
- -1
- Flags:
 - The maximum permitted length of a filename. A value of -1 indicates no maximum length. - New in version 4.16.