Glade.XML.HandleWidgetProp Method
Used to set properties on Gtk.Widgets

Syntax

public void HandleWidgetProp (Gtk.Widget widget, string prop_name, string value_name)

Parameters

widget
the property the widget to set the property on.
prop_name
the name of the property.
value_name
the name of the widget used as the value for the property.

Remarks

Some widgets have properties of type Gtk.Widget. These are represented as the widget name in the glade file. When constructing the interface, the widget specified as the value for a property may not exist yet.

Rather than setting the property directly, this function should be used. It will perform the name to Gtk.Widget conversion, and if the widget is yet to be constructed, defer setting the property until the widget is constructed.

Requirements

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