Pike v8.1 release 6

Method GTK2.Style()->attach()


Method attach

GTK2.Style attach(GTK2.Widget window)

Description

Attaches a style to a window; this process allocates the colors and creates the GC's for the style - it specializes it to a particular visual and colormap. The process may involve the creation of a new style if the style has already been attached to a window with a different style and colormap.