Lines Matching refs:paint_state
29 int paint_state;
84 priv->paint_state = -1;
94 int paint_state = priv->paint_state < 0 ?
95 GTK_WIDGET_STATE(widget) : priv->paint_state;
101 if (paint_state == GTK_STATE_PRELIGHT || paint_state == GTK_STATE_ACTIVE) {
104 GTK_BUTTON(widget)->depressed = (paint_state == GTK_STATE_ACTIVE);
109 double effective_hover_state = paint_state == GTK_STATE_PRELIGHT ?
111 // |paint_state| overrides |hover_state|.
112 if (priv->hover_state >= 0.0 && priv->paint_state < 0)
115 if (paint_state == GTK_STATE_ACTIVE) {
142 priv->paint_state = state;
151 priv->paint_state = -1;