Matthias Clasen
834295dde0
calendar: Convert docs
...
Change link syntax, add an example image, generally clean things up.
2021-03-11 16:37:30 +00:00
Matthias Clasen
b7f4f5d234
scrollbar: Convert docs
...
Change link syntax, add an example image, generally clean things up.
2021-03-11 16:37:30 +00:00
Matthias Clasen
61d85f32a2
infobar: Convert docs
...
Change link syntax, add an example image, generally clean things up.
2021-03-11 16:37:30 +00:00
Matthias Clasen
03c5b680ec
statusbar: Convert docs
...
Change link syntax, add an example image, generally clean things up.
2021-03-11 16:37:30 +00:00
Matthias Clasen
8de0a2c7c6
infobar: Convert docs
...
Change link syntax, add an example image, generally clean things up.
2021-03-11 16:37:30 +00:00
Matthias Clasen
d58655b4ae
progressbar: Convert docs
...
Change link syntax, add an example image, generally clean
things up.
2021-03-11 16:37:30 +00:00
Matthias Clasen
f2b482ef65
levelbar: Convert docs
...
Change link syntax, add an example image, generally
clean things up.
2021-03-11 16:37:30 +00:00
Matthias Clasen
a2e8bd24ca
spinner: Convert docs
...
Change link syntax and add an example image.
2021-03-11 16:37:30 +00:00
Matthias Clasen
584e978840
aboutdialog: tweak the docs
...
Add a short summary.
2021-03-11 16:37:30 +00:00
Matthias Clasen
f00f900224
label: Convert docs
...
Change link syntax, add singl-line summaries,
add missing property docs.
2021-03-11 16:37:30 +00:00
Emmanuele Bassi
af8d8113eb
docs: Remove the last few remaining '+' from GTK
2021-03-11 16:37:30 +00:00
Emmanuele Bassi
e8b6e6cad0
docs: Clean up the first paragraph for various symbols
...
The documentation engine will use the first paragraph as the summary for
a type or constant.
2021-03-11 16:37:30 +00:00
Emmanuele Bassi
6781de96a5
docs: Start porting GtkImage to the new style
2021-03-11 16:37:30 +00:00
Emmanuele Bassi
4fef62c38d
docs: Port GtkAboutDialog to the new syntax
...
We should also clean up the annotations, while we're at it.
2021-03-11 16:37:30 +00:00
Emmanuele Bassi
abb33bd65f
docs: Move the gtkmain section to its own document
...
The introspection data does not handle unattached sections like gtk-doc
does, so we need to move what was gtkmain into its own Markdown
document.
2021-03-11 16:37:30 +00:00
Emmanuele Bassi
542b959933
docs: Use new link syntax
2021-03-11 16:37:30 +00:00
Emmanuele Bassi
b2a99642a9
docs: Begin porting GtkWidget to the new format
2021-03-11 16:37:30 +00:00
Emmanuele Bassi
6f7e933713
doc: Port GtkConstraint to the new format
2021-03-11 16:37:30 +00:00
Emmanuele Bassi
3c0f047597
docs: De-indent GtkRecentInfo.get_applications() return value
...
Otherwise the four spaces will be treated as a pre-formatted block by
Markdown.
2021-03-11 16:37:30 +00:00
Emmanuele Bassi
a6da2db4ea
docs: Start porting GtkConstraintLayout to the new doc format
...
Drop the old gtk-doc'isms, and use the gi-docgen links instead.
2021-03-11 16:37:30 +00:00
Matthias Clasen
27295bc555
Limit tooltip queries to the same native
...
Without this, the menubuttons tooltip pops up
when hovering the popover, which is suprising
and unintended.
Fixes : #3719
2021-03-11 08:56:56 -05:00
Matthias Clasen
5556907194
inspector: Fix surface transform regression
...
Ever since we added surface-to-widget transforms,
the autofading of the fps overlay did not work anymore,
since it was given the transient transform node, most
of the time.
Fix this by passing both the root of the node tree and
the node for the toplevel widget to prepare_render, and
hande the widget node to the overlays. Update the
affected overlays that need to have their positioning
adjusted.
2021-03-09 18:27:04 -05:00
Matthias Clasen
cba8c40aa0
Merge branch 'matthiasc/for-master' into 'master'
...
Matthiasc/for master
See merge request GNOME/gtk!3276
2021-03-09 00:12:11 +00:00
Matthias Clasen
98b13933d9
Merge branch 'bilelmoussaoui/size-request-annotations' into 'master'
...
g-i: update distribute_natural_allocation annotation
See merge request GNOME/gtk!3271
2021-03-08 23:07:18 +00:00
Matthias Clasen
91e94556ad
spinbutton: Interpret localized digits
...
Interpret input where the characters have numeric values.
See #3387
2021-03-08 17:49:21 -05:00
Matthias Clasen
d786e1d614
Merge branch 'ebassi/iface-macros' into 'master'
...
Remove invalid class macros
See merge request GNOME/gtk!3270
2021-03-07 20:22:14 +00:00
Matthias Clasen
c60a316e22
Move gtk_rounded_rect_scale_affine to the right place
...
This function should live with the rest of the
GskRoundedRect code in gskroundedrect.c.
2021-03-07 15:17:32 -05:00
Matthias Clasen
b73c9e992f
imcontext: Fix a docs mishap
2021-03-07 15:16:59 -05:00
Bilal Elmoussaoui
4980f620f9
g-i: update distribute_natural_allocation annotation
2021-03-07 20:59:01 +01:00
Matthias Clasen
87b800c11d
Merge branch 'bilelmoussaoui/gi-annotations' into 'master'
...
g-i: add missing since annotations for 4.2
See merge request GNOME/gtk!3268
2021-03-07 19:46:59 +00:00
Bilal Elmoussaoui
6e903e13a5
g-i: add missing since annotations for 4.2
2021-03-07 19:50:32 +01:00
Emmanuele Bassi
70fbfd8ede
treesortable: Remove class check macro
2021-03-07 18:26:31 +00:00
Emmanuele Bassi
6234ccc974
orientable: Remove class macros
2021-03-07 18:25:55 +00:00
Emmanuele Bassi
0cfe3d45f5
celleditable: Remove class cast check macro
2021-03-07 18:25:07 +00:00
Emmanuele Bassi
41371ccae6
buildable: Remove "class" macro
2021-03-07 18:23:23 +00:00
Emmanuel Gil Peyrot
5807fee893
icons: Rename two icons which had the wrong extension
...
Fixes two warnings when opening the inspector on my PinePhone, these two
files were attempted to be loaded as PNG (as per the extension) instead
of SVG.
Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
2021-03-07 18:59:04 +01:00
Matthias Clasen
82f40a92c1
searchentry: Typo fix
2021-03-05 15:07:02 -05:00
Alexander Mikhaylenko
0942e863f2
Adwaita: Use transparent black for window border in dark too
...
Avoid smear when the background behind the window is dark. Adjust opacity
to make it appear roughly the same as before on white background.
2021-03-05 22:59:25 +05:00
Jakub Steiner
11d6f2ddd0
Adwaita: Regular focus ring for sidebar rows
...
- style sidebar rows as regular items like buttons wrt focus
- define transition as part of the focus-ring(),
only animate outline related properties rather than `all`
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3708
2021-03-05 17:45:58 +01:00
Matthias Clasen
d28df0b87e
textview: Delete selection when preedit starts
...
This prevents confusing misrendering when the preedit text
pushes the selection text out of the rendered selection.
Fixes : #1123
2021-03-04 15:18:30 -05:00
Matthias Clasen
d1fbfb9c4e
textview: Send anchor with surrounding
...
We have the api to do it now.
2021-03-04 15:18:30 -05:00
Matthias Clasen
ccae0e1732
text: Optimize away 0-change insertions and deletions
...
We can short-circuit insert and delete calls that are
not causing any change.
2021-03-04 15:18:30 -05:00
Matthias Clasen
447203ce52
text: Delete selection when preedit starts
...
This prevents confusing misrendering when the preedit text
pushes the selection text out of the rendered selection.
Fixes : #1123
2021-03-04 15:18:30 -05:00
Matthias Clasen
feccdad9d2
text: Send anchor with surrounding
...
We have the api to do it now.
2021-03-04 15:18:30 -05:00
Matthias Clasen
35fceca157
imwayland: Pass anchor with surrounding
...
This was missing in the initial implementation since
GtkIMContext did not have it in its api, but it was
added now, so we can send the information.
2021-03-04 15:18:30 -05:00
Matthias Clasen
97db959305
immulticontext: Implement [gs]et_surrounding_with_selection
...
This is the recommended api, going forward.
2021-03-04 15:18:30 -05:00
Matthias Clasen
4b9aeaf9e3
imcontext: Add [gs]et_surrounding_with_selection
...
The Wayland text protocol expects to get both ends
of the selection with its surrounding call, so make
that available via GtkIMContext. We add this as new
api and vfuncs, and fall back, so that existing
implementations keep working.
2021-03-04 15:18:30 -05:00
Matthias Clasen
b533bba3f3
Merge branch 'bilelmoussaoui/annotations-fix' into 'master'
...
update annotation of gtk_single_selection_get_selected_item
See merge request GNOME/gtk!3253
2021-03-03 15:11:00 +00:00
Bilal Elmoussaoui
aae67b8fbd
gtk: update annotation of gtk_single_selection_get_selected_item
2021-03-03 14:19:45 +01:00
Alexander Mikhaylenko
aa693159dc
adwaita: Remove the nested headerbars hack
...
We clip the window now, it's not necessary anymore.
2021-03-03 17:35:15 +05:00