PHP-GTK
Thursday, December 18, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkComboBox::set_model
GtkComboBox::set_row_span_columnnext

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

GtkComboBox::set_row_separator_func

func : a function or null

data : user data to pass to func

The set_row_separator_func() method sets the row separator function to func, which is used to determine if a row should be drawn as a separator. If func is null, no separators are drawn. This is the default value.

The signature of func is:

def func(model, iter, user_data):

where model is the GtkTreeModel used by the combo box, iter is a GtkTreeIter pointing at a row in model and user_data is data. func returns true if the row is a separator. A common way to implement func is to have a boolean column in model, that indicates if the row is a separator.

See also: get_row_separator_func


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


previousGtkComboBox::set_model
GtkComboBox::set_row_span_columnnext

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