pagesetupunixdialog: Add "pagesetup" style class
authorAlexander Mikhaylenko <alexm@gnome.org>
Wed, 5 Apr 2023 20:11:48 +0000 (00:11 +0400)
committerAlexander Mikhaylenko <alexm@gnome.org>
Wed, 5 Apr 2023 20:58:38 +0000 (00:58 +0400)
gtk/gtkpagesetupunixdialog.c
gtk/ui/gtkpagesetupunixdialog.ui

index a78bbc13d9757df3b5ca3e0d9a2208cf636669f8..799a7328929113c2825e55f4d2e11157bb1fc9ae 100644 (file)
  * It can be used very much like any other GTK dialog, at the
  * cost of the portability offered by the high-level printing
  * API in [class@Gtk.PrintOperation].
+ *
+ * ## CSS nodes
+ *
+ * `GtkPageSetupUnixDialog` has a single CSS node with the name `window` and
+ * style class `.pagesetup`.
  */
 
 typedef struct _GtkPageSetupUnixDialogClass    GtkPageSetupUnixDialogClass;
index ded0b2a826ac3e33165661b891bc46dd9acc66bd..21315e0d05ed29add51893f3547dba8427d30dc4 100644 (file)
@@ -3,6 +3,9 @@
   <template class="GtkPageSetupUnixDialog" parent="GtkDialog">
     <property name="resizable">0</property>
     <property name="title" translatable="yes">Page Setup</property>
+    <style>
+      <class name="pagesetup"/>
+    </style>
     <child internal-child="content_area">
       <object class="GtkBox" id="dialog-vbox1">
         <property name="orientation">1</property>