GTKD - get CSS class for button

TheDGuy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 22 05:57:51 PDT 2016


> widget.getStyleContext().listClasses() to get a list of all 
> classes assigned to the widget. If you just want to see if a 
> specific class is assigned to the widget you can use 
> widget.getStyleContext().hasClass()

Thanks a lot for your answer. Do you know how i can get the first 
classname as string from the widget? I don't understand how the 
return type 'GList' is organized.


More information about the Digitalmars-d-learn mailing list