Method

GtkBuildablecustom_tag_start

Declaration [src]

gboolean
gtk_buildable_custom_tag_start (
  GtkBuildable* buildable,
  GtkBuilder* builder,
  GObject* child,
  const gchar* tagname,
  GMarkupParser* parser,
  gpointer* data
)

Description [src]

This is called for each unknown element under <child>.

Available since:2.12

Parameters

builder GtkBuilder
 

A GtkBuilder used to construct this object.

 The data is owned by the caller of the function.
child GObject
 

Child object or NULL for non-child tags.

 The argument can be NULL.
 The data is owned by the caller of the function.
tagname const gchar*
 

Name of tag.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
parser GMarkupParser
 

A GMarkupParser to fill in.

 The argument will be set by the function.
 The data is owned by the caller of the function.
data gpointer*
 

Return location for user data that will be passed in to parser functions.

 The argument will be set by the function.
 The argument can be set to NULL.
 The instance takes ownership of the data, and is responsible for freeing it.

Return value

Returns: gboolean
 

TRUE if a object has a custom implementation, FALSE if it doesn’t.