Matthias Clasen
bb41cfe9d9
Improve warning
...
Mention the file that we're failing to load. That makes it obvious
what is wrong.
2014-10-30 13:41:13 -04: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
4cbc0191cb
widget-factory: Example for edge-overshot
...
For extra fun, make some noise.
2014-10-20 20:54:31 -04: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
Jehan
4376b4f705
Fix the build of the native gtk-update-icon-cache when cross-compiling.
...
As a noinst_PROGRAMS, the libtool generated for cross-compiling will be
used, which will mess up the linking. Create a all-local target instead.
Also ensure that building uses always a native version of the tool by
specifying a GTK_UPDATE_ICON_CACHE automake variable.
Finally "config.h" has been created to work for the target platform and
causes problem when cross-compiling. So we temporarily generate a basic
config.h which contains only the strict minimum.
2014-08-13 21:06:51 +00:00
Matthias Clasen
d47192179b
widget-factory: Avoid a compiler warning
...
This is adjusting to the draw_layer signature change.
2014-08-13 09:19:09 -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
228fe00ecc
widget-factory: Avoid a runtime warning
...
Don't set accelerators too early. GTK+ has not yet been initialized
at that point in main.
2014-07-22 15:32:45 -04:00
Matthias Clasen
2cb1052987
widget-factory: Show accelerators
...
We set this up manually here. This could be automated by
constructing the menubar from a menu model.
2014-07-20 00:43:17 -04:00
Matthias Clasen
144083d402
widget-factory: Rename some widgets
2014-07-20 00:43:17 -04:00
Matthias Clasen
48b9b4520b
widget-factory: Add accelerators for some actions
...
With this, Ctrl-Q will close the window, and Ctrl-D will
toggle the dark theme. The accelerators are currently not
shown in the (manually constructed) menus.
2014-07-20 00:43:08 -04:00
Matthias Clasen
bbb324688f
Trivial: Move resources into the same prefix
2014-07-19 18:34:58 -04:00
Matthias Clasen
6557a51827
widget-factory: Mark selectable listbox rows non-activatable
...
Having them selectable is sufficient to get the hover effect.
2014-07-15 23:57:33 -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
f2c6b31e67
widget-factory: Fix the row activation example
...
Turns out ::activate on listbox rows is only for key bindings,
so use ::row-activated.
2014-07-12 17:30:25 -04:00
Matthias Clasen
3cbdbdd3e6
widget-factory: Demonstrate listbox headers
...
Add a less trivial examples of headers in the colors listbox.
2014-07-12 14:47:48 -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
Stefano Facchini
1aa54bb946
widget-factory: Do no crash on variadic arguments
2014-07-12 11:43:14 +02: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
Benjamin Otte
62971dd999
widget-factory: This is not a unique app
...
When running widget-factory a 2nd time, it's usually to compare its
output with a different version of widget-factory.
2014-07-12 07:13:28 +02: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