FileChooserButton: Document the CSS nodes & class

The only glancing mention of this we had was that GtkButton mentioned it
in passing when discussing how `button` could get contextual classes,
and even that's not relevant in master anymore... so drop it from there.
This commit is contained in:
Daniel Boles 2019-06-20 20:51:37 +01:00
parent 1420408858
commit a03e531772
2 changed files with 6 additions and 2 deletions

View File

@ -46,8 +46,8 @@
* can be made round by adding the .circular style class. * can be made round by adding the .circular style class.
* *
* Button-like widgets like #GtkToggleButton, #GtkMenuButton, #GtkVolumeButton, * Button-like widgets like #GtkToggleButton, #GtkMenuButton, #GtkVolumeButton,
* #GtkLockButton, #GtkColorButton, #GtkFontButton or #GtkFileChooserButton use * #GtkLockButton, #GtkColorButton or #GtkFontButton use style classes such as
* style classes such as .toggle, .popup, .scale, .lock, .color, .file * .toggle, .popup, .scale, .lock, .color on the button node
* to differentiate themselves from a plain GtkButton. * to differentiate themselves from a plain GtkButton.
*/ */

View File

@ -96,6 +96,10 @@
* > gtk_file_chooser_button_set_width_chars(), or pack the button in * > gtk_file_chooser_button_set_width_chars(), or pack the button in
* > such a way that other interface elements give space to the * > such a way that other interface elements give space to the
* > widget. * > widget.
*
* # CSS nodes
*
* GtkFileChooserButton has a single CSS node with the name filechooserbutton.
*/ */