set_css_name


Description:

[ CCode ( cname = "gtk_widget_class_set_css_name" ) ]
public class void set_css_name (string name)

Sets the name to be used for CSS matching of widgets.

If this function is not called for a given class, the name set on the parent class is used. By default, `GtkWidget` uses the name "widget".

Parameters:

this

class to set the name on

name

name to use




2022 vala-language.org