summaryrefslogtreecommitdiff
path: root/demos/widget-factory
Commit message (Collapse)AuthorAgeFilesLines
* widget-factory: Make the sliding opt-inMatthias Clasen2016-02-272-1/+26
| | | | | The sliding is a little disorienting, so turn it off by default and add a checkbutton for it in the gear menu.
* widget-factory: transition pagesMatt Watson2016-02-251-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=762642
* widget-factory: Add myselfBenjamin Otte2016-02-151-0/+13
| | | | | Actually, I wanted to have a radio toggle cell renderer for testing. But hey, the commit message is supposed to say the important things!
* widget-factory: Add an inline toolbar exampleMatthias Clasen2016-02-132-12/+182
| | | | | This pattern is still used in applications, so we should have it represented here to keep it working well.
* widget-factory: Update levelbar exampleMatthias Clasen2016-02-071-0/+5
| | | | Set reasonable level offsets.
* widget-factory: Add a color editor exampleMatthias Clasen2016-01-232-5/+40
|
* widget-factory: Ensure spinbuttons are sized rightMatthias Clasen2016-01-231-0/+4
| | | | | | GtkEntry now respects the padding set by the theme, so we need to ask the spin buttons to show 2 characters, otherwise they will be clipped.
* widget-factory: Make the notebook action truly circularMatthias Clasen2016-01-041-1/+2
| | | | | The sidebar-button class doesn't work out so well for this since it has horizontal padding.
* widget-factory: Rename outline radius in cssMatthias Clasen2015-12-221-1/+1
| | | | Rename all outline*radius properties to -gtk-outline*radius.
* widget-factory: Make things compile againBenjamin Otte2015-12-161-1/+1
| | | | | | | 1e1064398c7607d197c563c42f8901ac67982a9f broke the build. When I run make, I should make sure to run it in the right directory. And not in the gtk/ subdirectory that will never build widget-factory...
* widget-factory: Disconnect clipboard watcher on closeBenjamin Otte2015-12-161-2/+2
| | | | | | The clipboard emit events after the button we connected it to was already destroyed (on application close for example), so make sure we don't try to use that dead button.
* widget-factory: Add an entry completionMatthias Clasen2015-12-051-0/+14
| | | | This was missing so far.
* TextView: Use saner coordinate space in draw_layer.Alexander Larsson2015-11-101-1/+1
| | | | | | | | | | | | | | | | | | When I added the draw_layer vfunc it accidentally got passed a cairo_t that was configured with to draw in the viewport coordinate space (rather than the buffer coordinate space). This makes things unnecessary complex, because you have to convert between the two. The pixel cache is shared between the text and the layers, so there is no way to use draw_layer to get a stationary overlay effect. Thus it makes much more sense for the draw_layer vfunc to draw in the buffer space. Just changing this would break ABI for existing code, so this is fixed by adding new layer types and deprecating the old ones. Also, we use the new layer types to fix gtk3-widget-factory. https://bugzilla.gnome.org/show_bug.cgi?id=757856
* widget-factory: Add another notebook exampleMatthias Clasen2015-11-081-0/+112
| | | | This example shows a scrollable notebook with action widgets.
* widget-factory: Stop using deprecated APIMatthias Clasen2015-11-031-1/+1
|
* widget-factory: Add an automatic help overlayMatthias Clasen2015-10-215-6/+231
| | | | | | This commit add some more keyboard shortcuts to gtk3-widget-factory, and adds a help overlay documenting them. This examle uses the automatic resource loading support in GtkApplication.
* widget-factory: Remove libcanberra supportBenjamin Otte2015-09-212-13/+2
| | | | | | GTK cannot depend on libcanberra-gtk which depends on GTK. This causes a circular dependency and is especially neat if installed GTK is different enough from uninstalled GTK.
* Add missing $(EXEEXT)Kouhei Sutou2015-09-141-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=754629
* Update all ui files againMatthias Clasen2015-09-131-103/+103
| | | | | Replace translatable="1" by translatable="yes" so xgettext stays happy and extracts the strings.
* widget-factory: Simplify the ui fileMatthias Clasen2015-09-121-832/+832
|
* widget-factory: Add a lock buttonMatthias Clasen2015-08-102-84/+199
|
* widget-factory: Test busy stateMatthias Clasen2015-07-302-1/+37
| | | | | Makes it easy to test insensitive state of widgets.i Also exposes brokenness in the shell busy indicator...
* widget-factory: hook up callbacks to the tab close buttonsMatthias Clasen2015-07-242-2/+19
| | | | Just to show that buttons in notebook tabs work.
* widget-factory: Make the circular button do somethingMatthias Clasen2015-06-142-1/+3
|
* widget-factory: More popover examplesMatthias Clasen2015-06-132-1/+98
| | | | | Add an example for text input in a popover. This leads to nested popovers with touch selection, and does not currently work.
* widget-factory: Add horizontally linked entriesMatthias Clasen2015-06-131-3/+49
| | | | | It happens in some places, so artists need an example to make it look good.
* widget-factory: Improve touch selection exampleMatthias Clasen2015-06-091-0/+1
| | | | | Make the check buttons not take focus on click, so the popover stays open.
* widget-factory: Improve context menu exampleMatthias Clasen2015-06-071-7/+12
| | | | Show the text formatting in the menu / popover.
* widget-factory: Demonstrate custom context menu itemsMatthias Clasen2015-06-072-0/+113
| | | | | | | Add bold/italics/underline styling to the context menu of the 'Lorem ipsum...' text view in page 1. The point is not to show good UI for this kind of styling, but to demonstrate custom actions in the context menu / touch selection.
* Use built-in gtk-update-icon-cacheCosimo Cecchi2015-05-241-1/+1
| | | | | | | | | | | | | | To generate the icon cache files. We want to avoid a dependency loop if possible; additionally, on some Debian-based systems gtk-update-icon-cache maps to the GTK2 version of the utility and the GTK3 version is renamed to gtk-update-icon-cache-3.0. To avoid a build dependency on GTK2, use the binary that we just built in-tree. https://bugzilla.gnome.org/show_bug.cgi?id=749593
* Add a main category to desktop filesMatthias Clasen2015-05-141-1/+1
| | | | This makes desktop-file-validate happy.
* gtk3-widget-factory: Simplify ui fileMatthias Clasen2015-05-041-440/+6
|
* widget-factory: Fix toolbar on page 3Matthias Clasen2015-03-191-0/+1
| | | | Set toolbar-style to 'icons' to avoid rectangular buttons.
* widget factory: Add an example for an insensitive model buttonMatthias Clasen2015-03-161-0/+3
| | | | | This will make it easier to make insensitive model buttons appear properly in other themes.
* widget-factory: Add an insensitive toolbuttonMatthias Clasen2015-03-151-0/+9
| | | | This will help getting their theming right in HighContrast.
* widget-factory: Add tab close buttonsMatthias Clasen2015-03-155-5/+78
| | | | | This will make it easier to fix issues with such buttons in HighContrast.
* widget-factory: Stop using follow-stateMatthias Clasen2015-03-151-6/+2
| | | | | The property is no longer needed, cell renderers now always follow state.
* widget factory: Don't make file chooser local-onlyMatthias Clasen2015-02-181-0/+1
| | | | There's no reason to.
* Rename GtkSidebar to GtkStackSidebarLars Uebernickel2015-02-131-1/+1
| | | | | | GtkSidebar is too generic and doesn't fully convey what the widget does. https://bugzilla.gnome.org/show_bug.cgi?id=744094
* widget-factory: Add a combo box separator exampleMatthias Clasen2015-01-102-6/+37
| | | | | This shows that combo box separators are currently broken in Adwaita.
* widget-factory: Don't pulse dead widgetsBenjamin Otte2014-12-191-15/+10
| | | | | | Causes crashes at cleanup and we don't want those. Also, code gets simpler.
* widget-factory: Add a discontinuous GtkScale with marksCarlos Soriano2014-12-051-1/+31
| | | | | | | So designers can tweak the marks and developers can see how a discontinuos scale is implemented. https://bugzilla.gnome.org/show_bug.cgi?id=741117
* Drop remaining traces of GTK_UPDATE_ICON_CACHE build variableRui Matos2014-12-011-1/+1
| | | | | Commit 655c75cab791ea965e705e1b8518e6008d3a755f removed the need for this variable but left a couple of uses in. Drop them.
* widget-factory: Add a treeview separator rowMatthias Clasen2014-11-292-0/+20
| | | | Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=740851
* Provide symbolic variants of app iconsJakub Steiner2014-11-288-16/+50
| | | | | | | Install symbolic variants of the app icons for gtk3-demo and gtk3-widget-factory. These are necessary for the HighContrast theme. https://bugzilla.gnome.org/show_bug.cgi?id=740447
* widget-factory: Add some margins to text viewsMatthias Clasen2014-11-121-1/+7
|
* widget-factory: Fill up page 2 properlyMatthias Clasen2014-11-051-0/+1
| | | | | The collapsed expander leaves and odd empty corner, so expand it initially.
* widget-factory: Add another osdMatthias Clasen2014-11-052-29/+142
| | | | This is modeled after the totem osd.
* Improve warningMatthias Clasen2014-10-301-1/+1
| | | | | Mention the file that we're failing to load. That makes it obvious what is wrong.
* widget-factory: Add mnemonics in the prefs dialogMatthias Clasen2014-10-241-8/+16
| | | | | This helps testing the mmemonic label display in the inspector, and is just good practice.