Benjamin Otte
ce531ce280
listview: Add GtkListItem::focusable property
...
This makes the question if a listitem can be focused or not an explicit
decision by application developers.
Previously an item could be focused if it was selectable and no child or
grandchild was focusable - so if you put a label and icon into it, the
item was focusable, but if you put a GtkTreeExpander or a GtkButton into
it, the item wasn't. This needs to be decided explicitly now.
Technically this is an API break, because the previous behavior does not
exist anymore.
But I really don't want to make this a tristate (focusable, not
focusable, automatic), because then binding it to other things gets
hard, and because all the other focusable proeprties are booleans, too,
and working with them gets a lot harder.
Related: #3910
2023-04-01 20:49:40 +02:00
Benjamin Otte
47ba29bc14
docs: Document additions to the node format
2023-03-29 03:53:52 +02:00
Benjamin Otte
924fd195ab
gtk-demo: Set tab behavior for settings demo
2023-03-27 07:08:44 +02:00
Benjamin Otte
5973df22aa
gtk-demo: Rename dropdown demo
...
It's the listview selections demo, so use that name.
2023-03-26 01:06:18 +01:00
Benjamin Otte
32ff37f070
gtk-demo: Rename image scaling demo to image_scaling
...
This just means renaming the C file, but it makes --run=image_scaling
actually do what I'd expect.
2023-03-26 01:02:17 +01:00
Matthias Clasen
b23ac5c8da
Deprecate gtk_widget_translate_coordinates
...
Update all (non-deprecated) callers to use
gtk_widget_compute_point instead.
Fixes : #5697
2023-03-25 10:14:35 -04:00
Matthias Clasen
0a3eceb15d
node-editor: Embed textures in testcases
...
It is useless to have node files with references
to external files in the testsuite, so turn such
textures into data urls by doing a serialization
roundtrip.
2023-03-19 10:04:46 -04:00
Matthias Clasen
060ab606a2
gtk-demo: Reset properties when the image changes
2023-03-17 11:49:57 -04:00
Alexander Mikhaylenko
b4dc7f29d4
theme: Port .boxed-list style from libadwaita
...
Consistently use it for boxed lists in inspector and gtk-demo.
Fixes issues like https://gitlab.gnome.org/GNOME/gtk/-/issues/3145
2023-03-14 20:16:51 +04:00
Matthias Clasen
0c1ec82a74
gtk4-demo: Add a tooltip to image scaling
...
Show some information about the values.
2023-03-14 05:36:08 +01:00
Matthias Clasen
3eb9afb0ca
gtk4-demo: Polish the image scaling demo
...
Make the scale binding bidirectional again, fix up
the ranges and the sensitivity of the actions, and
add a mark for the unscaled position.
2023-03-14 05:36:08 +01:00
Matthias Clasen
413abef01d
Merge branch 'more-scaled-texture-fixes' into 'main'
...
Fix gtk_snapshot_append_scaled_texture
See merge request GNOME/gtk!5638
2023-03-13 08:58:58 +00:00
Matthias Clasen
e24d4ba5db
gtk4-demo: Use gtk_snapshot_append_scaled_texture
2023-03-13 08:54:13 +01:00
Matthias Clasen
517b4d584c
gtk4-demo: Scale logarithmically in image scaling
2023-03-13 08:21:10 +01:00
Matthias Clasen
88d9244b98
gtk4-demo: Fix rotation handling in image scaling
...
We weren't sizing the widget correctly in rotated
cases.
2023-03-13 08:11:29 +01:00
Matthias Clasen
dc50c790c5
gtk-demo: Add rotation to the scaling demo
...
Closing in on eog :)
2023-03-12 08:25:58 +01:00
Benjamin Otte
97d53b1e86
Merge branch 'wip/otte/rendernode-export' into 'main'
...
rendernode: Register SVG serializer
See merge request GNOME/gtk!5637
2023-03-11 00:26:18 +00:00
Benjamin Otte
7c96003471
node-editor: Add more export options
...
Auto-detect tiff and svg and if those are chosen, save to that format.
2023-03-11 00:08:44 +01:00
Matthias Clasen
89d131de56
gtk4-demo: Add tooltips to the menu demo
...
Not great UI, but better than nothing.
2023-03-11 00:07:07 +01:00
Matthias Clasen
a35dc8dda6
Rename the menu demo
...
At this point, the Menu demo is more about scaling images
than about menus, so rename it to Image Scaling.
2023-03-11 00:03:05 +01:00
Matthias Clasen
f00659d97f
gtk-demo: Add a file chooser to the menu demo
...
So we can try this with bigger images.
2023-03-10 23:51:17 +01:00
William Roy
aaeec84d75
Fix compile_resources present source directory
...
In certain scenarios, address the issue where gnome.compile_resources
fails to transmit the present source directory. This is most notably
visible with MSBuild.
2023-03-07 21:59:50 +00:00
Matthias Clasen
495ca72232
gtk4-demo: Accept file dnd in the pickers demo
...
Easy to add and expected of a file picker.
2023-02-26 08:28:38 -05:00
Matthias Clasen
1eae87621d
gtk-demo: Fix the shortcuts-window demo
...
Presenting the shortcutswindow got lost
in fb8e52f0c9
. Oops.
2023-02-22 14:57:47 -05:00
Matthias Clasen
6cb612ac15
gtk-demo: Fix build without sincos
...
We are getting into trouble here if
sincos isn't detected but still present
in headers. Avoid that.
Also fix the other copy of gtkgears.c.
2023-02-18 10:41:02 -05:00
Benjamin Otte
662c251cd0
demo: Spice up the mask demo
...
Also use all the mask modes, weeeee!
2023-02-14 19:07:01 -05:00
Matthias Clasen
0d97d03fc1
Document mask node parser format
2023-02-14 19:07:01 -05:00
Matthias Clasen
0eb791eaaa
Make mask nodes more versatile
...
Add a GskMaskMode enumeration and implement it
in the GL and cairo renderers.
2023-02-14 19:07:01 -05:00
Matthias Clasen
e6dfb8732a
gtk-demo: Fix hotspot handling in dnd
...
We were not remembering the pointer coordinates.
2023-02-13 18:39:45 -05:00
Matthias Clasen
348803af7d
Add a mask node demo
2023-02-12 08:35:25 -05:00
Matthias Clasen
625ffa2d96
gtk-demo: Add filtering to the zoom demo
2023-02-11 15:09:38 -05:00
Matthias Clasen
dd3eedd510
gtk-demo: Rewrite the zoom demo slightly
...
Use a texture directly instead of a paintable.
This will be used in the following commit to
introduce filters.
2023-02-11 15:09:38 -05:00
Matthias Clasen
dc3a72cf38
nodeparser: Support texture-scale nodes
2023-02-11 15:09:38 -05:00
Carlos Garnacho
d228bae365
Merge branch 'drag-button-issue' into 'main'
...
Fix button mask calculation for Wayland
Closes #5561
See merge request GNOME/gtk!5468
2023-02-03 09:28:01 +00:00
Arjan Molenaar
aef4c50155
Allow all mouse buttons to be used for the drawingarea demo
...
So we can test if the drag gesture works with all mouse buttons.
2023-02-02 21:29:45 +01:00
Matthias Clasen
3858c5282c
Deprecate GtkAssistant
...
It is a dialog-like toplevel, and libadwaita has
replacement parts (like AdwCarousel).
2023-02-02 08:39:25 +01:00
Matthias Clasen
1ff8dad8ec
Deprecate GtkLockButton
...
This is a very specialized widget, and should really just
live with the applications where it is used.
2023-02-02 08:39:25 +01:00
Matthias Clasen
d8cb11ec4a
Deprecate GtkStatusbar
...
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.
2023-02-02 08:39:24 +01:00
Matthias Clasen
ad549cbded
gtk-demo: Add a uri launcher demo
2023-01-15 11:58:43 -05:00
Matthias Clasen
a0f63160d6
widgetfactory: Load textures in threads
...
It is useful to show how this is done, even
though the images here are not terribly large.
2023-01-14 22:38:20 -05:00
Benjamin Otte
1b9c45b660
filedialog: Rename :current-filter to :default-filter
...
The last "current" removed from properties. None of these are current.
2022-12-24 07:56:57 -05:00
Benjamin Otte
e2f730c0bf
filedialog: Add gtk_file_dialog_set_initial_file()
...
A shortcut for setting initial-folder and initial-name at the same time.
We can remove all arguments from the actual async calls this way.
2022-12-24 07:56:57 -05:00
Benjamin Otte
8a2d35b9fb
filedialog: Add gtk_file_dialog_set_initial_name()
2022-12-24 07:56:57 -05:00
Benjamin Otte
26cec4a021
filedialog: Rename current-folder to initial-folder
...
It's not the current one - unlike in GtkFileChooser - because there are
no live updates. So we use a more descriptive name.
2022-12-24 07:56:57 -05:00
Matthias Clasen
a471a8b57c
Merge branch 'ebassi/gidocgen-update' into 'main'
...
ci: Update the gi-docgen dependencies
See merge request GNOME/gtk!5263
2022-12-14 16:24:48 +00:00
Matthias Clasen
eba9c4e4c3
gtk-demo: Update the pickers demo
2022-12-13 07:49:10 -05:00
Matthias Clasen
7a50e31b8d
gtk-demo: Add a GtkFileLauncher demo
...
Replace the deprecated app chooser button by a
button that calls gtk_file_launcher_launch.
2022-12-09 13:25:02 -05:00
Matthias Clasen
3007b0fd7f
Remove leftover debug spew
2022-12-09 10:04:42 -05:00
Matthias Clasen
96b9ac84f8
node-editor: Redo saving location
...
Determine the location to save testcases in dynamically,
trying first a GTK_SOURCE_DIR environment variable
and then the current directory as the GTK source dir,
ultimatively falling back to just saving in the current
directory.
This avoids leaking details of the build environment
into the produced artifacts and should make GTK builds
more reproducible.
Fixes : #5403
2022-12-09 09:35:32 -05:00
Matthias Clasen
1018b43724
constraint editor: Stop using gtk_widget_show/hide
2022-11-28 14:34:55 -05:00
Matthias Clasen
c823ea4a70
icon browser: Stop using gtk_widget_show/hide
2022-11-28 14:34:55 -05:00
Matthias Clasen
fb8e52f0c9
gtk-demo: Stop using gtk_widget_show/hide
2022-11-28 14:34:55 -05:00
Matthias Clasen
352ace83bc
widget-factory: Stop using gtk_widget_show/hide
2022-11-28 14:34:55 -05:00
Corey Berla
586c3c3cbd
gtk-demo: Application demo use open_finish()
2022-11-26 18:11:40 +00:00
Emmanuele Bassi
cc546d7af1
build: Add a check argument to run_command()
...
Silence a Meson warning.
2022-11-26 15:18:42 +00:00
Matthias Clasen
e5cf55bdb4
gtk-demo: Cosmetics
2022-11-26 06:40:47 -05:00
Matthias Clasen
4fa53bd041
gtk-demo: Test cancellation support for file dialog
...
Add a timeout that closes the file dialog after
20 seconds, to test programmatic cancellation.
2022-11-24 10:26:43 -05:00
Matthias Clasen
942f8d4b4b
Deprecate GtkInfoBar
...
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.
2022-11-23 13:00:09 -05:00
Matthias Clasen
ea3c58f0ec
gtk-demo: Add folders to the clipboard demo
...
This is handy for testing a case where folder
dnd does not work with the file transfer portal.
See #5348
2022-11-17 06:31:09 -05:00
Matthias Clasen
af8ad1efe8
gtk-demo: Add some keywords
...
Make sure that dnd and drag-and-drop yield the right
(and the same) set of demos.
2022-11-17 05:50:34 -05:00
Matthias Clasen
2c6ac137a3
gtk-demo: Improve language handlng
...
In the font features demo, don't add a
item for the default language to the dropdown,
that does not make sense.
2022-11-07 15:42:38 +01:00
Matthias Clasen
5bd264d532
gtk-demo: Add a few mssing language names
2022-11-07 15:42:38 +01:00
Matthias Clasen
e908a117a9
gtk4-demo: Tweak the pickers demo
...
Redo the file picker a bit.
2022-11-07 15:42:38 +01:00
Matthias Clasen
9948053cd7
Deprecate GtkDialog
...
GtkDialog is too flexible in terms of UI (headerbars vs action bar,
etc), and has archaic APIs. It is time to retire it.
2022-10-29 15:27:53 -04:00
Matthias Clasen
66b062a976
Deprecate GtkMessageDialog
...
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.
2022-10-29 13:31:41 -04:00
Matthias Clasen
15572b0183
Deprecate GtkFontChooser and implementations
...
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.
2022-10-29 13:31:41 -04:00
Matthias Clasen
a51a6a3ee2
Deprecate GtkColorChooser and implementations
...
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.
2022-10-29 13:31:41 -04:00
Matthias Clasen
4248380538
print-editor: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
e7de4c1f99
node-editor: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
d620197ae1
constraint-editor: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
ad2552ee43
widget-factory: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
756888a53d
gtk-demo: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
99e1643cdd
gtk-demo: Rewrite the pickers demo
...
This needs some more work. For now, just have
very simple test cases for some of the new async
APIs.
2022-10-29 13:31:41 -04:00
Matthias Clasen
b972decf82
gtk4-demo: Avoid a critical from a11y code
...
Even though we want to be accessible,
we must not divide by zero.
2022-10-28 12:02:23 -04:00
Matthias Clasen
e6f4c596fa
gtk-demo: Use global style in font_features
2022-10-22 11:38:46 -04:00
Matthias Clasen
3d7fb26588
gtk-demo: Replace combo boxes in font features
...
This is a slightly more complicated combo box,
so we need an auxiliary object.
2022-10-22 11:35:35 -04:00
Matthias Clasen
3fc3f8d2ff
gtk-demo: Replace combobox in font rendering
...
Out with the combobox, in with the dropdown.
2022-10-21 21:48:39 -04:00
Matthias Clasen
a7cae4bffa
gtk-demo: Remove deprecations from characters
...
Make the characters demo use global style providers.
2022-10-21 21:48:39 -04:00
Matthias Clasen
3e2e29a1dc
gtk-demo: Remove deprecations from sizegroup demo
...
Out with the comboboxes, in with the dropdowns.
2022-10-21 21:48:39 -04:00
Matthias Clasen
de069e15c2
gtk-demo: Remove deprecation from textview demo
...
Use a dropdown instead of a combobox for the widget
embedding. It's better!
2022-10-21 21:48:39 -04:00
Matthias Clasen
f8edefd7c0
gtk-demo: Remove deprecations from gltransitions
...
Make the GL transitions demo use global style providers.
2022-10-21 21:48:39 -04:00
Matthias Clasen
24a15b51fe
gtk-demo: Remove deprecations from solitaire
...
Make the solitaire game use global style providers.
2022-10-21 21:48:39 -04:00
Matthias Clasen
1f7aba345d
gtk=demo: Drop unneeded deprecation guards
...
Nothing deprecated in the pixbuf paintable demo.
2022-10-21 21:48:39 -04:00
Matthias Clasen
230212c59c
gtk-demo: Remove deprecations from dnd
...
Make the dnd demo use global style providers.
2022-10-21 21:48:39 -04:00
Matthias Clasen
0149bd49ca
gtk-demo: Add more sort columns
...
Add a second sort column to the Settings demo,
to make it easier to test column view sorting.
2022-10-20 11:44:05 -04:00
Matthias Clasen
af0e056eec
widgetfactory: Add text to iconic model buttons
...
We want to use this for tooltips in the future.
2022-10-18 22:35:02 -04:00
Matthias Clasen
b1ec43ae33
demos: Ignore deprecations
...
Most of these demos should be ported to use
global style providers eventually. For now,
just ignore the deprecations.
2022-10-12 15:35:00 -04:00
Matthias Clasen
6f24bd9ff4
demos: Ignore deprecations for render apis
...
Eventually, this demo should probably be removed.
2022-10-12 15:35:00 -04:00
Matthias Clasen
6efb18330f
demos and examples: Ignore deprecations
...
For now, just ignore deprecations. Eventually,
we will have to go through, drop demos that are
for wholly deprecated widgets, and update others.
2022-10-11 17:18:21 -04:00
Matthias Clasen
5e256590db
Deprecate treeviews and cell renderers
...
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
2022-10-11 17:18:21 -04:00
Benjamin Otte
20b49e7c34
gtk-demo: Modernize accordion demo
2022-10-09 10:09:59 -04:00
Matthias Clasen
7e9ca5b41d
Deprecate GtkEntryCompletion
...
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.
2022-10-03 23:23:56 -04:00
Matthias Clasen
a527a4d82e
Deprecate the app chooser widgets
...
These are a family of pretty specialized widgets, and
are very rarely used. Instead of porting them away
from GtkTreeView and GtkComboBox, deprecate them.
2022-10-03 23:02:09 -04:00
Matthias Clasen
98bdf67468
Merge branch 'game-sounds' into 'main'
...
gtk-demo: Make losing games hurt
See merge request GNOME/gtk!5017
2022-09-10 00:32:45 +00:00
Matthias Clasen
681ec04b85
gtk-demo: Make losing games hurt
...
Use a more annoying sound for losses.
And use it for all games.
2022-09-09 15:36:31 -04:00
Matthias Clasen
7dd3289837
Merge branch 'widget-factory-filechooser' into 'main'
...
widget-factory: Add a file chooser
See merge request GNOME/gtk!5015
2022-09-09 18:44:31 +00:00
Matthias Clasen
f050a9e889
widget-factory: Add a file chooser
...
We don't have a readily accessible file chooser
in our demo apps. Fix that by making the Open
menu item on page 2 bring up a file chooser.
2022-09-09 14:28:08 -04:00
Matthias Clasen
54daad3878
gtk-demo: Avoid a segfault
...
The code in the fontrendering demo is a bit sloppy
and assumes that we always get a single run when
appending a sequence of 4 chars and 4 spaces.
That is not in general true, such as for Emoji.
Instead of working harder to handle Emoji here,
just give up and fall back to 'a'.
Fixes : #5166
2022-09-09 12:34:54 -04:00
Simon McVittie
0237713c3a
demos: Remove detritus from a patch not applying cleanly
...
I assume this was committed by mistake. It isn't used, and some
packaging systems will automatically remove it during `clean`.
Signed-off-by: Simon McVittie <smcv@debian.org>
2022-08-16 08:32:45 +01:00
Matthias Clasen
4a04e468fd
gtk4-demo: Fix a memory leak
...
The gears demo was leaking its vertices.
2022-08-13 17:27:40 -04:00
Matthias Clasen
7321eb881a
widget-factory: Make the icon work uninstalled
...
Include the app logo as a resource, so we can show
it even when uninstalled.
2022-07-16 21:16:40 -04:00
Matthias Clasen
9daf83a1da
gtk-demo: Make the icon work uninstalled
...
Include the app logo as a resource, so we can show
it even when uninstalled.
2022-07-16 09:43:46 -04:00
Matthias Clasen
f7811f5dc3
gtk-demo: Add a winning sound to the puzzle
...
We should celebrate every win.
2022-07-16 09:43:46 -04:00
Matthias Clasen
25ec58be3c
gtk-demo: Fix icon theme breakage
...
The starred emblem silently went away :(
2022-07-16 09:43:46 -04:00
Marco Melorio
f1faa71d6d
picture: Set overflow to be hidden
...
The new content-fit property was wrongly suggesting to manually set
widgets' overflow property, but that property is not really intended to
be set by external code. This commit removes those suggestions and
directly set picture's overflow to be hidden.
2022-07-16 01:40:01 +02:00
Matthias Clasen
63c61340ac
Merge branch 'test-coverage' into 'main'
...
node-editor: Make the help more helpful
See merge request GNOME/gtk!4874
2022-07-15 22:34:02 +00:00
Marco Melorio
d8a73cbd03
picture: Add content-fit property
...
It allows to specify the resize mode of the paintable inside the
GtkPicture allocation. This also deprecates the keep-aspect-ratio
property.
Fixes #5027 .
2022-07-15 23:01:23 +02:00
Matthias Clasen
35e6a2fdb8
node-editor: Sort help better
...
Move the gshader section where it belongs.
2022-07-15 15:46:06 -04:00
Matthias Clasen
69336fa5f1
node-editor: Make the help more helpful
...
I struggled to remember how newlines vs strings work in
this format, so put it in the docs.
2022-07-15 15:46:06 -04:00
Emmanuele Bassi
f4f683a469
Rename clear_template to dispose_template
...
Make it more clear that the function is supposed to be called during the
dispose sequence of a widget.
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
e71f9bb79f
Port gtk-demo widgets to gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
bf75a21deb
Port node editor to gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
1bba874895
Port icon browser to gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
01f5142b00
Port constraint editor to gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Matthias Clasen
7c5d71ebf6
widget-factory: Fix a missing export
...
This broke when we started using a scope.
2022-07-07 21:44:57 -04:00
Matthias Clasen
5ba8fc8f10
Font features demo improvements
...
Use font-provided names for ssNN and cvNN features.
But good luck finding a font that has these!
2022-07-03 01:19:19 -04:00
Matthias Clasen
5d05daaed0
Font features demo improvements
...
Add buttons to cycle through samples.
2022-07-02 23:37:34 -04:00
Matthias Clasen
86dd72fad6
Fix up font features demo
...
The conversion to a textview was incomplete.
2022-07-02 22:46:27 -04:00
Matthias Clasen
9c4490b7ad
gtk4-demo: Add color to font features
2022-07-02 11:35:24 -04:00
Matthias Clasen
cd40cd145f
gtk4-demo: Cosmetics
2022-07-01 00:10:16 -04:00
Matthias Clasen
88bbb933a1
gtk4-demo: Add a waterfall to font features
2022-06-30 23:52:37 -04:00
Matthias Clasen
4070e794d2
gtk4-demo: Fix font features animation
2022-06-30 21:11:49 -04:00
Matthias Clasen
a284dc9f31
demos: Use gtk_builder_cscope_add_callback
...
This is C convenience API, lets use it for
our convenience.
2022-06-30 20:10:06 -04:00
Matthias Clasen
64f3ac6760
gtk3-demo: Add animation to font features
2022-06-30 19:02:02 -04:00
Matthias Clasen
508ceccb66
gtk4-demo: Polish the font features demo
2022-06-30 19:02:02 -04:00
Matthias Clasen
d6dde63074
gtk4-demo: Restructure the font features demo
2022-06-30 19:02:02 -04:00
Matthias Clasen
bdb1886fc9
gtk4-demo: Cosmetics
...
Rename the ui file to match the C source, to preserve sanity.
2022-06-30 19:02:02 -04:00
Matthias Clasen
e4781e393c
gtk-demo: Beef up font features demo
...
Some work on making this demo better.
2022-06-30 09:42:32 -04:00
Matthias Clasen
092fe2f712
gtk-demo: Cosmetics
...
Tweak the complicated textview demo a bit.
2022-06-23 07:40:55 -04:00
Jan Tojnar
d91e669d98
gtk-demo: Remove mention of directories in picker examples
...
Those were removed in https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2909 .
2022-06-22 23:07:28 +02:00
Matthias Clasen
8b3a38779b
gtk-demo: Add some keywords
...
Make it so that the right demos show up when
you search for GtkInscription.
2022-06-13 11:16:51 -04:00
Benjamin Otte
98e0ca7477
gtk-demo: Add a "Read More" label demo.
2022-06-11 22:19:17 +02:00
Matthias Clasen
c7c8b37e4c
Merge branch 'wip/otte/inscription' into 'main'
...
Add GtkInscription
See merge request GNOME/gtk!4800
2022-06-11 13:47:20 +00:00
Benjamin Otte
61bc38cd61
gtk-demo: Use GtkInscription in the wordlist demo
2022-06-10 04:34:23 +02:00
Benjamin Otte
b56b5ed81b
gtk-demo: Use GtkInscription in the main list
2022-06-10 04:34:23 +02:00
Matthias Clasen
27db4b5c2f
node-editor: Add a zoom button
...
This is a bit more convenient than manually
adding a transform node in the text editor.
2022-06-07 13:39:22 -04:00
Matthias Clasen
5ba5693efd
Make our demos more likable
...
Nobody likes Facebook.
Everybody loves the Eagles.
2022-05-27 17:34:55 -04:00
Matthias Clasen
bcad305136
Make the formatted link more neutral
...
There have been complaints about company names in
our demos. Lets use something else.
Part of: #4716
2022-05-27 08:43:06 -04:00
Matthias Clasen
726a92200f
Install gtk4-node-editor
...
It is an application worth having around.
2022-05-07 07:18:36 -04:00
Matthias Clasen
78d34c098e
node-editor: Add things
...
Add a desktop file and appdata.
2022-05-07 07:18:36 -04:00
Alexander Mikhaylenko
1ca2d41a98
icons: Use the proper eye icons
...
adwaita-icon-theme has more appropriate icons for showing/hiding text now.
use those, and in the process fix the fact GtkPasswordEntry has been using
them the other way around.
2022-04-22 16:22:05 +04:00
Matthias Clasen
191558cfa4
gtk-demo: Small fixup to the cursors demo
2022-04-07 07:01:29 -04:00
Matthias Clasen
79fad9f221
gtk-demo: Don't hardcode a title font
...
We want a large font size, but we don't have to
hardcode Sans.
2022-03-18 12:33:33 -07:00
Matthias Clasen
b6b2682bd6
build: Avoid objcopy on arm
...
The trickery we do with objcopy and ld to speed up
resource inclusion does not seem to work right on
32bit Arm, so just skip it there.
Fixes : #4757 , #4748 , #4752
2022-03-14 08:44:09 -04:00
Ting-Wei Lan
e1e88ce665
build: Don't use ld and objcopy when cross-compiling
...
These commands don't work when compiling Windows binaries on Linux.
2022-03-13 15:19:46 +08:00
Guido Günther
25f4e597ee
print-editor: Use gtk_window_present()
...
This lets xdg-activation work as otherwise gdk_wayland_surface_focus is
never invoked.
2022-02-28 16:55:54 +00:00
Guido Günther
db8339ca66
demo: Use gtk_window_present()
...
This lets xdg-activation work as otherwise gdk_wayland_surface_focus is
never invoked.
2022-02-28 16:55:54 +00:00
Guido Günther
5ba02e3459
widget-factory: Use gtk_window_present()
...
This lets xdg-activation work as otherwise gdk_wayland_surface_focus is
never invoked.
2022-02-28 16:55:54 +00:00
Benjamin Otte
a26c1a5f0d
widget-factory: Make <F11> toggle fullscreen
2022-02-12 19:05:19 +01:00
Jan Alexander Steffens (heftig)
d8befc612f
demos: Make our stack noexec
...
This is similar to https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4330
and https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4334 , which fixed
the main library but missed the demos.
2022-02-03 19:14:36 +00:00