- 30 Sep, 2020 1 commit
-
-
Alexander Larsson authored
This adds a bunch of snazz to the gltransitions demo. It is perhaps a bit overloaded now, but it demos everything that we can do. Changes: * The fire shader is now not a bin, it just renders an animating background with no textures involved. * The stacks don't all start on the same page. * The shaderbin passes the mouse coordinate to the shader. * The shaderbin allows specifying a "border" so that you can cause effects outside the bin child (something that is new to gtk4). * All the buttons and the stacks are now in shader-bins that runs a wobbly-widget effect based on the mouse position that wobbles outside the child allocation.
-
- 29 Sep, 2020 3 commits
-
-
Alexander Larsson authored
This gets around 500 instances at 60fps on my system.
-
Alexander Larsson authored
Add adds a demo showing off GskGLShaderNode in various ways. It has a transistion widget, using some examples from gl-transitions.com, with child widgets being both images, a GL area and real widgets (that let you edit the transition shaders themselves. It also has a fancy fire effect on hove on the buttons.
-
Alexander Larsson authored
I was getting "assignment to varying fragColor" errors
-
- 26 Sep, 2020 1 commit
-
-
Florian Müllner authored
GtkBuildable's get_name()/set_name() methods may shadow GtkWidget's methods. Avoid that by renaming the API to get_buildable_id()/set_buildable_id(), which also reflects the name of the XML attribute the API refers to. #3191
-
- 21 Sep, 2020 1 commit
-
-
Matthias Clasen authored
"Two of every kind..." Add some customized pickers here. This found a number of issues that have been fixed in the preceding commits.
-
- 19 Sep, 2020 1 commit
-
-
Matthias Clasen authored
Redo the tag insertion function to avoid quadratic behavior, and at the same time, fix handling of alpha for color attributes. Update the copy of this function in gtk4-demo as well.
-
- 18 Sep, 2020 1 commit
-
-
Matthias Clasen authored
Polish the text view demos a little bit.
-
- 17 Sep, 2020 2 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
Its almost a dictionary.
-
- 16 Sep, 2020 1 commit
-
-
Matthias Clasen authored
Show how to add a context menu to a custom widget, and how to make a GtkPicture lookalike.
-
- 15 Sep, 2020 2 commits
-
-
Chun-wei Fan authored
Make sure the callback functions in the .ui files are exported, so that those functions can be recognized at runtime so that things run properly.
-
Timm Bäder authored
-
- 14 Sep, 2020 13 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
Make the builder demo show up in searches for toolbar and menubar.
-
Matthias Clasen authored
Make the keyboard shortcuts work.
-
Matthias Clasen authored
Make the toolbar look right.
-
Matthias Clasen authored
Increase the inter-paragraph spacing in the info text, to make paragraphs more clearly separated.
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
They should not both be active initially.
-
Jakub Steiner authored
- make content prominent by using content-view style for the main grid.
-
Mohammed Sadiq authored
We don't have any demos with a switch in headerbar.
-
Matthias Clasen authored
Add an fps label to the scrolling demo.
-
Matthias Clasen authored
Use tnum for the fps label to avoid jiggling.
-
Matthias Clasen authored
Remove another copy of this code in the theme switching benchmark.
-
- 13 Sep, 2020 10 commits
-
-
Matthias Clasen authored
When a group is selected (such as 'Benchmark'), make the run button insensitive - there is nothing to run.
-
Matthias Clasen authored
Make gtk-demo show itself as a useful example.
-
Matthias Clasen authored
Add the names of the main widgets as keywords to our demos, but also things like "game". This helps finding relevant demos in our growing list. You can now for example type "label", and find the "error states" and "links" demos showing GtkLabel features.
-
Matthias Clasen authored
Filter the sidebar on keywords that can be provided by the demos. We extract keywords from the doc comment at the top of each demo source by looking for words that look like class names. We also allow to specify keywords explicitly.
-
Matthias Clasen authored
Ignore lines starting with # in the info comment at the top of source files. This will be used to add keywords for search in following commits.
-
Matthias Clasen authored
This one is a more or less direct copy of the settings dialog from widget-factory, demonstrating error states and builder scopes.
-
Matthias Clasen authored
In the video player demo, we have a button to make the window fullscreen, but no easy way back. Add the usual F11 keybinding, to make things at least somewhat recoverable.
-
Matthias Clasen authored
Add buttons to show the gtk-logo animation and the Big Buck Bunny trailer.
-
Matthias Clasen authored
Fix a corner case of input validation in the settings dialog.
-
Matthias Clasen authored
The animated background demos was referring to the pixbuf demo that was removed a while ago. Reword the text accordingly.
-
- 12 Sep, 2020 3 commits
-
-
Matthias Clasen authored
Add a simple demo for adding emblems to icons using GdkPaintable.
-
Matthias Clasen authored
Make it possible to have no background in the animated paintable. This will be used in a future demo. Update all users.
-
Matthias Clasen authored
The paintable demos were forgetting to clear their window variable.
-
- 10 Sep, 2020 1 commit
-
-
Matthias Clasen authored
That is what it is. Fixes: #2790
-