Matthias Clasen
1ffcdfcc32
icon browser: Set up dnd from the detail popup
...
Allow dragging the various icon sizes as images.
2015-02-22 14:44:10 -05:00
Matthias Clasen
ae63b21c61
icon browser: Add some dnd support
...
Use a custom tree model and enable dragging from the icon view.
Currently, we just support dropping the icon name as text.
2015-02-22 14:44:10 -05:00
Matthias Clasen
967ba60303
icon browser: Activate on single-click
...
We want to get away from double-clicks everywhere.
2015-02-22 14:44:10 -05:00
Matthias Clasen
ee857cd261
icon browser: stop selecting
...
We don't need the selection here.
2015-02-22 14:44:09 -05: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
Emmanuele Bassi
6bf55142ee
demo: Change the resource path for the shaders
...
We need to use the same name as the "plugin" so that the main UI will
display the resources inside a notebook tab.
2015-02-09 19:32:38 +00:00
Emmanuele Bassi
3b4bf963f6
demo: Move the GLSL shaders to resources
...
It's easier to use them or modify them as separate files, instead of
inlined inside the C source.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
2015-02-09 19:10:31 +00:00
Emmanuele Bassi
01d1cdc76c
demos: Update the GtkGLArea demo code
...
Same way we updated the testglarea test code.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
2015-02-09 19:10:30 +00:00
Matthias Clasen
a0ecb44b41
gtk-demo: Show search entry signals
2015-01-24 08:44:30 -05:00
Matthias Clasen
531fa78601
gtk-demo: Make editable cells demo more robust
...
When removing all rows, trying to add rows would not work
and throw criticals. This is fallout from a recent change
to insert rows at the right position. Fix this by handling
the 'empty model' case separately.
https://bugzilla.gnome.org/show_bug.cgi?id=743157
2015-01-19 07:36:08 -05: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
Benjamin Otte
f0a40b1a23
widget-factory: Don't pulse dead widgets
...
Causes crashes at cleanup and we don't want those.
Also, code gets simpler.
2014-12-19 19:20:06 +01:00
Phillip Wood
6b26464fbb
Editable cells demo: Add new row at cursor
...
Adding rows to the bottom of the list is confusing as you cannot see
them if the window is small so it is not apparent that anything has
happened. Fix this by adding the new row immediately below the current
row and set the cursor on the new row so it is ready to be edited.
https://bugzilla.gnome.org/show_bug.cgi?id=721939
2014-12-07 18:53:30 -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
Trinh Anh Ngoc
7717b0d556
Add separator
...
https://bugzilla.gnome.org/show_bug.cgi?id=741027
2014-12-02 23:15:19 -05:00
Trinh Anh Ngoc
01c941b046
Remove icon view window shadow
...
https://bugzilla.gnome.org/show_bug.cgi?id=741027
2014-12-02 23:15:19 -05:00
Rui Matos
e629aba1a2
Drop remaining traces of GTK_UPDATE_ICON_CACHE build variable
...
Commit 655c75cab7
removed the need for
this variable but left a couple of uses in. Drop them.
2014-12-01 18:32:56 +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
Jasper St. Pierre
641d4c4e3d
Fix build
2014-11-28 14:03:57 -08:00
Jakub Steiner
53e07d3c0f
Provide symbolic variants of app icons
...
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
2014-11-28 16:08:56 -05:00
Matthias Clasen
6a618bf48c
widget-factory: Add some margins to text views
2014-11-12 17:23:45 -05:00
Matthias Clasen
d50dd1d33c
gtk3-demo: Use better text margins
...
We really want margins around the scrollable content, not around
the viewport. Make it so by using textview-specific properties.
This is unfortunately a little complicated for top/bottom.
2014-11-12 16:05:49 -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
fcdec5ac41
icon-browser: Add search
...
Most of the code was already in place, just some loose ends
to fix up.
2014-10-31 22:28:17 -04:00
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
e36b57e7f9
gtk-demo: Drop uses of gdk_cursor_new()
...
Use gdk_cursor_new_for_display() instead.
2014-10-28 00:56:46 -04:00
Matthias Clasen
a680631345
gtk3-demo: Add a frame to the sidebar
...
With overlay scrollbars, there's no visible separation between
the sidebar and the content otherwise.
2014-10-27 17:15:31 -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
Lars Uebernickel
582adcab1a
Add GDK_DEP_LIBS to demos and tests
...
Some of them depend on libepoxy now.
2014-10-15 16:15:35 +02:00
Alexander Larsson
62a26eb3c8
Add glarea demo to gtk3-demo
2014-10-13 10:43:31 -04:00
Matthias Clasen
d120346992
gtk3-demo: Don't use deprecated API
...
Replace various override calls.
2014-10-07 00:48:30 -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
Benjamin Otte
c9d9c9158f
gtk-demo: Replace old code
...
"Hey I know, let's do an easter egg!"
"What kind of easter egg?"
"We can nest lots of textviews!"
"Sounds cool!"
...
"But how does one see a textview inside a textview?"
"What do you mean?"
"Well, it just looks like black text on a white background."
"You mean it's the same as if we just duplicated the text?"
"Yeah!"
"Hrm, maybe we can put a frame around it."
"Sounds good. I'll stuff the textviews in a GtkFrame."
"What? Why? Let's use a GtkEventBox and override its background"
"Why is that a good idea when we have GtkFrame?"
"Because I said so!"
"Okay."
2014-10-03 06:59:14 +02:00
Benjamin Otte
2b6a4ba890
gtk-demo: Remove useless code in colorsel example
...
We have the color stored in a global variable already. There is
absolutely no need to also force it into the CSS machinery.
2014-10-03 06:48:18 +02:00
Benjamin Otte
23a4affb6f
gtk-demo: Improve flowbox demo code
...
Overriding the background color for a color swatch is wrong. The color
is not the background, it's the foreground, so it should be painted in
a draw signal handler.
2014-10-03 06:45:38 +02:00
Benjamin Otte
40e0973709
gtk-demo: Remove unneeded code
...
Overlays are transparent by default, no need to override them to be.
2014-10-03 06:40:13 +02:00
Benjamin Otte
2fbc77fce1
gtk-demo: Properly override font color in combobox example
2014-10-03 06:38:21 +02: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
Matthias Clasen
eb88ce429c
gtk-demo: Make the sidebar demo scroll
2014-10-02 18:06:02 -04:00