SearchablePulldown
Object Hierarchy:
Description:
public class SearchablePulldown : Widget
Simple string-based searchable dropdown widget.
Provides text entry with filtering and popover list for selecting from a list of strings. Similar to Gtk.SuggestionEntry but simpler.
Extracted generic parts from liboccoder/SearchableDropdown.vala.
Content:
Properties:
Creation methods:
Methods:
- public override void dispose ()
- public string get_search_text ()
Get the current entry text.
- public Object? get_selected_object ()
Get the selected object from the list's selection model.
- public string get_text ()
Get the current entry text.
- public override bool grab_focus ()
- public override void measure (Orientation orientation, int for_size, out int minimum, out int natural, out int minimum_baseline, out int natural_baseline)
- protected virtual void on_entry_changed ()
Handle entry text changes.
- protected virtual bool on_key_pressed (uint keyval, uint keycode, ModifierType state)
Handle key press events.
- public void set_popup_visible (bool visible)
Set popover visibility.
- public void set_text (string text)
Set the entry text.
- public override void size_allocate (int width, int height, int baseline)
- protected virtual void update_arrow ()
Update arrow button visibility.
Signals:
Fields:
Inherited Members:
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Gtk.Accessible
- accessible_role
- announce
- get_accessible_parent
- get_accessible_role
- get_at_context
- get_bounds
- get_first_accessible_child
- get_next_accessible_sibling
- get_platform_state
- reset_property
- reset_relation
- reset_state
- set_accessible_parent
- update_next_accessible_sibling
- update_property
- update_property_value
- update_relation
- update_relation_value
- update_state
- update_state_value
All known members inherited from interface Gtk.Buildable
- add_child
- custom_finished
- custom_tag_end
- custom_tag_start
- get_buildable_id
- get_id
- get_internal_child
- parser_finished
- set_buildable_property
- set_id