Dropdown
Object Hierarchy:
Description:
public sealed class Dropdown : Grid
A He.Dropdown is a simple variant of Gtk.DropDown for easy developing.
Content:
Properties:
- public string? active_id { get; set; }
The value of the ID column of the active row.
- public DropDown dropdown { get; set; }
A Gtk.DropDown which this uses internally.
- public EllipsizeMode ellipsize { get; set; }
The preferred place to ellipsize the string, if the label does not
have enough room to display the entire string.
- public int max_width_chars { get; set; }
The desired maximum width of the label, in characters.
Creation methods:
Methods:
- public void append (string text)
Appends text to the list of strings stored in this.
- public string? get_active ()
Returns the currently active string in this.
- public void insert (int position, string text)
Inserts text at position in the list of strings stored in this.
- public void prepend (string text)
Prepends text to the list of strings stored in this.
- public void remove (int position)
Removes the string at position from this.
- public void remove_all ()
Removes all the text entries from the dropdown.
Signals:
Inherited Members:
All known members inherited from class Gtk.Grid
- attach
- attach_next_to
- baseline_row
- column_homogeneous
- column_spacing
- get_baseline_row
- get_child_at
- get_column_homogeneous
- get_column_spacing
- get_row_baseline_position
- get_row_homogeneous
- get_row_spacing
- insert_column
- insert_next_to
- insert_row
- query_child
- remove
- remove_column
- remove_row
- row_homogeneous
- row_spacing
- set_baseline_row
- set_column_homogeneous
- set_column_spacing
- set_row_baseline_position
- set_row_homogeneous
- set_row_spacing
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
All known members inherited from interface Gtk.Orientable