summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooserwidgetprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* Convert headers to #pragma onceMatthias Clasen2023-03-311-3/+1
| | | | The conversion was done by guard2one.
* Deprecate GtkFontChooser and implementationsMatthias Clasen2022-10-291-1/+1
| | | | | | | | | | These are being replaced by GtkFontDialog and GtkFontDialogButton This commit only moves the headers for GtkFontChooserWidget and GtkFontChooserDialog to deprecated/, and keeps the implementations in gtk/, since they will eventually be salvaged into a private GtkFontChooserWindow.
* fontchooser: Add a way to set a GtkFilterMatthias Clasen2022-10-291-0/+4
| | | | | We keep this private, since the chooser apis are going away. This will be used in GtkFontDialog.
* gtkfontchooser: Use GtkEventControllerKeyCarlos Garnacho2018-06-211-3/+0
| | | | | | | Use an event controller on GtkFontChooserDialog, a nice side effect is that we can use gtk_event_controller_key_forward() and gtk_search_entry_set_key_capture_widget() instead of passing events around for dialog search.
* font chooser: Add a tweak pageMatthias Clasen2018-01-031-0/+2
| | | | | | | | | | | | | | | | | Add a button the dialog's header bar that lets us switch to a second page where we can customize the selected font. Make the font chooser widget export an action that the dialog can use for the button. This has some advantages: - we can export not just the toggle state, but also enabled - we can reuse the same enabled state to make the select button insensitive when no font is selected To determine whether a font is selected, listen to changes of the list selection. And ensure that the font chooser is in an initial state when mapped, even if we close the dialog from the tweak page.
* fontchooser: Add global keynavMatthias Clasen2017-12-271-0/+30
Starting to type should focus the search entry and start a search.