mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
aboutdialog: Set a style class
Add the .aboutdialog style class to toplevel widget of about dialogs, similar to what we do for e.g. GtkAssistant.
This commit is contained in:
parent
96baf9769a
commit
1d40750a60
@ -101,6 +101,12 @@
|
||||
* "title", _("About ExampleCode"),
|
||||
* NULL);
|
||||
* ]|
|
||||
*
|
||||
* # CSS nodes
|
||||
*
|
||||
* GtkAboutDialog has a single CSS node with the name window and style
|
||||
* class .aboutdialog.
|
||||
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
|
@ -2,6 +2,9 @@
|
||||
<interface domain="gtk40">
|
||||
<template class="GtkAboutDialog" parent="GtkWindow">
|
||||
<property name="resizable">0</property>
|
||||
<style>
|
||||
<class name="aboutdialog"/>
|
||||
</style>
|
||||
<child type="titlebar">
|
||||
<object class="GtkHeaderBar" id="headerbar1">
|
||||
<child type="title">
|
||||
|
Loading…
Reference in New Issue
Block a user