Gtk2::Combo(3) User Contributed Perl Documentation Gtk2::Combo(3)

Gtk2::Combo - wrapper for GtkCombo

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::Box
                         +----Gtk2::HBox
                              +----Gtk2::Combo

Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Orientable

Gtk2::Combo has been marked as deprecated, and should not be used in newly written code.

You should use Gtk2::ComboBox instead of Gtk2::Combo.

$combo->set_case_sensitive ($val)

$val (boolean)

widget = $combo->entry

$combo->set_item_string ($item, $item_value)

  • $item (Gtk2::Item)
  • $item_value (string)

widget = $combo->list

$combo->set_popdown_strings (...)

... (list) of strings

$combo->set_use_arrows_always ($val)

$val (boolean)

$combo->set_use_arrows ($val)

$val (boolean)

$combo->set_value_in_list ($val, $ok_if_empty)

  • $val (boolean)
  • $ok_if_empty (boolean)

'allow-empty' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether an empty value may be entered in this field
'case-sensitive' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether list item matching is case sensitive
'enable-arrow-keys' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether the arrow keys move through the list of items
'enable-arrows-always' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Obsolete property, ignored
'value-in-list' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether entered values must already be present in the list

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::HBox

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2023-07-25 perl v5.38.0