summaryrefslogtreecommitdiff
path: root/gtk/gtkinfobar.c
Commit message (Collapse)AuthorAgeFilesLines
* infobar: Tweak docsMatthias Clasen2021-03-111-2/+1
|
* infobar: Add property annotationsMatthias Clasen2021-03-111-9/+9
| | | | Connect properties, getters, and setters with annotations.
* infobar: Add property annotationsMatthias Clasen2021-03-111-4/+1
| | | | Connect properties, getters, and setters with annotations.
* infobar: Convert docsMatthias Clasen2021-03-111-1/+1
| | | | Change link syntax, add an example image, generally clean things up.
* infobar: Convert docsMatthias Clasen2021-03-111-80/+102
| | | | Change link syntax, add an example image, generally clean things up.
* Use WidgetClass.activate_signal getter functionEmmanuele Bassi2020-12-051-2/+2
|
* docs: Fix the links for keybinding signalsMatthias Clasen2020-11-171-1/+1
| | | | | GtkBindingSignal does not exist anymore, so link to GtkSignalAction for an explanation of keybinding signals.
* infobar: Remove unused includeTimm Bäder2020-10-141-1/+0
|
* Remove unneeded gtkstylecontext.h includesTimm Bäder2020-10-141-1/+0
|
* Clean up lots of GTK+ -> GTKMatthias Clasen2020-09-121-3/+3
| | | | | | Replace most remaining uses of GTK+ in the docs and user-visible strings by GTK. Also remove some leftover "Was added in 3.x" sentences from the docs.
* Drop style class definesMatthias Clasen2020-08-141-4/+4
| | | | | | We document the supported style classes by name, not by macro name, and these macros don't really add any value. Drop them for GTK 4.
* Remove ATKEmmanuele Bassi2020-07-261-39/+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 "gdouble" with "double"Benjamin Otte2020-07-251-2/+2
|
* Replace "gchar" with "char"Benjamin Otte2020-07-251-17/+17
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-17/+17
|
* Fix minor typosYuri Chornoivan2020-06-181-1/+1
|
* Replace most remaining uses of container apiMatthias Clasen2020-05-111-42/+31
| | | | These are all on GtkBox or enumerating children.
* infobar: Derive from GtkWidgetMatthias Clasen2020-05-111-39/+3
| | | | GtkContainer is going away.
* infobar: Add gtk_info_bar_add/remove_childMatthias Clasen2020-05-111-9/+44
| | | | This is a replacement for container api that is going away.
* infobar: Add gtk_info_bar_remove_action_widgetMatthias Clasen2020-05-111-2/+35
| | | | | This is mainly for completeness, since gtk_container_remove will not work for those anymore.
* 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.
* infobar: Drop the Private structMatthias Clasen2020-03-281-102/+68
|
* infobar: Port bindings to use shortcutsBenjamin Otte2020-03-251-12/+7
|
* Revert "Merge branch 'disable-window-test' into 'master'"Matthias Clasen2020-03-191-7/+12
| | | | | This reverts commit 3ac4c76b18cc89a841ce09f0943539f16988fd21, reversing changes made to 6ec96d2e989d029a303b8b20ec72b86f974c0e87.
* infobar: Port bindings to use shortcutsBenjamin Otte2020-03-181-12/+7
|
* infobar: Remove _get_{action,content}_area()Timm Bäder2020-02-151-36/+0
| | | | | | Accessors like these are weird to have and we can add widgets to the content area via gtk_container_add() as well as add widgets to the action area via gtk_info_bar_add_action_widget().
* infobar: Don't store close button visibility separatelyTimm Bäder2020-02-151-4/+2
| | | | | We can already set and query that value via gtk_widget_{get,set}_visible() on the close button.
* Rename gtk_widget{get,set,has}_style_class to _css_classTimm Bäder2020-02-071-5/+5
| | | | We want to use css instead of style everywhere now.
* Start using GtkWidget's new style class APITimm Bäder2020-02-071-8/+5
|
* infobar: Implement forallMatthias Clasen2020-02-061-0/+15
| | | | As a container, that is what you have to do.
* infobar: Activate default action on clicksMatthias Clasen2020-01-141-0/+45
| | | | | | | When we have a default action set on the infobar, activate it for clicks anywhere in the infobar. Also add an .action style class in this case, so we can add a hover highlight to the infobar just for this case.
* Use the new GtkBuildableParser type in GtkBuildable interfacesAlexander Larsson2019-09-101-39/+39
|
* infobar: Inherit from GtkContainerTimm Bäder2019-09-091-14/+91
| | | | | | | infobars being a GtkBox doesn't make sense. Also implement infobars without exposing internal children. Closes #1957 because it adds the bottom border.
* Minor typos in the Documentation (a/an)Дилян Палаузов2019-08-251-1/+1
|
* gtk: rely on default marshallersChristian Hergert2019-05-301-1/+1
| | | | | | | | | | Similar to previous removals of g_cclosure_marshal_VOID__VOID we can remove other marshallers for which are a simple G_TYPE_NONE with single parameter. In those cases, GLib will setup both a c_marshaller and va_marshaller for us. Before this commit, we would not get a va_marshaller because the c_marshaller is set. Related to GNOME/Initiatives#10
* marshallers: ensure g_cclosure_marshal_VOID__VOIDv is usedChristian Hergert2019-05-291-1/+1
| | | | | | | If we set c_marshaller manually, then g_signal_newv() will not setup a va_marshaller for us. However, if we provide c_marshaller as NULL, it will setup both the c_marshaller (to g_cclosure_marshal_VOID__VOID) and va_marshaller (to g_cclosure_marshal_VOID__VOIDv) for us.
* info bar: Make finalMatthias Clasen2019-05-261-0/+15
|
* Drop the can-default propertyMatthias Clasen2019-04-281-2/+0
| | | | | | It was added at a time when default buttons had a very large external border that would disrupt aligment. Not a problem nowadays.
* Stop using gtk_widget_grab_defaultMatthias Clasen2019-04-281-1/+6
| | | | Replace gtk_widget_grab_default by gtk_window_set_default_widget.
* gtk: Don't include gtkstylecontext.h from gtkcsstypesprivate.hBenjamin Otte2019-03-191-0/+1
| | | | And make sure it's included everywhere it's needed.
* docs: Miscellaneous doc fixesMatthias Clasen2019-02-241-1/+3
| | | | | Additions and correction all over the place, in GDK and GTK docs.
* infobar: Remove an unused variableTimm Bäder2019-02-051-1/+0
|
* Drop GtkButtonBoxMatthias Clasen2019-02-041-8/+0
| | | | | This widget does not seem worth keeping, and we want to get rid of child properties.
* Stop using gtk_box_pack_endTimm Bäder2019-01-231-1/+2
| | | | It might soon go away!
* infobar: Remove priv pointerTimm Bäder2018-06-201-24/+36
|
* The big versioning cleanupMatthias Clasen2018-02-061-38/+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.
* Make a few more code samples compileTimm Bäder2018-01-031-6/+7
|
* gtk: Intern css namesMatthias Clasen2017-11-171-1/+1
| | | | This avoids a bunch of strdups at startup.
* Drop unused includes of gtkrender.hMatthias Clasen2017-10-251-1/+0
| | | | | | We don't use the gtk_render apis internally anymore. Drop these includes so it is clear where the remaining uses are.
* ActionBar: Fix links in set_revealed() doc, etc.Daniel Boles2017-09-051-1/+1
| | | | | | mostly: syncing with previous commit, where InfoBar copied this all from Also, remove my unhelpful “and vice-versa” from InfoBar.