summaryrefslogtreecommitdiff
path: root/gtk/gtkactionbar.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop gtkintl.hMatthias Clasen2022-09-241-1/+0
| | | | | Include gtkprivate.h for I_() and glib-i18n.h for gettext macros.
* actionbar: Document GtkBuildable child typesAlexander Mikhaylenko2022-07-031-0/+7
|
* Remove all nicks and blurbs from param specsSophie Herold2022-05-111-3/+1
| | | | | | | | Those property features don't seem to be in use anywhere. They are redundant since the docs cover the same information and more. They also created unnecessary translation work. Closes #4904
* introspection: Stop using allow-noneMatthias Clasen2021-05-201-1/+1
| | | | | allow-none has been deprecated for a long time already. Instead use optional and nullable everywhere.
* Documentation fixesMatthias Clasen2021-05-201-2/+2
| | | | | Mostly fixing up indentation of continuation lines, and other small cleanups.
* actionbar: Fix the css node docsAlexander Mikhaylenko2021-05-091-1/+17
|
* action-bar: Add start and end style classes to GtkActionBar boxesAlexander Mikhaylenko2021-05-091-0/+3
| | | | | Make it possible to add spacing to them from the theme without affecting the center child should it happen to be a box.
* actionbar: Convert docsMatthias Clasen2021-03-111-31/+36
|
* Remove ATKEmmanuele Bassi2020-07-261-2/+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
* Replace "gchar" with "char"Benjamin Otte2020-07-251-1/+1
|
* Replace most remaining uses of container apiMatthias Clasen2020-05-111-3/+3
| | | | These are all on GtkBox or enumerating children.
* actionbar: Derive from GtkWidgetMatthias Clasen2020-05-111-76/+20
| | | | GtkContainer is going away.
* actionbar: Add gtk_action_bar_removeMatthias Clasen2020-05-111-3/+17
| | | | This is a replacement for gtk_container_remove.
* actionbar: Use dispose instead of destroyMatthias Clasen2020-05-051-5/+4
| | | | The destroy vfunc is going away.
* Use gtk_revealer_set_child throughoutMatthias Clasen2020-05-041-1/+1
| | | | | Replace all uses of gtk_container_add on revealers with gtk_revealer_set_child.
* Move the idle sizer to GtkWindowMatthias Clasen2020-04-201-1/+0
| | | | | | | | This was only living in gtkcontainer.c for historic reasons. Move it closer to where it belongs, and rename it from 'idle' to 'layout', since it is really about the layout phase of the frame clock, nowadays.
* actionbar: Drop the Private structMatthias Clasen2020-03-281-79/+59
|
* actionbar: Use a bin layoutTimm Bäder2020-02-151-36/+2
|
* Remove gtk_widget_get/set_has_surfaceMatthias Clasen2019-05-281-2/+0
| | | | | These serve no purpose anymore - widgets don't have surfaces, unless they're a GtkNative.
* action bar: Make finalMatthias Clasen2019-05-261-0/+13
|
* action bar: Drop pack-typeMatthias Clasen2019-03-271-88/+5
| | | | | | Drop the pack-type child property. Allow ui files to direct children by adding a child type for it.
* action bar: Drop the position child propertyMatthias Clasen2019-01-231-54/+0
| | | | | There is no particular need to have this, and we want to get rid of child properties.
* box: Avoid position in the reorder apiMatthias Clasen2019-01-231-4/+2
| | | | | | | | | | Change the reorder api to insert after a sibling, so that moving to first place becomes reorder (... NULL). And add a insert_after api that can replace the common container_add / reorder_after (... NULL) combination. Update all callers.
* Stop using gtk_box_pack_endTimm Bäder2019-01-231-2/+4
| | | | It might soon go away!
* widget: Don't pass a position to ->size_allocateTimm Bäder2018-11-131-4/+10
| | | | | The values have been 0/0 for a long time now, so just drop the GtkAllocation argument and replace it with width and height.
* acitonbar: Remove snapshot implementationTimm Bäder2018-08-051-11/+1
|
* widget: Allow adding event controllers in ui filesBenjamin Otte2018-04-261-5/+3
|
* widget: Remove clip from size-allocate vfuncBenjamin Otte2018-04-051-3/+2
| | | | As the clip is no longer needed, get rid of it.
* GtkWidget: Start renaming widget->windowAlexander Larsson2018-03-201-1/+1
| | | | | | | | | | | | | | | This is an automated change doing these command: git sed -f g gtk_widget_set_has_window gtk_widget_set_has_surface git sed -f g gtk_widget_get_has_window gtk_widget_get_has_surface git sed -f g gtk_widget_set_parent_window gtk_widget_set_parent_surface git sed -f g gtk_widget_get_parent_window gtk_widget_get_parent_surface git sed -f g gtk_widget_set_window gtk_widget_set_surface git sed -f g gtk_widget_get_window gtk_widget_get_surface git sed -f g gtk_widget_register_window gtk_widget_register_surface git sed -f g gtk_widget_unregister_window gtk_widget_unregister_surface git checkout NEWS*
* The big versioning cleanupMatthias Clasen2018-02-061-14/+0
| | | | | | | 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.
* actionbar: Add more docs for gtk_action_bar_get_revealedMatthias Clasen2017-12-041-0/+2
| | | | This stops gtk-doc complaints.
* gtk: Intern css namesMatthias Clasen2017-11-171-1/+1
| | | | This avoids a bunch of strdups at startup.
* ActionBar: Fix links in set_revealed() doc, etc.Daniel Boles2017-09-051-5/+6
| | | | | | mostly: syncing with previous commit, where InfoBar copied this all from Also, remove my unhelpful “and vice-versa” from InfoBar.
* actionbar: Call g_object_class_install_properties()Kjell Ahlstedt2017-07-251-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=785318
* widget: Add baseline and out_clip parameters to size-allocateTimm Bäder2017-07-191-8/+5
| | | | | | | | | | | Since setting a clip is mandatory for almost all widgets, we can as well change the size-allocate signature to include a out_clip parameter, just like GtkCssGadget did. And since we now always propagate baselines, we might as well pass that one on to size-allocate. This way we can also make sure to transform the clip returned from size-allocate to parent-coordinates, i.e. the same coordinate space priv->allocation is in.
* Slightly rework clip handlingTimm Bäder2017-07-191-1/+1
| | | | | | | | | | | always initialize clips to the (content) allocation, don't walk up the widget hierarchy in gtk_widget_set_clip, implement gtk_widget_size_allocate in GtkSeparator. This way we don't end up using uninitialized clip values. The entire clip handling is up for major rework since we can't and don't want to force every single widget to call _set_clip in size-allocate implementations.
* actionbar: Remove gadgetTimm Bäder2017-07-191-58/+7
|
* actionbar: Remove css box drawingTimm Bäder2017-07-191-20/+4
|
* Make GtkCenterBox publicMatthias Clasen2017-06-041-1/+1
| | | | | It provides functionality that GtkBox used to have, and is generally useful.
* container: Remove include_internals parameter from forallTimm Bäder2017-04-251-14/+6
| | | | | | with include_internals=TRUE, this is the same as the (still private) gtk_widget_forall, or just using the children/sibling accessors in a loop.
* actionbar: Add explicit center widgetTimm Bäder2017-04-251-31/+164
| | | | | | | The center widget in GtkBox was only introduced to use it in GtkActionBar. However, the implementation there is much more complex than it needs to be, so move the center widget into GtkActionBar instead and later remove it from GtkBox.
* box: Remove fill child propertyTimm Bäder2017-04-251-2/+2
| | | | GtkWidget:halign and GtkWidget:valign are sufficient
* box: Remove expand child propertyTimm Bäder2017-04-251-2/+2
| | | | GtkWidget already has hexpand/vexpand properties.
* Remove unnecessary gtk_widget_show callsTimm Bäder2017-01-221-2/+0
|
* actionbar: Notify when :revealed changesTimm Bäder2017-01-121-1/+5
|
* actionbar: Add revealed propertyTimm Bäder2017-01-081-0/+97
| | | | | So we can show and hide it with a transition as well as bind another property to it.
* actionbar: Add revealer as internal childTimm Bäder2017-01-081-43/+18
|
* actionbar: Remove show() and hide() implementationsTimm Bäder2017-01-081-30/+0
| | | | | They only show/hide the widget in a delayed fashion which doesn't work, just like it doesn't work with infobars and popovers.
* gadget: Remove gtk_css_gadget_draw()Benjamin Otte2016-12-201-1/+0
| | | | | | | And with it, remove the draw func from custom gadgets, that has been NULL everywhere. All gadgets are snapshot now.
* snapshot: Port GtkActionBarBenjamin Otte2016-11-151-11/+19
|