Glade.XML.BuildWidget Method
This function is not intended for people who just use libglade.

Syntax

public Gtk.Widget BuildWidget (WidgetInfo info)

Parameters

info
the Glade.WidgetInfo structure for the widget.

Returns

the newly created widget.

Remarks

This function is not intended for people who just use libglade. Instead it is for people extending it (it is designed to be called in the child build routine defined for the parent widget). It first checks the type of the widget from the class tag, then calls the corresponding widget creation routine. This routine sets up all the settings specific to that type of widget. Then general widget settings are performed on the widget. Then it sets up accelerators for the widget, and extracts any signal information for the widget. Then it checks to see if there are any child widget nodes for this widget, and if so calls the widget's build routine, which will create the children with this function and add them to the widget in the appropriate way. Finally it returns the widget.

Requirements

Namespace: Glade
Assembly: glade-sharp (in glade-sharp.dll)