summaryrefslogtreecommitdiff
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* widget-factory: Add new widgetsMatthias Clasen2013-04-232-14/+197
| | | | | Add GtkStack and GtkRevealer to the second page in gtk3-widget-factory.
* Add a revealer example to gtk-demoMatthias Clasen2013-04-224-1/+315
| | | | | I tried to make a 'revealer ballet'. Judge for yourself if I succeeded.
* Add a GtkStack example to gtk-demoMatthias Clasen2013-04-214-0/+136
|
* gtk-demo: Fix typoVolker Sobek2013-04-141-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675649
* gtk-demo: Remove multiscreen supportBenjamin Otte2013-04-061-103/+11
| | | | | There's only one screen per display, so no need to let users select from a list of that 1 screen.
* Bug 695895: Fix gtk3-demo on WindowsChun-wei Fan2013-03-261-6/+11
| | | | | | | | | | | | | | | | In commit 4e41577b, we are using g_content_type_is_a() to determine how to display the demo resources in the right pane of the gtk3-demo program. Use g_content_type_get_mime_type(), so that we can obtain the mime type of the demo resources on all platforms, as g_content_type_guess() returns a platform-specific string, as https://developer.gnome.org/gio/2.35/gio-GContentType.html states. As .ui files and .css files are normally registered with a different mime type string on Windows, check for those strings as well. This will ensure the demo resources can be properly displayed on Windows as well.
* gtk-demo: Create new textbuffers for new source/info textsBenjamin Otte2013-02-261-48/+49
| | | | | | | | | This is so we can prepare these buffers without them being set on the widgets yet and only gtk_text_view_set_buffer() them afterwards. And this in turn gets rid of all the a11y events we were needlessly emitting. https://bugzilla.gnome.org/show_bug.cgi?id=694406
* Convert pixbuf animation demo (both copies) to GdkFrameClockOwen W. Taylor2013-02-212-38/+29
| | | | | | | Use the frame clock instead of a 50ms timeout to animate the spinning pixbufs. https://bugzilla.gnome.org/show_bug.cgi?id=694302
* gtk3-demo: Fix up resource handlingAlexander Larsson2013-02-145-17/+17
| | | | | | We're not loading css files via resouce uris, as we want to support editing, so we need to use absolute references to any included resources.
* Remove remnants of localization from gtk-demoMatthias Clasen2013-02-111-1/+1
| | | | | gtk-demo isn't localized at this point. https://bugzilla.gnome.org/show_bug.cgi?id=681578
* Don't use gtk_scrolled_window_add_with_viewport() in testsCosimo Cecchi2013-02-011-4/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693015
* Use consistent capitalization of demo titlesMatthias Clasen2013-02-011-3/+3
|
* Avoid perl warningsMatthias Clasen2013-02-011-6/+6
| | | | Apparently, defined is not cool anymore.
* Make the text look a bit nicerMatthias Clasen2013-02-011-0/+2
| | | | | Add a margin around the text, and some space between the title and the body of the info tab.
* Set the notebook to be scrollableMatthias Clasen2013-02-011-0/+1
| | | | The pixbufs example has just too many files..
* Revert "Forgotten file"Matthias Clasen2013-02-011-1/+1
| | | | This reverts commit 1d72682332cfac909e62f3ba1cf3d7ee3c7d1490.
* Don't strip whitespace from ui filesMatthias Clasen2013-02-011-3/+3
| | | | That turns them into gibberish when we show them in the ui.
* gtk-demo: Fix geniclude.pl.in to not look for extra filesBenjamin Otte2013-02-021-8/+1
| | | | | | This was supposed to be fixed in 08667728190dcd7e19ddbbead4add714fab23364 but I fixed the generated geninclude.pl. Oops.
* gtk-demo: Replace logo with a transparent oneBenjamin Otte2013-02-018-27/+16
| | | | That way, we don't have to make it transparent in all the demos.
* gtk-demo: Move resources into the tests they belongBenjamin Otte2013-02-016-19/+25
| | | | | This also gets rid of the nasty @import("resource:///...") lines in the css files.
* gtk-demo: Remove custom CSS demoBenjamin Otte2013-02-014-136/+0
| | | | | Custom CSS is something that we don't want to advertise as there are too many pitfalls for using it correctly. So remove the demo for it.
* gtk-demo: Remove file lists from demo dataBenjamin Otte2013-02-018-20/+15
| | | | | We can get it from parsing resources now, so no need to manually add them.
* gtk-demo: Display all resources on the right sideBenjamin Otte2013-02-011-17/+54
| | | | | | | This way, people know what stuff we are loading. And instead of listing all the files in the top (and forgetting things), we just take them from the resources list.
* gtk-demo: Stop installing filesBenjamin Otte2013-02-011-23/+13
| | | | | As everything is handled via resources now, there's no need to install the files anymore.
* gtk-demo: Remove demo_find_file() functionBenjamin Otte2013-02-0117-87/+0
| | | | | It's not used anymore. With it, the demo-common.h header is not needed anymore and is removed, too (and all the needless includes).
* gtk-demo: Load icon from resourceBenjamin Otte2013-02-012-49/+15
|
* gtk-demo: Display extra files from resourcesBenjamin Otte2013-02-011-27/+28
|
* xxx: Add source filesBenjamin Otte2013-02-011-0/+1
|
* gtk-demo: Don't use subfolders for resourcesBenjamin Otte2013-02-012-7/+5
| | | | This confuses the notebook that is displaying them.
* gtk-demo: Don't use aliases for filenamesBenjamin Otte2013-02-015-9/+9
| | | | | This is necessary so the files displayed in the left notebook match the files referenced in the source code.
* gtk-demo: Port pixbufs example to resourcesBenjamin Otte2013-02-012-27/+22
|
* gtk-demo: Port textview example to resourcesBenjamin Otte2013-02-012-21/+7
|
* gtk-demo: Port images example to resourcesBenjamin Otte2013-02-012-55/+11
|
* gtk-demo: Port images example to GInputStreamBenjamin Otte2013-02-011-26/+54
|
* gtk-demo: Port iconview example to use resourcesBenjamin Otte2013-02-013-111/+75
|
* gtk-demo: Port appwindow example to resourcesBenjamin Otte2013-02-013-39/+21
|
* gtk-demo: Port builder example to resourcesBenjamin Otte2013-02-013-5/+5
|
* gtk-demo: Make printing example use resourcesBenjamin Otte2013-02-011-8/+8
|
* gtk-demo: Load sources from resourcesBenjamin Otte2013-02-011-16/+9
|
* gtk-demo: Load the demo files using g_file_get_contents()Benjamin Otte2013-02-011-75/+20
| | | | ... instead of massaging a FILE* with flockfile() and ungetc().
* gtk-demo: Include the source files as resourcesBenjamin Otte2013-02-011-0/+49
|
* Remove accidental commit that broke gtk3-demoAlexander Larsson2013-01-291-3/+0
| | | | | | A piece of test code accidentally snuck into a commit that made gtk3-demo not find its data files, this patch just reverts that change.
* Add git.mk to more placesJasper St. Pierre2013-01-241-0/+2
|
* Plug two memory leakMatthias Clasen2013-01-202-0/+2
| | | | g_resources_lookup_data returns a GBytes that must be unreffed.
* broadway: Make /dev/shm names nicerAlexander Larsson2013-01-101-0/+3
|
* gtk-demo: Beautify a demoBenjamin Otte2012-10-011-2/+2
| | | | | Use auto for the background size instead of 100% to avoid uglyfying the background byt blurring it when the window gets larger.
* gtk-demo: Use explicit resource:// urls in CSSBenjamin Otte2012-10-015-20/+20
| | | | | ... because we load the data from a GtkTreeView::changed callback, the relative directory is cwd. And we want the resources...
* gtk-demo: Add missing file to resourcesBenjamin Otte2012-10-011-0/+1
|
* gtk-demo: Add a CSS shadows demoBenjamin Otte2012-09-214-0/+196
|
* gtk-demo: fancier css demoMatthias Clasen2012-09-171-14/+55
| | | | Thanks to Lapo Calamandrei.