prop_text_buffer_new


Description:

[ CCode ( cname = "gimp_prop_text_buffer_new" ) ]
[ Version ( since = "2.4" ) ]
public TextBuffer prop_text_buffer_new (Object config, string property_name, int max_len)

Creates a TextBuffer to set and display the value of the specified string property.

Unless the string is expected to contain multiple lines or a large amount of text, use prop_entry_new instead. See TextView for information on how to insert a text buffer into a visible widget.

If max_len is 0 or negative, the text buffer allows an unlimited number of characters to be entered.

Parameters:

config

Object to which property is attached.

property_name

Name of string property.

max_len

Maximum allowed length of text (in characters).

Returns:

A new TextBuffer.


Namespace: GimpUi
Package: gimp-ui-3.0