summaryrefslogtreecommitdiff
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* gtk-demo: Add rotation to the scaling demoMatthias Clasen2023-03-123-6/+73
| | | | Closing in on eog :)
* Merge branch 'wip/otte/rendernode-export' into 'main'Benjamin Otte2023-03-111-16/+174
|\ | | | | | | | | rendernode: Register SVG serializer See merge request GNOME/gtk!5637
| * node-editor: Add more export optionsBenjamin Otte2023-03-111-16/+174
| | | | | | | | Auto-detect tiff and svg and if those are chosen, save to that format.
* | gtk4-demo: Add tooltips to the menu demoMatthias Clasen2023-03-111-0/+3
| | | | | | | | Not great UI, but better than nothing.
* | Rename the menu demoMatthias Clasen2023-03-111-8/+9
| | | | | | | | | | At this point, the Menu demo is more about scaling images than about menus, so rename it to Image Scaling.
* | gtk-demo: Add a file chooser to the menu demoMatthias Clasen2023-03-101-0/+61
|/ | | | So we can try this with bigger images.
* Fix compile_resources present source directoryWilliam Roy2023-03-075-5/+5
| | | | | | | | | In certain scenarios, address the issue where gnome.compile_resources fails to transmit the present source directory. This is most notably visible with MSBuild.
* gtk4-demo: Accept file dnd in the pickers demoMatthias Clasen2023-02-261-9/+44
| | | | Easy to add and expected of a file picker.
* gtk-demo: Fix the shortcuts-window demoMatthias Clasen2023-02-221-0/+1
| | | | | Presenting the shortcutswindow got lost in fb8e52f0c957fa7. Oops.
* gtk-demo: Fix build without sincosMatthias Clasen2023-02-181-10/+12
| | | | | | | | 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.
* demo: Spice up the mask demoBenjamin Otte2023-02-142-9/+119
| | | | Also use all the mask modes, weeeee!
* Document mask node parser formatMatthias Clasen2023-02-141-0/+10
|
* Make mask nodes more versatileMatthias Clasen2023-02-141-1/+1
| | | | | Add a GskMaskMode enumeration and implement it in the GL and cairo renderers.
* gtk-demo: Fix hotspot handling in dndMatthias Clasen2023-02-131-1/+12
| | | | We were not remembering the pointer coordinates.
* Add a mask node demoMatthias Clasen2023-02-127-0/+348
|
* gtk-demo: Add filtering to the zoom demoMatthias Clasen2023-02-112-2/+35
|
* gtk-demo: Rewrite the zoom demo slightlyMatthias Clasen2023-02-111-24/+21
| | | | | | Use a texture directly instead of a paintable. This will be used in the following commit to introduce filters.
* nodeparser: Support texture-scale nodesMatthias Clasen2023-02-111-0/+15
|
* Merge branch 'drag-button-issue' into 'main'Carlos Garnacho2023-02-031-1/+1
|\ | | | | | | | | | | | | Fix button mask calculation for Wayland Closes #5561 See merge request GNOME/gtk!5468
| * Allow all mouse buttons to be used for the drawingarea demoArjan Molenaar2023-02-021-1/+1
| | | | | | | | So we can test if the drag gesture works with all mouse buttons.
* | Deprecate GtkAssistantMatthias Clasen2023-02-022-0/+4
| | | | | | | | | | It is a dialog-like toplevel, and libadwaita has replacement parts (like AdwCarousel).
* | Deprecate GtkLockButtonMatthias Clasen2023-02-021-0/+2
| | | | | | | | | | This is a very specialized widget, and should really just live with the applications where it is used.
* | Deprecate GtkStatusbarMatthias Clasen2023-02-023-0/+8
|/ | | | | | | | 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.
* gtk-demo: Add a uri launcher demoMatthias Clasen2023-01-151-20/+52
|
* widgetfactory: Load textures in threadsMatthias Clasen2023-01-142-6/+71
| | | | | It is useful to show how this is done, even though the images here are not terribly large.
* filedialog: Rename :current-filter to :default-filterBenjamin Otte2022-12-241-1/+1
| | | | The last "current" removed from properties. None of these are current.
* filedialog: Add gtk_file_dialog_set_initial_file()Benjamin Otte2022-12-2410-15/+11
| | | | | | 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.
* filedialog: Add gtk_file_dialog_set_initial_name()Benjamin Otte2022-12-243-4/+2
|
* filedialog: Rename current-folder to initial-folderBenjamin Otte2022-12-242-4/+4
| | | | | It's not the current one - unlike in GtkFileChooser - because there are no live updates. So we use a more descriptive name.
* Merge branch 'ebassi/gidocgen-update' into 'main'Matthias Clasen2022-12-142-2/+2
|\ | | | | | | | | ci: Update the gi-docgen dependencies See merge request GNOME/gtk!5263
| * build: Add a check argument to run_command()Emmanuele Bassi2022-11-262-2/+2
| | | | | | | | Silence a Meson warning.
* | gtk-demo: Update the pickers demoMatthias Clasen2022-12-131-3/+2
| |
* | gtk-demo: Add a GtkFileLauncher demoMatthias Clasen2022-12-091-10/+45
| | | | | | | | | | Replace the deprecated app chooser button by a button that calls gtk_file_launcher_launch.
* | Remove leftover debug spewMatthias Clasen2022-12-091-2/+0
| |
* | node-editor: Redo saving locationMatthias Clasen2022-12-092-8/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | constraint editor: Stop using gtk_widget_show/hideMatthias Clasen2022-11-281-2/+2
| |
* | icon browser: Stop using gtk_widget_show/hideMatthias Clasen2022-11-281-18/+5
| |
* | gtk-demo: Stop using gtk_widget_show/hideMatthias Clasen2022-11-28100-138/+119
| |
* | widget-factory: Stop using gtk_widget_show/hideMatthias Clasen2022-11-281-13/+19
| |
* | gtk-demo: Application demo use open_finish()Corey Berla2022-11-261-9/+10
| |
* | gtk-demo: CosmeticsMatthias Clasen2022-11-261-2/+0
|/
* gtk-demo: Test cancellation support for file dialogMatthias Clasen2022-11-241-1/+19
| | | | | Add a timeout that closes the file dialog after 20 seconds, to test programmatic cancellation.
* Deprecate GtkInfoBarMatthias Clasen2022-11-231-0/+2
| | | | | | 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.
* gtk-demo: Add folders to the clipboard demoMatthias Clasen2022-11-172-0/+58
| | | | | | | This is handy for testing a case where folder dnd does not work with the file transfer portal. See #5348
* gtk-demo: Add some keywordsMatthias Clasen2022-11-173-1/+3
| | | | | Make sure that dnd and drag-and-drop yield the right (and the same) set of demos.
* gtk-demo: Improve language handlngMatthias Clasen2022-11-071-15/+3
| | | | | | In the font features demo, don't add a item for the default language to the dropdown, that does not make sense.
* gtk-demo: Add a few mssing language namesMatthias Clasen2022-11-071-0/+7
|
* gtk4-demo: Tweak the pickers demoMatthias Clasen2022-11-071-6/+14
| | | | Redo the file picker a bit.
* Deprecate GtkDialogMatthias Clasen2022-10-292-0/+4
| | | | | GtkDialog is too flexible in terms of UI (headerbars vs action bar, etc), and has archaic APIs. It is time to retire it.
* Deprecate GtkMessageDialogMatthias Clasen2022-10-292-0/+4
| | | | | | | | | 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.