summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooser.h
Commit message (Collapse)AuthorAgeFilesLines
* font chooser: Make the language property writableMatthias Clasen2018-04-021-0/+3
| | | | | | | | This is meant as an input to the font chooser. We don't want the user to select a language, but rather have fonts presented as they would work for the current language. Therefore, do away with the lang/script combo on the tweak page.
* font chooser: Align level value namesMatthias Clasen2018-03-311-6/+6
| | | | | In the backport, I used the plural for variations, and that is a better name, so use it here too.
* font chooser: Make levels flagsMatthias Clasen2018-03-271-9/+13
| | | | | | | | Turn the GtkFontChooserLevel field into flags, and add flags for OpenType variations and features. The motivation for this is to make font-features in the UI opt-in, since applications need to support them by applying the pango attribute.
* The big versioning cleanupMatthias Clasen2018-02-061-19/+19
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* font chooser: Add properties for features and languageMatthias Clasen2018-01-031-0/+4
| | | | | | These can't be returned as part of the font description, so we need new api for them. For now, this is just readonly properties. Maybe these should be writable too, eventually.
* font chooser: introduce font chooser levelsMatthias Clasen2018-01-031-0/+24
| | | | | This is a more systematic approach to reducing the level of detail in the font chooser.
* Pacify gobject-introspectionMatthias Clasen2015-06-201-1/+1
| | | | | gobject-introspection complains about the parameter names of vfuncs. Why, you ask ? No idea.
* Redo font map support in GtkFontChooserMatthias Clasen2015-06-131-1/+6
| | | | | | | | We can't add properties to the interface, since it breaks 3rd party implementations of the GtkFontChooser interface. These exist, for example in gnumeric. So, instead of a new property, add getter/setter vfuncs.
* GtkFontChooser: Allow a custom font mapMatthias Clasen2015-05-071-0/+5
| | | | | | | This lets applications show their own fonts instead of or in addition to system fonts. https://bugzilla.gnome.org/show_bug.cgi?id=748771
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-3/+3
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* fontchooser: silence g-i scanner warningCosimo Cecchi2012-06-251-5/+5
| | | | | | | These parameters should be named the same in the definition and the declaration. https://bugzilla.gnome.org/show_bug.cgi?id=677127
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gtk: Use versioned deprecationsMatthias Clasen2012-02-271-0/+13
| | | | | | | This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions in 3.2 and 3.4.
* Typo fixMatthias Clasen2012-01-301-1/+1
|
* Fix a parameter name mismatchMatthias Clasen2011-09-131-1/+1
|
* Rename gtk_font_chooser_get_{family,face,size}Christian Persch2011-09-131-3/+3
| | | | | ... to gtk_font_chooser_get_font_{family,face,size}, in order to avoid naming conflicts in bindings.
* Add GtkFontChooser:font-desc propertyChristian Persch2011-09-131-0/+6
| | | | Add a way to set/get the font as a PangoFontDescription.
* Remove GtkFontChooser:[sg]et_fontChristian Persch2011-09-131-3/+1
| | | | | Now that the setter doesn't return a value anymore, we can just use g_object_[sg]et instead of having these vfuncs.
* Setters should not return a booleanChristian Persch2011-09-131-2/+2
| | | | | | The setter for the "font" property returned a boolean that indicated whether the given font has been found. Instead, fall back to the default font name when the given font doesn't exist.
* Rename GtkFontChooser:font-name to :fontChristian Persch2011-09-131-4/+4
| | | | | | | GtkFontButton already has a property named "font-name" which may conflict / be an ABI break when moving GtkFontButton to implement GtkFontChooser. Also, this is more in line with how other parts in gtk (e.g. GtkCellRendererText) call a font string property.
* Make GtkFontChooser an interfaceChristian Persch2011-09-131-64/+58
| | | | | | | | Make the GtkFontChooser API similar to the Gtk{File,Recent,App}Chooser APIs by introducing GtkFontChooser as an interface, that has a default implementation in GtkFontChooserWidget. https://bugzilla.gnome.org/show_bug.cgi?id=657627
* GtkFontChooser: Add a ::font-activated signalMatthias Clasen2011-08-241-0/+3
| | | | This signal gets emitted when a font in the list is activated.
* Add filtering to the font chooserMatthias Clasen2011-08-151-0/+20
|
* Trivial formatting fixesMatthias Clasen2011-08-151-0/+1
| | | | Just committing these is easier than writing them up.
* GtkFontChooser: Missing G_END_DECLS in fontchooser headerAlberto Ruiz2011-08-151-0/+1
|
* GtkFontChooser: Remove outdated Copyright informationAlberto Ruiz2011-08-151-5/+0
|
* GtkFontChooser: Use GtkBox instead of GtkVBox as base class.Alberto Ruiz2011-08-151-3/+3
|
* GtkFontChooserDialog: Split the dialog out of gtkfontchooser.[ch] to ↵Alberto Ruiz2011-08-151-76/+1
| | | | gtkfontchooserdialog.[ch]
* GtkFontChooser: Renaming the class names and fixing the testsAlberto Ruiz2011-08-151-78/+56
|
* GtkFontChooser: Remove wrong usage of GTK_DISABLE_DEPRECATEDAlberto Ruiz2011-08-151-9/+9
|
* GtkFontChooser: Add a property to control whether the preview entry is shown ↵Alberto Ruiz2011-08-151-23/+26
| | | | or not
* GtkFontChooser: Add gtk_font_selection_dialog_get_select_button and use ↵Alberto Ruiz2011-08-151-6/+13
| | | | GTK_DISABLE_DEPRECATED in gtkfontsel.h
* GtkFontChooser: Remove all cruft from the current GtkFontSelection ↵Alberto Ruiz2011-08-151-0/+176
implementation and start a new widget