summaryrefslogtreecommitdiff
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* gtk-demo: Use surface apis in the clipboard demoMatthias Clasen2017-10-231-31/+33
| | | | | Stop using gtk_drag_set_icon_pixbuf. This api is going away.
* icon-browser: Remove GtkEventBox from .ui fileCarlos Garnacho2017-10-191-8/+3
| | | | | The patch adding scalable icons' info was forward ported too much as-is to master. The event box is both unused and unnecessary here.
* gtk4-demo: Stop using pixdata resourcesMatthias Clasen2017-10-181-2/+2
| | | | This does not really help, and pixdata is deprecated.
* icon-browser: Add scalable icons to icon detail modal windowJulian Sparber2017-10-162-8/+100
| | | | | | | | | | | | | | | | | | When making mockups for GNOME apps in Inkscape, looking for symbolic icons is a common task. Searching for icons in the file system is clumsy, and icon-browser provides a much better interface for finding them. However, currently there is no way to insert the symbolic icons as SVG directly from icon-browser, so right now it is only useful for finding the name. This patch adds a sixth column to the modal window that appears when clicking a symbolic icon. The icon in this column is labeled "scalable", and dragging it onto another window results in the vector icon URI being inserted. This enables a much simpler workflow when designing with symbolic icons. https://bugzilla.gnome.org/show_bug.cgi?id=778930
* icon-browser: Stop repeating folder-documents tooDaniel Boles2017-10-131-1/+0
|
* gtk4-demo: fix a typoMatthias Clasen2017-10-071-1/+1
| | | | The blend mode is called saturation, not saturate.
* gtk4-demo: Fix the scrollbar popup menu exampleMatthias Clasen2017-10-071-2/+2
| | | | | A scrollbar is not a range anymore, so the callback needs some adjustments (!).
* gtk-demo: Deal with big imagesMatthias Clasen2017-10-061-0/+11
| | | | | We don't want to grow our window to huge size just because there is a big source image.
* gtk-demo: Add a new overlay demoMatthias Clasen2017-10-063-200/+38
| | | | | Replace the not very impressive transparent demo with the blur-behind example.
* gtk-demo: Fix the overlay demoMatthias Clasen2017-10-061-2/+6
| | | | | We must make the label and the entry separate overlays, or the entry will also be clickthru.
* gtk-demo: Fix up the drawingarea exampleMatthias Clasen2017-10-061-40/+23
| | | | This was not working anymore.
* gtk-demo: Make the color chooser example non-resizableMatthias Clasen2017-10-061-0/+1
| | | | No need for it.
* iconbrowser: Don’t repeat folder-download-symbolicDaniel Boles2017-10-071-2/+1
| | | | | | | It was in both [general] with a description and [other] with none. Leave it in [other] with the other folder- icons, + the description. bonus: this makes all of [general] fit in our default window size!
* gtk-demo: Fix the assistant demoMatthias Clasen2017-10-061-1/+4
| | | | | The progress bar was no longer expanding as intended, due to the demise of GtkBox::expand.
* gtk-demo: Keep treeviews expandingMatthias Clasen2017-10-063-0/+3
| | | | This is fallout from GtkBox::expand child property going away.
* widget-factory: Don't leak GPropertyAction instancesTimm Bäder2017-10-061-4/+6
|
* gtk-demo: Remove old build fileBenjamin Otte2017-10-061-164/+0
| | | | | The includes are now generated with a Python script, so remvoe the old perl script.
* widget-factory: Demo different Frame border-stylesDaniel Boles2017-10-022-7/+38
| | | | | This shows not all, but the interesting/less predictable styles, and the ones that correspond to the :shadow-types that were here before.
* Revert "widget-factory: Usefully demo Frame shadow types"Daniel Boles2017-10-021-3/+30
| | | | | | | This reverts commit 6ee2bf628614e9c14b061bd48c2efd2c9515ab19. There is a way to get different kinds of borders: it's CSS. It's better to keep the 4 Frames and demo the different styles we can do using CSS.
* gtk-demo: Use GdkEvent APIMatthias Clasen2017-09-197-49/+71
|
* gtk-demo/theming: Don’t mislead about raised classDaniel Boles2017-09-141-2/+2
| | | | | | | | | | | | | | This class is not added by any widgets nor themed by Adwaita/HC. However, it is presented here as if it does something. It doesn’t. But we changed the 2 buttons with the .raised class to use symbolic icons, unlike their ‘unraised’ counterparts, which is unnecessarily confusing and might make people think .raised affects icons somehow. So, make them use the same icons in all cases; that way, if .raised is ever made to do anything, 6 years later, what it does will be clear. https://bugzilla.gnome.org/show_bug.cgi?id=644248
* widget-factory: Usefully demo Frame shadow typesDaniel Boles2017-09-141-30/+3
| | | | | | Instead of showing the 4 types except for GTK_SHADOW_NONE, which are all treated identically and provide no way for themes to differentiate, just keep 2 Frames, and make one of them GTK_SHADOW_NONE to demo a flat Frame
* gtk4-demo: Fix up the event axes demoMatthias Clasen2017-09-061-20/+31
| | | | | Use a drawing area instead of drawing directly on the window, which doesn't work well with csd.
* gtk4-demo: add a few missing window titlesMatthias Clasen2017-09-062-1/+2
|
* Drop old MSC makefilesEmmanuele Bassi2017-08-141-91/+0
|
* Drop Autotools buildEmmanuele Bassi2017-08-144-331/+0
| | | | | We are officially switching to Meson as the default build system for GTK+.
* widget-factory: Add a use of show-emoji-iconMatthias Clasen2017-08-121-0/+1
| | | | | This also serves as a testcase for nested popovers that was missing in widget-factory so far.
* icon-browser: Add missing document-edit iconDaniel Boles2017-08-061-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=777515
* widget-factory: Add tooltip to Entry iconDaniel Boles2017-08-031-0/+1
| | | | just to show we can.
* iconbrowser: Remove GtkEventBox usageBenjamin Otte2017-08-022-47/+19
|
* gtk-demo: Get rid of GtkEventBoxBenjamin Otte2017-08-023-49/+41
|
* widget-factory: fix page 3 widget expandTimm Bäder2017-07-191-0/+1
| | | | The treeview/listbox on the left side should not expand.
* widget: Add baseline and out_clip parameters to size-allocateTimm Bäder2017-07-193-10/+17
| | | | | | | | | | | Since setting a clip is mandatory for almost all widgets, we can as well change the size-allocate signature to include a out_clip parameter, just like GtkCssGadget did. And since we now always propagate baselines, we might as well pass that one on to size-allocate. This way we can also make sure to transform the clip returned from size-allocate to parent-coordinates, i.e. the same coordinate space priv->allocation is in.
* gtk4-demo: Add widgetbowl demoTimm Bäder2017-07-198-27/+223
| | | | Same as fishbowl, but with widgets
* widget-factory: Show the status bar by defaultTimm Bäder2017-07-191-1/+1
| | | | Since the action is also active by default.
* Remove calls to gtk_widget_set_allocationTimm Bäder2017-07-191-2/+2
| | | | gtk_widget_size_allocate_with_baselines does it automatically now.
* spinbutton demo: Spinbuttons are no EntriesTimm Bäder2017-07-191-9/+9
|
* widget-factory: Remove invisible-char usage for spin buttonsTimm Bäder2017-07-191-3/+1
|
* dist icon.listMatthias Clasen2017-06-021-1/+2
| | | | Otherwise things will not work in a release tarball.
* icon-browser: Add a few iconsMatthias Clasen2017-06-021-0/+6
| | | | These have appeared recently.
* icon browser: Make icons a bit largerMatthias Clasen2017-06-021-1/+1
| | | | Use 48x48 in the list, instead of 32x32. We have the space.
* icon browser: Add a 'copy to clipboard' buttonMatthias Clasen2017-06-022-0/+26
| | | | This makes it more obvious how to use the icon.
* icon browser: put icons as dataMatthias Clasen2017-06-023-478/+576
| | | | | | Instead of hardcoding all the add_icon calls, read the icon list from a keyfile, for easier extensibility.
* gtk: Mass delete all GtkWidget event mask APICarlos Garnacho2017-05-254-30/+0
| | | | | | | | | | We now rely on toplevels receiving and forwarding all the events the windowing should be able to handle. Event masks are no longer a way to determine whether an event is deliverable ot a widget. Events will always be delivered in the three captured/target/bubbled phases, widgets can now just attach GtkEventControllers and let those handle the events.
* widget-factory: Use :relief=none, not class .flatDaniel Boles2017-05-131-1/+1
| | | | The rest of the ui file follows that convention.
* gtk-demo: ui: Replace leftover uses of Box:expandDaniel Boles2017-05-132-9/+6
| | | | commit 5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 skipped these
* demo/toolpalette: Restore ToolItemGroup child propDaniel Boles2017-05-131-5/+9
| | | | | | | | …erties clobbered by commit c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d. That and its counterpart were for removing :expand and :fill child props from GtkBox, but they ended up catching these for GtkToolItemGroup too. While GtkToolItemGroup still has these, we may as well keep demoing them
* build: Improve consistency of the "coding" styleEmmanuele Bassi2017-05-033-77/+47
| | | | | | We're mixing a lot of styles in the Meson build files. This is an attempt at making everything slightly more consistent in terms of whitespace and indentation.
* meson: demos: disable add_install_script() calls that don't work right yetTim-Philipp Müller2017-05-032-8/+10
| | | | Errors out. Might really wants a script and not a binary.
* meson: demos: update and sync up with MakefilesTim-Philipp Müller2017-05-033-24/+40
|