Gtk.Widget.EnsureStyle Method
Ensures that widget has a style (widget->style).

Syntax

public void EnsureStyle ()

Remarks

Not a very useful method; most of the time, if you want the style, the widget is realized, and realized widgets are guaranteed to have a style already.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)