mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Deprecate GtkWidget override APIs
This is better done with css and style classes nowadays.
This commit is contained in:
parent
61b636b8a4
commit
63efdca223
@ -9644,6 +9644,8 @@ _gtk_widget_get_modifier_properties (GtkWidget *widget)
|
||||
* priority.
|
||||
*
|
||||
* Since: 3.0
|
||||
*
|
||||
* Deprecated:3.16: Use a custom style provider and style classes instead
|
||||
*/
|
||||
void
|
||||
gtk_widget_override_color (GtkWidget *widget,
|
||||
@ -9671,6 +9673,8 @@ gtk_widget_override_color (GtkWidget *widget,
|
||||
* See gtk_widget_override_color().
|
||||
*
|
||||
* Since: 3.0
|
||||
*
|
||||
* Deprecated:3.16: Use a custom style provider and style classes instead
|
||||
*/
|
||||
void
|
||||
gtk_widget_override_background_color (GtkWidget *widget,
|
||||
@ -9695,6 +9699,8 @@ gtk_widget_override_background_color (GtkWidget *widget,
|
||||
* left untouched. See gtk_widget_override_color().
|
||||
*
|
||||
* Since: 3.0
|
||||
*
|
||||
* Deprecated:3.16: Use a custom style provider and style classes instead
|
||||
*/
|
||||
void
|
||||
gtk_widget_override_font (GtkWidget *widget,
|
||||
@ -9723,6 +9729,8 @@ gtk_widget_override_font (GtkWidget *widget,
|
||||
* or background color.
|
||||
*
|
||||
* Since: 3.0
|
||||
*
|
||||
* Deprecated:3.16: Use a custom style provider and style classes instead
|
||||
*/
|
||||
void
|
||||
gtk_widget_override_symbolic_color (GtkWidget *widget,
|
||||
@ -9756,6 +9764,8 @@ gtk_widget_override_symbolic_color (GtkWidget *widget,
|
||||
* so the alpha value in @primary and @secondary will be ignored.
|
||||
*
|
||||
* Since: 3.0
|
||||
*
|
||||
* Deprecated:3.16: Use a custom style provider and style classes instead
|
||||
*/
|
||||
void
|
||||
gtk_widget_override_cursor (GtkWidget *widget,
|
||||
|
@ -1149,24 +1149,24 @@ GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_widget_hide_on_delete (GtkWidget *widget);
|
||||
|
||||
/* Functions to override widget styling */
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GDK_DEPRECATED_IN_3_16
|
||||
void gtk_widget_override_color (GtkWidget *widget,
|
||||
GtkStateFlags state,
|
||||
const GdkRGBA *color);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GDK_DEPRECATED_IN_3_16
|
||||
void gtk_widget_override_background_color (GtkWidget *widget,
|
||||
GtkStateFlags state,
|
||||
const GdkRGBA *color);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GDK_DEPRECATED_IN_3_16
|
||||
void gtk_widget_override_font (GtkWidget *widget,
|
||||
const PangoFontDescription *font_desc);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GDK_DEPRECATED_IN_3_16
|
||||
void gtk_widget_override_symbolic_color (GtkWidget *widget,
|
||||
const gchar *name,
|
||||
const GdkRGBA *color);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GDK_DEPRECATED_IN_3_16
|
||||
void gtk_widget_override_cursor (GtkWidget *widget,
|
||||
const GdkRGBA *cursor,
|
||||
const GdkRGBA *secondary_cursor);
|
||||
|
Loading…
Reference in New Issue
Block a user