PHP-GTK
Monday, April 21, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkComboBox::set_wrap_width
GtkComboBoxEntry Constructornext

Last updated: Sun, 12 May 2013
view this page in English

GtkComboBoxEntry

A text entry box with a prepopulated drop down list of values.

Object Hierarchy

Implemented Interfaces

Description

This widget is similar to a GtkComboBox with the exception that the user is allowed to enter a value that is not present in the choice list. It displays the selected value in a GtkEntry so that user can modify an exisiting value, or enter a new one.

Like, the GtkComboBox, this widget may have an underlying model, or use the convenient new_text constructor. If you use a model, your model must always have a text column that can be set by the set_text_column() function.

You may retrieve the text from the entry via the get_active_text function.

Constructors

-- Create a new GtkComboBoxEntry widget.

-- Convenience constructor to create a GtkComboBoxEntry without creating a model.

GtkComboBoxEntry::new_with_model (model, text_column);

--

Methods

get_text_column()
  Return the column which the GtkEntry uses to display the string choices.
set_text_column()
  Set the model column which the GtkEntry must use to display the string choices.


User Contributed Notes
gtk.gtkcomboboxentry.php
add a note about notes
There are no user contributed notes for this page.


previousGtkComboBox::set_wrap_width
GtkComboBoxEntry Constructornext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:56 2013 CEST