Searched refs:class_quark (Results 1 – 7 of 7) sorted by relevance
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkcssnodedeclaration.c | 29 GQuark class_quark; member 274 if (class_quark == item) in find_class() 280 else if (class_quark > item) in find_class() 309 get_classes(*decl)[pos] = class_quark; in gtk_css_node_declaration_add_class() 357 if (classes[2] == class_quark) in gtk_css_node_declaration_has_class() 361 if (classes[1] == class_quark) in gtk_css_node_declaration_has_class() 365 if (classes[0] == class_quark) in gtk_css_node_declaration_has_class() 410 item = regions[mid].class_quark; in find_region() 451 regions[pos].class_quark = region_quark; in gtk_css_node_declaration_add_region() 552 hash += regions[i].class_quark; in gtk_css_node_declaration_hash() [all …]
|
H A D | gtkcssnodedeclarationprivate.h | 48 … GQuark class_quark); 50 … GQuark class_quark); 53 … GQuark class_quark);
|
H A D | gtkstylecontext.c | 1346 GQuark class_quark; in gtk_style_context_add_class() local 1351 class_quark = g_quark_from_string (class_name); in gtk_style_context_add_class() 1353 gtk_css_node_add_class (context->priv->cssnode, class_quark); in gtk_style_context_add_class() 1369 GQuark class_quark; in gtk_style_context_remove_class() local 1374 class_quark = g_quark_try_string (class_name); in gtk_style_context_remove_class() 1375 if (!class_quark) in gtk_style_context_remove_class() 1378 gtk_css_node_remove_class (context->priv->cssnode, class_quark); in gtk_style_context_remove_class() 1397 GQuark class_quark; in gtk_style_context_has_class() local 1402 class_quark = g_quark_try_string (class_name); in gtk_style_context_has_class() 1403 if (!class_quark) in gtk_style_context_has_class() [all …]
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/ |
H A D | gtkcssnodedeclaration.c | 182 GQuark class_quark, in find_class() argument 204 if (class_quark == item) in find_class() 210 else if (class_quark > item) in find_class() 227 GQuark class_quark) in gtk_css_node_declaration_add_class() argument 231 if (find_class (*decl, class_quark, &pos)) in gtk_css_node_declaration_add_class() 239 (*decl)->classes[pos] = class_quark; in gtk_css_node_declaration_add_class() 250 if (!find_class (*decl, class_quark, &pos)) in gtk_css_node_declaration_remove_class() 286 if (decl->classes[2] == class_quark) in gtk_css_node_declaration_has_class() 291 if (decl->classes[1] == class_quark) in gtk_css_node_declaration_has_class() 296 if (decl->classes[0] == class_quark) in gtk_css_node_declaration_has_class() [all …]
|
H A D | gtkcssnodedeclarationprivate.h | 42 … GQuark class_quark); 44 … GQuark class_quark); 47 … GQuark class_quark);
|
H A D | gtkstylecontext.c | 665 GQuark class_quark; in gtk_style_context_add_class() local 670 class_quark = g_quark_from_string (class_name); in gtk_style_context_add_class() 672 gtk_css_node_add_class (priv->cssnode, class_quark); in gtk_style_context_add_class() 687 GQuark class_quark; in gtk_style_context_remove_class() local 692 class_quark = g_quark_try_string (class_name); in gtk_style_context_remove_class() 693 if (!class_quark) in gtk_style_context_remove_class() 696 gtk_css_node_remove_class (priv->cssnode, class_quark); in gtk_style_context_remove_class() 714 GQuark class_quark; in gtk_style_context_has_class() local 719 class_quark = g_quark_try_string (class_name); in gtk_style_context_has_class() 720 if (!class_quark) in gtk_style_context_has_class() [all …]
|
H A D | gtkwidget.c | 12726 GQuark class_quark; in gtk_widget_remove_css_class() local 12733 class_quark = g_quark_try_string (css_class); in gtk_widget_remove_css_class() 12734 if (!class_quark) in gtk_widget_remove_css_class() 12737 gtk_css_node_remove_class (priv->cssnode, class_quark); in gtk_widget_remove_css_class() 12757 GQuark class_quark; in gtk_widget_has_css_class() local 12764 class_quark = g_quark_try_string (css_class); in gtk_widget_has_css_class() 12765 if (!class_quark) in gtk_widget_has_css_class() 12768 return gtk_css_node_has_class (priv->cssnode, class_quark); in gtk_widget_has_css_class()
|