Matthias Clasen
306b6c6024
widget-factory: Add another notebook example
...
This example shows a scrollable notebook with action widgets.
2015-11-08 21:08:38 -05:00
Matthias Clasen
3306ce6819
widget-factory: Add an automatic help overlay
...
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.
2015-10-21 15:33:22 -04:00
Matthias Clasen
b9322433d3
Update all ui files again
...
Replace translatable="1" by translatable="yes" so
xgettext stays happy and extracts the strings.
2015-09-13 23:26:16 -04:00
Matthias Clasen
3a503b7ba1
widget-factory: Simplify the ui file
2015-09-12 11:24:37 -04:00
Matthias Clasen
cf237eccbe
widget-factory: Add a lock button
2015-08-10 22:43:19 -04:00
Matthias Clasen
7d91ca3183
widget-factory: Test busy state
...
Makes it easy to test insensitive state of widgets.i
Also exposes brokenness in the shell busy indicator...
2015-07-30 10:36:34 -04:00
Matthias Clasen
13b4500f52
widget-factory: hook up callbacks to the tab close buttons
...
Just to show that buttons in notebook tabs work.
2015-07-24 12:22:19 -04:00
Matthias Clasen
fa29a01c26
widget-factory: Make the circular button do something
2015-06-14 21:37:58 -04:00
Matthias Clasen
2af2189347
widget-factory: More popover examples
...
Add an example for text input in a popover. This leads to nested
popovers with touch selection, and does not currently work.
2015-06-13 21:10:25 -04:00
Matthias Clasen
94fc9f5211
widget-factory: Add horizontally linked entries
...
It happens in some places, so artists need an example to
make it look good.
2015-06-13 21:10:25 -04:00
Matthias Clasen
e1942a8bb9
widget-factory: Demonstrate custom context menu items
...
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.
2015-06-07 01:12:18 -04:00
Matthias Clasen
ea3190d0ac
gtk3-widget-factory: Simplify ui file
2015-05-04 08:02:32 -04:00
Matthias Clasen
8e82d0fba2
widget-factory: Fix toolbar on page 3
...
Set toolbar-style to 'icons' to avoid rectangular buttons.
2015-03-19 19:11:39 -04:00
Matthias Clasen
25b610ef5e
widget-factory: Add an insensitive toolbutton
...
This will help getting their theming right in HighContrast.
2015-03-15 22:54:02 -04:00
Matthias Clasen
de239ca31b
widget-factory: Add tab close buttons
...
This will make it easier to fix issues with such buttons
in HighContrast.
2015-03-15 22:44:33 -04:00
Matthias Clasen
8d58b64c28
widget-factory: Stop using follow-state
...
The property is no longer needed, cell renderers now
always follow state.
2015-03-15 22:44:33 -04:00
Matthias Clasen
e1100813e6
widget factory: Don't make file chooser local-only
...
There's no reason to.
2015-02-18 17:28:07 -05:00
Lars Uebernickel
f3110e4103
Rename GtkSidebar to GtkStackSidebar
...
GtkSidebar is too generic and doesn't fully convey what the widget does.
https://bugzilla.gnome.org/show_bug.cgi?id=744094
2015-02-13 18:01:56 +01:00
Matthias Clasen
35a8d3d770
widget-factory: Add a combo box separator example
...
This shows that combo box separators are currently broken
in Adwaita.
2015-01-10 20:14:24 -05:00
Carlos Soriano
eec9a74304
widget-factory: Add a discontinuous GtkScale with marks
...
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
2014-12-05 13:23:05 +01:00
Matthias Clasen
5bf640d344
widget-factory: Add a treeview separator row
...
Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=740851
2014-11-29 18:49:46 -05:00
Matthias Clasen
6a618bf48c
widget-factory: Add some margins to text views
2014-11-12 17:23:45 -05:00
Matthias Clasen
dd7a851f69
widget-factory: Fill up page 2 properly
...
The collapsed expander leaves and odd empty corner, so expand
it initially.
2014-11-05 06:29:47 -05:00
Matthias Clasen
45c0461f9b
widget-factory: Add another osd
...
This is modeled after the totem osd.
2014-11-05 06:13:39 -05:00
Matthias Clasen
f32ec2e4be
widget-factory: Add mnemonics in the prefs dialog
...
This helps testing the mmemonic label display in the inspector,
and is just good practice.
2014-10-24 08:34:13 -04:00
Lapo Calamandrei
21536775d7
widget-factory: set show-border to false on page 3 notebooks
2014-10-24 13:08:06 +02:00
Matthias Clasen
7b28b1c9ba
widget-factory: Add a wide-handle example
2014-10-20 18:48:37 -04:00
Matthias Clasen
f3f0fc6bb2
widget-factory: Add a missing scrolled window
2014-10-15 21:53:53 -04:00
Matthias Clasen
2e093eafbf
widget-factory: Add some vertical examples
...
This adds both a vertical toolbar and vertically linked buttons.
2014-10-15 21:42:51 -04:00
Matthias Clasen
c79ccfd6f1
widget-factory: Cosmetic improvement
2014-10-04 15:14:26 -04:00
Matthias Clasen
79afd7c8d7
widget-factory: More vertical linking examples
2014-10-04 15:01:29 -04:00
Matthias Clasen
b22919220b
widget-factory: Make the record button more interesting
2014-10-03 01:13:02 -04:00
Matthias Clasen
3b18ea71c3
widget-factory: Add a sidebar example
2014-10-03 01:04:29 -04:00
Matthias Clasen
5c46db1d77
widget-factory: Add more buttons
...
Some more button variations, found in the wild.
2014-10-02 23:38:58 -04:00
Matthias Clasen
5b36bd704b
widget-factory: Add a scale button
...
Instead of two volume buttons, make the second one a scale button
and use microphones.
2014-10-02 21:42:08 -04:00
Lapo Calamandrei
541511c89a
widget-factory: remove margin from app-notification
2014-09-04 20:18:31 +02:00
Matthias Clasen
2b643a6fd1
widget-factory: More variety in listbox content
...
Add rows with buttons and checkboxes to the listbox example
on page 2, and make the switch in row 1 toggle selection mode,
to test various cases of widgets in 'selected context'.
2014-09-02 22:25:29 -04:00
Matthias Clasen
7af9dc9e21
widget-factory: Add a missing style class
...
Unfortunately, constructing image-only buttons by just adding
the image as a child does not give us the image-button style
class. Add it manually.
2014-08-13 09:18:08 -04:00
Matthias Clasen
e654fe5124
widget-factory: Don't say 'Etched out' twice
...
There's no difference between these shadow types anymore, but
it is irritating to see the same label twice.
2014-08-12 22:21:08 -04:00
Matthias Clasen
79f4d5d610
widget-factory: Improve the flow box example
...
Make the selection actually do something. This is also an opportunity
to test the new draw-layer vfunc in GtkTextView.
2014-08-12 22:14:21 -04:00
Matthias Clasen
9fab7a684b
widget-factory: Add a flowbox example
...
This is now really polished yet, but will let us work towards
'responsive grid'.
2014-08-12 20:23:05 -04:00
Matthias Clasen
c46ca9b25b
widget-factory: Make dialogs non-resizable
...
They have no reason to be.
2014-08-12 20:23:05 -04:00
Matthias Clasen
7b5e8dff9d
widget-factory: Don't use rules-hint
2014-08-12 19:06:58 -04:00
Debarshi Ray
a397824e9b
widget-factory: Add a reset button to the notification
...
Change the initial value to something that is not a multiple of 3, so
that dismissing the notification on reset makes sense. Let's use 50
because that is already being used elsewhere.
https://bugzilla.gnome.org/show_bug.cgi?id=734614
2014-08-11 23:43:43 +02:00
Debarshi Ray
5d8efb43bc
widget-factory: Turn off focus-on-click for notification close button
...
... because that is what most applications are doing. So lets do the
same thing for the sake of consistency and setting a good example.
https://bugzilla.gnome.org/show_bug.cgi?id=734614
2014-08-11 23:43:43 +02:00
Matthias Clasen
0a44be21af
widget-factory: Make one switch start out active
...
This nicely shows off
https://bugzilla.gnome.org/show_bug.cgi?id=734213
2014-08-04 12:28:01 +02:00
Matthias Clasen
97237fc54c
widget-factory: Add a linked combobox example
...
This came up in https://bugzilla.gnome.org/show_bug.cgi?id=733979
2014-08-03 11:07:25 +02:00
Matthias Clasen
144083d402
widget-factory: Rename some widgets
2014-07-20 00:43:17 -04:00
Matthias Clasen
04b5c5f14a
widget-factory: Fix multi-selection example
...
It turns out that activate-on-single-click interferes with the
expected multi-selection behavior. Turn it off, since there's nothing
to activate in this list, anyway.
2014-07-14 09:17:47 -04:00
Matthias Clasen
0431ee2b57
widget-factory: Use multi-selection for the listbox example
2014-07-14 08:49:54 -04:00
Matthias Clasen
f955548f47
widget-factory: Fix a typo
2014-07-13 13:00:37 -04:00
Matthias Clasen
42d97c380e
widget-factory: Use the new ::activatable property
2014-07-13 09:26:35 -04:00
Matthias Clasen
8d70b4692f
widget-factory: Improve listbox example spacing
2014-07-13 09:04:58 -04:00
Matthias Clasen
9b6563dcdc
widget-factory: Add some row activation to the listbox example
...
This shows some fallout from the gesture conversion.
2014-07-12 14:47:48 -04:00
Matthias Clasen
e54dad135c
widget-factory: Add another listbox example
...
This one is long enough to scroll, and has selection.
2014-07-12 03:31:29 -04:00
Matthias Clasen
0331dc984b
widget-factory: Add a selectable label
...
We already have selectable labels in some of the dialogs,
but this is more direct, and also shows links in labels.
2014-07-11 22:23:33 -04:00
Matthias Clasen
3780fc787c
widget-factory: Adapt to label clipping change
...
The paned examples on page 2 were implicitly relying on labels
drawing unclipped. Instead of setting the view class only on the
labels, set it on the paned's instead.
2014-07-11 21:15:03 -04:00
Matthias Clasen
797e7968f3
widget-factory: Enable even/odd rows
...
More treeview testing.
2014-07-10 07:15:33 -04:00
Matthias Clasen
f78a224e96
widget-factory: More treeview examples
...
The new treeview on page 3 sports expanders, grid and tree lines,
alternating row colors, etc.
2014-07-10 06:33:49 -04:00
Matthias Clasen
b31a310d7d
widget-factory: Use the new application resource support
2014-07-09 10:13:38 -04:00
Jakub Steiner
a673553aba
widget-factory: the menu icon name changed
2014-07-09 13:35:57 +02:00
Matthias Clasen
092c26871e
widget-factory: Use view-context-menu-symbolic
2014-07-08 06:53:30 -04:00
Matthias Clasen
04f9445302
widget-factory: Content for the action dialog
...
Dialogs look better with some actual content.
2014-07-08 06:33:19 -04:00
Matthias Clasen
59f3211b61
widget-factory: Add reorderable treeview columns
2014-07-07 14:35:33 -04:00
Matthias Clasen
3939e3ffcc
widget-factory: Fill out settings dialog
...
This gives an opportunity to use the dim-label style class.
2014-07-06 23:10:44 -04:00
Matthias Clasen
079e08f92d
widget-factory: Add some mnemonics
2014-07-04 16:49:55 -04:00
Matthias Clasen
58f27de927
widget-factory: Unset needs-attention too
...
This is not done automatically, so unset needs-attention when
the page becomes current.
2014-07-04 16:27:11 -04:00
Matthias Clasen
5e5ecbbf81
widget-factory: show off needs-attention stack pages
...
When clicking 'Action' in the 'Act' dialog, we mark the third
page as needing attention a second later. This unveils that we
currently don't have any theming for needs-attention in Adwaita.
2014-07-04 15:46:47 -04:00
Matthias Clasen
f64b6b3479
widget-factory: Expand the treeview example a bit
...
Show resizable, sortable and ellipsizable columns.
2014-07-02 23:55:20 -04:00
Matthias Clasen
eaa3329cde
widget-factory: Use a standard icon name
...
Using edit-find instead of search has the advantage that there
is a symbolic variant of the icon.
2014-06-30 13:24:28 -04:00
Matthias Clasen
c389fc64f7
widget-factory: Add an icon view
...
We didn't have one before, and this gives us a chance to show off
rubberbanding and symbolic icon rendering.
2014-06-28 11:37:29 -04:00
Matthias Clasen
76eed98b36
widget-factory: Enable alpha in the color button
...
This lets us verify that the theme treats the alpha scale fairly.
2014-06-28 11:12:23 -04:00
Matthias Clasen
ad09fbbac0
widget-factory: Stop using GtkImageMenuItem
...
A plain GtkMenuItem works just fine here.
2014-06-27 21:45:33 -04:00
Matthias Clasen
d7bccbe53b
widget-factory: Stop using the deprecated GtkAlignment::left-padding
...
These alignments can just be dropped without loss.
2014-06-27 21:45:23 -04:00
Matthias Clasen
e73aa234e9
widget-factory: Don't use deprecated GtkColorButton::color
...
Instead, simply set the rgba property, which accepts the
same value.
2014-06-27 21:45:18 -04:00
Matthias Clasen
cac4050240
widget-factory: Drop redundant defaults from the .ui file
...
In particular, we drop xalign, since it is deprecated.
2014-06-27 21:40:08 -04:00
Matthias Clasen
11e394b7b5
widget-factory: Fix another icon size problem
...
0 is still not a valid icon size.
2014-06-22 13:32:50 -04:00
Matthias Clasen
a5543beced
widget-factory: Fix an icon size problem
...
0 is not a valid icon size, and setting it has unpredictable
results. Replace it by 1, which is the right icon size to use
in buttons.
2014-06-22 11:52:11 -04:00
Matthias Clasen
a24ef62f4d
Big spinner
2014-06-20 15:54:17 -04:00
Matthias Clasen
e7af95a40c
widget factory: Add a statusbar
...
A widget that is not represented in the widget factory is likely
to not get proper attention from theme authors.
2014-06-20 11:10:22 -04:00
Matthias Clasen
5ef4d71b15
widget-factory: Add some tooltips
2014-06-12 05:53:31 -04:00
Matthias Clasen
1e63d94a06
widget-factory: Avoid a crash
...
We want to be able to show the dialogs more than once, so just
hide them on delete.
2014-06-05 18:46:50 -04:00
Matthias Clasen
fbc3c1494f
widget-factory: Show some 'standard' dialog types
...
Add examples for the types of dialog that are mentioned
in the GNOME HIG: information dialogs, action dialogs and
preference dialogs.
2014-06-05 18:08:45 -04:00
Matthias Clasen
85a4b65f11
Trivial string change
...
Capitalize 'Expander' in the widget-factory UI.
2014-06-05 18:08:44 -04:00
Nikita Churaev
9187b6bae7
Populate page 2 of the Widget Factory
...
https://bugzilla.gnome.org/show_bug.cgi?id=729598
2014-05-11 10:48:37 -04:00
Nikita Churaev
73b04b5434
Don't stretch switches in Widget Factory
...
https://bugzilla.gnome.org/show_bug.cgi?id=729594
2014-05-11 10:48:22 -04:00
Cosimo Cecchi
f656fc5997
widget-factory: use same spacing for buttons column
...
So that they nicely align with entries. Useful when tweaking the theme.
2014-05-09 11:02:41 -07:00
William Jon McCann
1c30470558
widget-factory: add linked entry and button example
2014-05-07 05:03:45 -04:00
Matthias Clasen
4d36fab72a
widget-factory: populate the second page more
...
Add back a menubar example that was lost a while ago, and also
include a searchbar and an infobar.
2014-04-29 21:43:11 -04:00
Matthias Clasen
bc057d849a
widget-factory: rearrange page 2 a bit
2014-04-29 16:51:44 -04:00
Matthias Clasen
f248b21b1b
widget-factory: Add a horizontal-buttons example
...
Sadly, we don't have good icons for payment methods...
2014-04-29 06:22:28 -04:00
Matthias Clasen
f1b423e60f
Add a popover menu example to gtk3-widget-factory
2014-04-27 12:13:35 -04:00
Matthias Clasen
6cd3c73f21
Add a paned example to gtk3-widget-factory
2014-04-27 10:30:10 -04:00
Matthias Clasen
e087f434a3
widget-factory: Remove unnecessary signal handlers
...
quitting the mainloop when none is running gives a critical
warning on shutdown.
2014-04-12 22:12:38 -07:00
Matthias Clasen
b86f54b54a
widget-factory: Add a listbox example
2014-04-12 21:45:30 -07:00
Matthias Clasen
4e64708b3d
widget-factory: Improve actionbar appearance
...
We are using the actionbar in the middle of the window, which
is not really what it is designed for. To avoid the unfinished
appearance on the sides, move it into the frame that we have
around the stack below. This fixes the sides, but gives the top
a double stroke. Too bad.
2014-04-12 21:09:03 -07:00
Matthias Clasen
2fab389930
widget-factory: Avoid ugly resizing on map
...
The text view is resizing several times after the window is mapped.
Not setting a hscrollbar-policy of never avoids that, and a
scrollbar still doesn't appear. Magic
2014-04-12 20:46:17 -07:00
Matthias Clasen
454c485ebe
widget-factory: Use a popover gear menu
2014-03-26 20:04:21 -04:00
William Jon McCann
cbbc5d474a
widget-factory: add entry progress modes
2014-02-26 11:16:06 -05:00
Matthias Clasen
73b9d4d86b
widget factory: Style the revealer as a notification
...
Just to show that this is essentially the same as GdNotification
already.
2014-02-04 15:58:04 -05:00