---
name: "Gtk2::Combo"
section: "3pm"
platform: "linux"
package: "libgtk2-perl-doc"
version: "2:1.24992-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::Combo"
---

# Gtk2::Combo(3pm)

wrapper for GtkCombo

## NAME

Gtk2::Combo - wrapper for GtkCombo

## HIERARCHY

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

## INTERFACES

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

## DEPRECATION WARNING

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.

## METHODS

### widget = Gtk2::Combo-\>new

### $combo-\>set\_case\_sensitive ($val)

- •

  `$val` (boolean)

### $combo-\>disable\_activate

### 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)

## PROPERTIES

- 'allow-empty' (boolean : default true : readable / writable / private)

  Whether an empty value may be entered in this field

- 'case-sensitive' (boolean : default false : readable / writable / private)

  Whether list item matching is case sensitive

- 'enable-arrow-keys' (boolean : default true : readable / writable / private)

  Whether the arrow keys move through the list of items

- 'enable-arrows-always' (boolean : default true : readable / writable / private)

  Obsolete property, ignored

- 'value-in-list' (boolean : default false : readable / writable / private)

  Whether entered values must already be present in the list

## SEE ALSO

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

## COPYRIGHT

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

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