summaryrefslogtreecommitdiff
path: root/gtk/gtk.h
Commit message (Collapse)AuthorAgeFilesLines
* listview: GtkListHeader and gtk_list_view_set_header_factory()Benjamin Otte2023-05-091-0/+1
| | | | | | Adds infrastructure for handling factories for list headers. For now, listitemmanager doesn't instantiate them, so they aren't used.
* Add GtkSectionModelBenjamin Otte2023-05-091-0/+1
| | | | | Prototyping the interface to be used for sections in listview, so people can review and play with it.
* columnview: Add GtkColumnViewCellBenjamin Otte2023-04-011-0/+1
| | | | | | | | This splits GtkListItem into 2 objects. It is fully backwards compatible. Using GtkListItem for GtkColumnView is now de-facto deprecated.
* columnview: Add GtkColumnViewRowBenjamin Otte2023-04-011-0/+1
| | | | | | | There is no way to set it yet, this is just to prove that it works. It also changes the focus behavior of rows. They are now always focusable - unless turned off by the factory once that is possible.
* Convert headers to #pragma onceMatthias Clasen2023-03-311-3/+1
| | | | The conversion was done by guard2one.
* Deprecate GtkVolumeButtonMatthias Clasen2023-02-121-1/+1
| | | | Too specialized.
* Deprecate GtkAssistantMatthias Clasen2023-02-021-1/+1
| | | | | It is a dialog-like toplevel, and libadwaita has replacement parts (like AdwCarousel).
* Deprecate GtkLockButtonMatthias Clasen2023-02-021-1/+1
| | | | | This is a very specialized widget, and should really just live with the applications where it is used.
* Deprecate GtkStatusbarMatthias Clasen2023-02-021-1/+1
| | | | | | | | The design patterns using statusbar are no longer popular, and it is pretty easy to make a statusbar yourself with boxes and labels, if you need one. The only thing special about GtkStatusbar was its window resize handle, but that has been gone for a long time.
* Add GtkUriLauncherMatthias Clasen2023-01-141-0/+1
|
* Deprecate gtk_show_uriMatthias Clasen2022-12-091-1/+1
| | | | This API has been superseded by GtkFileLauncher.
* Add GtkFileLauncherMatthias Clasen2022-12-091-0/+1
| | | | | | This is a replacement for gtk_show_uri_full, which can open a GFile in an application, or open its containing folder in a file manager.
* Deprecate GtkInfoBarMatthias Clasen2022-11-231-1/+1
| | | | | | This widget has a dialog-like API, which is something we want to get rid of in GTK 5, and libadwaita has a replacement with AdwBanner incoming.
* Deprecate GtkDialogMatthias Clasen2022-10-291-1/+1
| | | | | GtkDialog is too flexible in terms of UI (headerbars vs action bar, etc), and has archaic APIs. It is time to retire it.
* Deprecate GtkFileChooser and implementationsMatthias Clasen2022-10-291-4/+4
| | | | | | | | | These are being replaced by GtkFileDialog. This commit only moves the headers for GtkFileChooserWidget and GtkFileChooserDialog to deprecated/, and keeps the implementations in gtk/, since they will eventually be salvaged into a private GtkFileChooserWindow.
* Deprecate GtkMessageDialogMatthias Clasen2022-10-291-1/+1
| | | | | | | | | It is getting replaced by GtkAlertDialog This commit only moves the header to deprecated/, and keeps the implementation in gtk/, since it will eventually be salvaged into a private, dialog-free widget.
* Deprecate GtkFontChooser and implementationsMatthias Clasen2022-10-291-4/+4
| | | | | | | | | | 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.
* Deprecate GtkColorChooser and implementationsMatthias Clasen2022-10-291-4/+4
| | | | | | | | | | These are being replaced by GtkColorDialog and GtkColorDialogButton. This commit only moves the headers for GtkColorChooserWidget and GtkColorChooserDialog to deprecated/, and keeps the implementations in gtk/, since they will eventually be salvaged into a private GtkColorChooserWindow.
* Add GtkFileDialogMatthias Clasen2022-10-291-0/+1
| | | | | | Add an async API for picking a file, together with a builder object for it. This is meant to replace direct use of GtkFileChooserDialog.
* Add GtkAlertDialogMatthias Clasen2022-10-291-0/+1
| | | | | This is replacing GtkMessageDialog with an async API for showing informational messages.
* Add GtkFontDialogButtonMatthias Clasen2022-10-291-0/+1
| | | | This is like GtkColorDialogButton, but for fonts.
* Add GtkFontDialogMatthias Clasen2022-10-291-0/+1
| | | | This is similar to GtkColorDialog, but for fonts.
* Add GtkColorDialogButtonMatthias Clasen2022-10-291-0/+1
| | | | | This is a new color button implementation built around GtkColorDialog.
* Add GtkColorDialogMatthias Clasen2022-10-291-0/+1
| | | | | | Add an async API for picking a color, together with a builder object for it. This is meant to replace direct use of GtkColorChooserDialog.
* Add GtkDialogErrorMatthias Clasen2022-10-291-0/+1
| | | | | This error domain will be used by async apis in future commits.
* Make GtkColumnViewSorter publicMatthias Clasen2022-10-201-0/+1
| | | | API is yet to come.
* stylecontext: Deprecate most apisMatthias Clasen2022-10-121-1/+1
| | | | | | | The notable exception here are the global provider apis, which are needed in some form and don't have a replacement yet. Move them to gtkstyleprovider.[hc], so we can wholly deprecated gtkstylecontext.[hc].
* Deprecate gtk_render apisMatthias Clasen2022-10-121-1/+1
| | | | | | These take a GtkStyleContext as argument, and we want to get rid of GtkStyleContext eventually. The proper drawing api these days is gtk_snapshot.
* Deprecate treeviews and cell renderersMatthias Clasen2022-10-111-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes GtkCellArea GtkCellAreaBox GtkCellAreaContext GtkCellEditable GtkCellRenderer GtkCellRendererAccel GtkCellRendererCombo GtkCellRendererPixbuf GtkCellRendererProgress GtkCellRendererSpin GtkCellRendererSpinner GtkCellRendererText GtkCellRendererToggle GtkCellView GtkComboBox GtkComboBoxText GtkIconView GtkListStore GtkTreeModel GtkTreeModelFilter GtkTreeModelSort GtkTreeStore GtkTreeView GtkTreeViewColumn GtkTreeSelection
* Merge branch 'accessible_range_interface' into 'main'Matthias Clasen2022-10-051-0/+1
|\ | | | | | | | | Introduce GtkAccessibleRange See merge request GNOME/gtk!5066
| * Introduce GtkAccessibleRangeLukáš Tyrychtr2022-09-291-0/+1
| | | | | | | | This introduces GtkAccessibleRange, an interface which allows the accessibility backend to work with a control which can adjust a value.
* | Deprecate GtkEntryCompletionMatthias Clasen2022-10-031-1/+1
| | | | | | | | | | | | We want to drop cell renderers and tree models in GTK 5. The functionality of GtkEntryCompletion may be replaced by a new widget in GTK 5.
* | Deprecate the app chooser widgetsMatthias Clasen2022-10-031-4/+4
|/ | | | | | These are a family of pretty specialized widgets, and are very rarely used. Instead of porting them away from GtkTreeView and GtkComboBox, deprecate them.
* gtk: Dissolve gtk-autocleanup.hMatthias Clasen2022-09-231-2/+0
| | | | | Move the autocleanup declarations into their respective headers.
* Add GtkInscriptionBenjamin Otte2022-06-091-0/+1
| | | | | | | | A label alternative that renders itself into a given rectangle. The main use case is cells in column view. Related: #3334
* gtk: Add the GtkSymbolicPaintable interfaceBenjamin Otte2021-08-291-0/+1
|
* Make GtkPasswordEntryBuffer publicMatthias Clasen2021-06-081-0/+1
|
* gtk: Remove GtkFileChooserButtonBenjamin Otte2020-12-031-1/+0
| | | | ... as discussed in the meeting.
* Drop GtkRadioButtonMatthias Clasen2020-08-301-1/+0
|
* Drop GtkAccelLabelMatthias Clasen2020-08-041-1/+0
| | | | We no longer use this widget anywhere.
* a11y: Add testing APIEmmanuele Bassi2020-07-261-0/+1
| | | | | | | | | | | | We want to test the accessibility API, as well as the implementation inside each widget. For that, we should expose an API that lets us verify that a GtkAccessible has a given role, as well as a given property. The API follows the pattern of other GTest API: - a macro to assert that a condition is respected - a function that prints out the error message in case of failure
* Add GtkATContextEmmanuele Bassi2020-07-261-0/+1
| | | | | | | | | | | | | | | The ATContext type is meant to be used as the base class for implementations of the assistive technology API—the actual mechanism needed to communicate to components like the screen reader, or any other AT. Every time the widget state changes, the ATContext is meant to broadcast the state change; and every time the AT queries the state of a UI element, the ATContext is meant to provide that information. We also have a "test" ATContext implementation, which is meant to be used to write tests to verify that changes are propagated without requiring a whole desktop session.
* Introduce GtkAccessibleEmmanuele Bassi2020-07-261-0/+1
| | | | | | | GtkAccessible is an interface for accessible UI elements. Currently, it doesn't do much except exist as a type; in the future, it will be the entry point for all accessible state in GTK.
* Remove ATKEmmanuele Bassi2020-07-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To build a better world sometimes means having to tear the old one down. -- Alexander Pierce, "Captain America: The Winter Soldier" ATK served us well for nearly 20 years, but the world has changed, and GTK has changed with it. Now ATK is mostly a hindrance towards improving the accessibility stack: - it maps to a very specific implementation, AT-SPI, which is Linux and Unix specific - it requires implementing the same functionality in three different layers of the stack: AT-SPI, ATK, and GTK - only GTK uses it; every other Linux and Unix toolkit and application talks to AT-SPI directly, including assistive technologies Sadly, we cannot incrementally port GTK to a new accessibility stack; since ATK insulates us entirely from the underlying implementation, we cannot replace it piecemeal. Instead, we're going to remove everything and then incrementally build on a clean slate: - add an "accessible" interface, implemented by GTK objects directly, which describe the accessible role and state changes for every UI element - add an "assistive technology context" to proxy a native accessibility API, and assign it to every widget - implement the AT context depending on the platform For more information, see: https://gitlab.gnome.org/GNOME/gtk/-/issues/2833
* Add GtkBoolFilterBenjamin Otte2020-07-261-0/+1
| | | | | Takes a boolean GtkExpression (like a boolean object property) to run a filter with.
* Add a selection filter modelMatthias Clasen2020-07-021-0/+1
| | | | | This model presents the selection of a GtkSelectionModel as its own list model.
* Drop GtkFunctionsListItemFactoryMatthias Clasen2020-06-291-1/+0
| | | | It has been superseded by GtkSignalsListItemFactory.
* gtk: Remove GtkPropertySelectionBenjamin Otte2020-06-261-1/+0
| | | | GtkMultiSelection is so much faster than this that it isn't needed.
* Add GtkBitsetBenjamin Otte2020-06-261-0/+1
|
* Add GtkStringList as public apiMatthias Clasen2020-06-231-0/+1
| | | | | | This is a list model holding strings, initialized from a char **. String lists are buildable as well, and that replaces the buildable support in GktDropDowns.