StyleContext.toString_

Converts the style context into a string representation.

The string representation always includes information about the name, state, id, visibility and style classes of the CSS node that is backing context. Depending on the flags, more information may be included.

This function is intended for testing and debugging of the CSS implementation in GTK. There are no guarantees about the format of the returned string, it may change.

More...
class StyleContext
string
toString_

Parameters

flags gtk.types.StyleContextPrintFlags

Flags that determine what to print

Return Value

Type: string

a newly allocated string representing context

Detailed Description

Deprecated: This api will be removed in GTK 5