NAME

Glib::Ex::ConnectProperties::Element::combobox_active -- combobox active item

SYNOPSIS

Glib::Ex::ConnectProperties->new([$combobox, 'combobox-active#exists'],
                                 [$another,  'something']);

DESCRIPTION

This element class implements ConnectProperties access to the "active" item of a Gtk2::ComboBox. These elements require the Gtk2::Ex::ComboBoxBits helper module.

combobox-active#exists     boolean, read-only
combobox-active#path       Gtk2::TreePath
combobox-active#iter       Gtk2::TreeIter
combobox-active#text       string

For just toplevel rows the plain ComboBox active property is enough. combobox-active#path and combobox-active#iter are good for a combobox with sub-rows.

combobox-active#text is for use with a "simplified text" ComboBox as created by Gtk2::ComboBox->new_text() etc.

SEE ALSO

Glib::Ex::ConnectProperties, Glib::Ex::ConnectProperties::Element::tree_selection, Gtk2::ComboBox

HOME PAGE

http://user42.tuxfamily.org/glib-ex-connectproperties/index.html

LICENSE

Copyright 2010, 2011, 2012 Kevin Ryde

Glib-Ex-ConnectProperties is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

Glib-Ex-ConnectProperties is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Glib-Ex-ConnectProperties. If not, see http://www.gnu.org/licenses/.