d704f2bd2e
gtk: Add GtkSearchEntry
...
Add a search entry widget with the recommended behaviour implemented.
As used in gnome-control-center, Totem, gnome-documents and many others.
https://bugzilla.gnome.org/show_bug.cgi?id=652809
2012-06-11 19:02:55 +01:00
5c76c1b059
Silence compiler warnings
2012-05-30 14:28:16 -04:00
21342cbfde
gtk-demo: unify Theming and CSS theming sections
2012-05-30 13:17:23 -04:00
887d83b685
gtk-demo: display tabs for CSS files in theming demos
2012-05-30 13:17:23 -04:00
46f967dd7a
gtk-demo: don't try to add tabs for empty filenames
2012-05-30 13:17:23 -04:00
c5629fd06a
gtk-demo: add a demo for CSS multiple backgrounds
2012-05-30 13:17:23 -04:00
561e24b77b
gtk-demo: move styling for the CSS editor to a separate file
...
So it can be shared by multiple demos
2012-05-30 13:17:23 -04:00
98fa2a39bc
gtk-demo: add a test for a CSS accordion
2012-05-30 13:17:23 -04:00
6461105429
main: Don't overrun the file that's read
2012-05-30 13:17:23 -04:00
075b259321
gtk-demo: Make CSS a resource
...
Also, improve the CSS to give you that basic feel.
2012-05-30 13:17:22 -04:00
6c7f99d01e
gtk-demo: Include resources in main app
...
This is necessary for future changes
2012-05-30 13:17:22 -04:00
45d0313001
gtk-demo: Rename resources file
...
More tests want to use resources, so make that possible.
2012-05-30 13:17:22 -04:00
04e8a8a5ed
gtk-demo move application demo resources into a namespace
2012-05-30 13:17:22 -04:00
3d98275961
gtk-demo: Add a name property to the demos
2012-05-30 13:17:22 -04:00
8a5f08976d
gtk-demo: Add a simple example for theming
2012-05-30 13:17:22 -04:00
aee7544d99
gtk-demo: Add a help stock menuitem
2012-05-26 12:08:52 -04:00
46cc815829
Add a custom css example
2012-05-25 22:03:47 -04:00
ebe4595cdb
Update window title
2012-05-25 20:50:35 -04:00
5e7f8e4333
gtk-demo: Move Theming to Theming/Style Classes
...
And make the title :: parsing work for nested titles too,
so this works.
2012-05-25 20:40:47 -04:00
1d72682332
Forgotten file
...
This change to geninclude.pl.in is needed to make my commit
91d01434bc work.
2012-05-25 20:25:43 -04:00
6480f3c685
gtk-demo: Add a theming example
2012-05-18 01:23:45 -04:00
91d01434bc
gtk-demo: Show data files as well
...
Several demos use .ui files and the like. The demos are much
more useful if these files can be inspected in the ui as well.
2012-05-18 00:48:57 -04:00
fc86f2af1d
gtk-demo: Update language in colorsel demo
...
We're no longer demoing GtkColorSelection, it is GtkColorChooser now.
2012-05-17 22:13:00 -04:00
4e18e5f687
gtk-demo: fix the tool palette demo
...
The palette was confined to its minimal size, when in horizontal mode.
2012-04-27 08:30:05 -04:00
516fb89065
gtk-demo: Find gtk-demo-application.exe on win32
...
We need to append the ".exe" extension when looking for the
application file on windows.
2012-04-20 16:00:48 +02:00
b1c28151f6
gtk-demo: fix the colorsel example
...
It is necessary to hide the dialog on "response", else it won't
go away.
2012-03-02 09:57:53 -05:00
05d438ebe2
gtk-demo: Fix gcc warnings
2012-03-01 05:32:09 +01:00
f8ca9a86b2
demos/gtk-demo/infobar.c: Do not use gtk_dialog_run()
2012-02-27 17:06:11 +00:00
8408819d61
demos/gtk-demo/colorsel.c: Do not use gtk_dialog_run()
2012-02-27 17:06:11 +00:00
92322a63f5
gtk-demo: use the new GtkColorChooserDialog in the color demo
2012-02-14 16:37:02 -05:00
41e98b14d3
gtk-demo: Use preprocessing for resources
...
Strip blanks from ui files, and convert pngs into pixdata.
This is useful and serves as a test of these preprocessing
options at the same time.
2012-02-09 08:08:23 -05:00
72ede43928
gtk-demo: Use gdk-pixbuf resource api
...
This is nicer than manual stream manipulation.
2012-02-09 08:08:23 -05:00
585a6652d5
Use G_SOURCE_CONTINUE/REMOVE
...
Now that GLib provides these macros, we should use them
to make the code more readable.
2012-01-30 19:12:27 -05:00
f7c6c97710
gtk-demo: Use symbolic names for button numbers
2012-01-27 09:47:44 +01:00
eed307713b
GtkBuilder: change format of menus
...
Change the format of GtkBuilder <menu> to be more in-line with the style
of the rest of GtkBuilder so that we can do translation in a consistent
way.
The format is now substantially more difficult to hand-write, but tools
should be along soon.
There is an xslt program attached to the bug to help you convert your
existing .ui files from the old format to the new one.
https://bugzilla.gnome.org/show_bug.cgi?id=668696
2012-01-25 19:42:19 -05:00
d818bdc297
gtk3-demo-application: add an example for the new api
...
Turn the menutoolbutton menu into one that is gmenu/gaction backed.
2012-01-24 22:27:28 -05:00
3104e5d2c1
Add an example for settings<>action integration
...
Turn the 'color' action in gtk3-demo-application into an
action that is backed by a setting.
2012-01-24 00:07:03 -05:00
a55ef45515
gtk3-demo-application: fix sections
...
<section> doesn't need to be given in a menubar but it does need to be
given for submenus, so add those ones back.
2012-01-16 17:19:26 -05:00
2a6a354aa8
gtk-demo: Improve the GtkApplication demo
...
Following suggestions in bug 667968
2012-01-16 17:07:12 -05:00
84883ccf7c
Fix build
...
Was getting this error:
main.c:785:13: error: ‘gtk_demos’ undeclared (first use in this function)
main.c:785:13: note: each undeclared identifier is reported only once for each function it appears in
main.c: In function ‘main’:
2012-01-16 13:58:23 +01:00
261abe55c4
Forgotten file
2012-01-15 14:46:31 -05:00
45d9b912d9
Add a GtkApplication example to gtk3-demo
2012-01-14 20:35:18 -05:00
5783d3b68c
gtk-demo: Prove that links work fine now
...
Also, doodling is fun.
2012-01-06 05:23:42 +01:00
f8426cd706
gtk-demo: Fix warnings in changedisplay
...
Use the brute force fix. I'm not really interested in fixing this
properly.
2011-12-16 04:53:17 +01:00
3b0a9c59cc
demo: Add test for hide-titlebar-when-maximized
...
Add an additional option to the appwindow demo to test the new
gtk-hide-titlebar-when-maximized setting.
https://bugzilla.gnome.org/show_bug.cgi?id=665616
2011-12-15 16:31:57 +01:00
288b1539d1
Fix demo to use a "normal" transparent value now that it works.
...
The last commit fixed this, so lets have a sane value in the demo code.
2011-12-06 14:12:24 +01:00
4962167864
gtk-demo: Add test of transparent GdkWindows
...
This shows a semi-transparent shadow from a GtkOverlay window
2011-12-06 00:23:58 +01:00
6a6af8464b
gtk-demo: Fix segfault in editable cells demo
...
The strings can be freed when edting the description column. This does
not work with constant strings.
2011-11-22 23:29:04 +01:00
d1d2d71159
demos: Remove non-working code
...
It causes warnings, so it has to go.
The cursor doesn't change anyway, no matter if it's there or not.
2011-11-09 03:46:23 +01:00
c9c9099f83
gtk-demo: Remove excessive pointer querying
2011-11-09 03:23:43 +01:00