colorchooserdialog: Add "colorchooser" style class

This commit is contained in:
Alexander Mikhaylenko
2023-04-06 00:10:36 +04:00
parent 80a11b1a1c
commit 1d0f0d4229
2 changed files with 8 additions and 0 deletions

View File

@@ -48,6 +48,11 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
*
* `GtkColorChooserDialog` has been deprecated in favor of [class@Gtk.ColorDialog].
*
* ## CSS nodes
*
* `GtkColorChooserDialog` has a single CSS node with the name `window` and style
* class `.colorchooser`.
*
* Deprecated: 4.10: Use [class@Gtk.ColorDialog] instead
*/

View File

@@ -3,6 +3,9 @@
<template class="GtkColorChooserDialog" parent="GtkDialog">
<property name="title" translatable="yes">Select a Color</property>
<property name="resizable">0</property>
<style>
<class name="colorchooser"/>
</style>
<child internal-child="content_area">
<object class="GtkBox" id="dialog-vbox1">
<property name="orientation">1</property>