gtk2/demos/gtk-demo
Matthias Clasen 05255bfc90 gtk-demo: Modernize source highlighting
Drop the homegrown highlighting code, and just use highlight
to produce Pango markup.

When using an external highlighter, we can also highlight css,
xml, headers, at least.
2020-08-07 11:54:10 -04:00
..
data gtk-demo: Rename to org.gtk.Demo4 2019-04-02 00:27:32 +00:00
icons/16x16 Add a missing icon 2019-02-13 12:49:31 -05:00
alias_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
all_scroll_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
alphatest.png fix some shell typos 2001-05-07 15:58:47 +00:00
apple-red.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
application_demo.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
application.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
application.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
assistant.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
background.jpg fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
blendmodes.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
blends.png demo: add a demo for blend modes 2016-07-03 17:24:47 -04:00
bluroverlay.c gtk-demo: Port blur demo from GtkBin 2020-05-04 22:53:08 -04:00
bluroverlay.h gtk-demo: Port blur demo from GtkBin 2020-05-04 22:53:08 -04:00
brick2.png gtk-demo: Add demo of hidpi css assets via -gtk-scaled() 2013-07-03 14:39:25 +02:00
brick.png gtk-demo: Add demo of hidpi css assets via -gtk-scaled() 2013-07-03 14:39:25 +02:00
builder.c gtk-demo: Plug a leak 2020-05-21 15:41:48 -04:00
cell_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
clipboard.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
cmy.jpg demo: add a demo for blend modes 2016-07-03 17:24:47 -04:00
col_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
color.names.txt gtk-demo: Add a large grid demo 2020-05-30 19:31:38 -04:00
combobox.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
constraints2.c gtk-demo: Cosmetics 2020-06-06 22:05:52 -04:00
constraints3.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
constraints.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
context_menu_cursor.png gtk3-demo: Add context-menu cursor 2016-05-17 13:39:18 -04:00
copy_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
crosshair_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
css_accordion.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
css_accordion.css gtk3-demo: Fix some css warnings 2016-05-30 16:19:19 -04:00
css_basics.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
css_basics.css gtk-demo: Fix selection in css basics demo 2015-11-21 21:04:02 +01:00
css_blendmodes.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
css_blendmodes.css gtk3-demo: Simplify the blendmodes example a bit 2016-07-04 09:59:25 -04:00
css_multiplebgs.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
css_multiplebgs.css gtk-demo: Add demo of hidpi css assets via -gtk-scaled() 2013-07-03 14:39:25 +02:00
css_pixbufs.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
css_pixbufs.css gtk-demo: Fix the CSS examples 2015-11-17 20:02:05 -05:00
css_shadows.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
css_shadows.css gtk3-demo: Update css 2016-02-27 22:39:09 -05:00
cssview.css gtk3-demo: Fix some css warnings 2016-05-30 16:19:19 -04:00
cursors.c gtk-demo: Cosmetics 2020-06-06 22:05:52 -04:00
cursors.ui Drop the margin property 2020-02-25 20:59:04 -05:00
decor1.png gtk3-demo: Add another overlay demo 2015-07-28 22:47:57 -04:00
decor2.png gtk3-demo: Add another overlay demo 2015-07-28 22:47:57 -04:00
default_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
demo.gresource.xml gtk-demo: Add a listview demo for filtering strings 2020-07-06 03:42:42 +02:00
demo.ui Remove ATK 2020-07-26 20:31:14 +01:00
demoimage.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
demoimage.h gtk-demo: Polish the clipboard demo 2020-04-25 21:29:39 -04:00
demotaggedentry.c gtk-demo: Simplify the tagged entry demo 2020-08-02 21:39:23 -04:00
demotaggedentry.h gtk-demo: Modernize the tag entry demo 2020-06-19 11:42:47 -04:00
dialog.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
dnd.c gtk-demo: Don't use GtkColorSwatch 2020-07-17 20:44:06 -04:00
dnd.css gtk-demo: Add animated icons to the dnd demo 2020-06-19 19:26:43 -04:00
drawingarea.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
dropdown.c dropdown: Revise constructors 2020-07-26 18:09:54 -04:00
ducky.png demo: add a demo for blend modes 2016-07-03 17:24:47 -04:00
e_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
editable_cells.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
entry_completion.c gtk-demo: Enable inline completion 2020-06-24 13:02:50 -04:00
entry_undo.c gtk-demo: Cosmetic changes 2020-06-17 18:12:01 -04:00
ew_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
expander.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
filtermodel.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
filtermodel.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
fishbowl.c demos: Fix running on Visual Studio builds 2020-07-31 23:20:25 +08:00
fishbowl.ui headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
fixed.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
fixed.css Add GtkFixed demo 2019-04-02 20:52:49 +01:00
floppybuddy.gif fix some shell typos 2001-05-07 15:58:47 +00:00
flowbox.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
font_features.c gtk-demo: Avoid invalid OpenType feature tags 2020-08-02 21:13:37 -04:00
font-features.ui headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
fontplane.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
fontplane.h longpressgesture: Port to new API model 2018-04-26 17:59:42 +02:00
fontrendering.c gtk-demo: Make fontrendering demo work more than once 2020-08-05 14:36:54 -04:00
fontrendering.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
gears.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
geninclude.py demo: Use a listview as sidebar 2020-05-30 19:26:45 -04:00
gestures.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
glarea-gl.fs.glsl demo: Add GLES support to the GtkGLArea demo 2016-04-25 14:35:02 +01:00
glarea-gl.vs.glsl demo: Add GLES support to the GtkGLArea demo 2016-04-25 14:35:02 +01:00
glarea-gles.fs.glsl demos: Fix glarea demo on OpenGL/ES 2020-07-30 14:26:33 +08:00
glarea-gles.vs.glsl demo: Add GLES support to the GtkGLArea demo 2016-04-25 14:35:02 +01:00
glarea.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
gnome-applets.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnome-calendar.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnome-foot.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnome-fs-directory.png Add a simple file browser based on the icon view. 2004-07-04 20:35:35 +00:00
gnome-fs-regular.png Add a simple file browser based on the icon view. 2004-07-04 20:35:35 +00:00
gnome-gimp.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnome-gmush.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnome-gsame.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
gnu-keys.png fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
grab_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
grabbing_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
gtk_logo_cursor.png gtk-demo: Update cursors demo 2017-11-05 00:07:18 +01:00
gtk-logo.webm gtk-demo: Add a video example (with controls) to the images demo 2018-03-18 21:01:23 +01:00
gtkfishbowl.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gtkfishbowl.h demo: Clean up GtkFishbowl widget 2018-04-24 21:55:37 +02:00
gtkgears.c Fix minor typos 2020-05-28 11:00:03 +03:00
gtkgears.h gtk-demo: Add gears to the bowl 2018-01-17 14:39:46 -05:00
hand_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
headerbar.c headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
help_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
help-overlay.ui gtk-demo: Add a shortcuts window 2020-04-26 22:14:10 -04:00
hypertext.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
iconscroll.c demos: Fix running on Visual Studio builds 2020-07-31 23:20:25 +08:00
iconscroll.ui headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
iconview_edit.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
iconview.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
images.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
infobar.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
language-names.c gtk-demo: Use harfbuzz for font features 2019-11-01 13:01:54 -04:00
language-names.h gtk-demo: Update font explorer example 2018-01-03 14:56:36 -05:00
links.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
list_store.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
listbox.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
listbox.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
listview_applauncher.c listview: Revise constructors 2020-07-26 18:27:23 -04:00
listview_clocks.c gridview: Revise constructors 2020-07-26 18:50:50 -04:00
listview_colors.c gtk-demo: Plug a big memory leak 2020-08-06 21:14:11 -04:00
listview_colors.css gtk-demo: Track the selection 2020-07-02 22:59:03 -04:00
listview_filebrowser.c Cosmetic improvements to the filebrowser demo 2020-06-01 23:13:20 -04:00
listview_filebrowser.css gtk-demo: Make style apply in the file browser 2020-07-12 08:11:42 -04:00
listview_filebrowser.ui headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
listview_minesweeper_cell.ui gtk-demo: Add a minesweeper demo 2020-05-30 19:26:46 -04:00
listview_minesweeper.c gtk-demo: Add a minesweeper demo 2020-05-30 19:26:46 -04:00
listview_minesweeper.ui headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
listview_settings.c gtk-demo: Plug a small memory leak 2020-08-06 21:13:39 -04:00
listview_settings.ui headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
listview_weather.c listview: Revise constructors 2020-07-26 18:27:23 -04:00
listview_weather.txt gtk-demo: Add a rough start at a Weather demo 2020-05-30 19:26:45 -04:00
listview_words.c demo: fix memleak 2020-08-07 02:53:21 +02:00
main-listitem.ui demo: Use a listview as sidebar 2020-05-30 19:26:45 -04:00
main.c gtk-demo: Modernize source highlighting 2020-08-07 11:54:10 -04:00
main.ui demo: Clear filter when search is stopped 2020-07-12 16:47:51 -04:00
markup.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
markup.txt gtk-demo: Add overline to the markup demo 2020-06-06 21:38:31 -04:00
menus.ui gtk-demo: Stop using appmenu apis 2020-05-22 17:31:05 -04:00
meson.build gtk-demo: Add a listview demo for filtering strings 2020-07-06 03:42:42 +02:00
messages.txt gtk-demo: Fix a typo in the listbox demo 2020-06-25 14:28:29 -04:00
modelbutton.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
modelbutton.ui headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
move_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
n_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
ne_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
nesw_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
no_drop_cursor.png gtk-demo: Update no-drop cursor image 2016-05-17 13:40:52 -04:00
none_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
not_allowed_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
ns_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
nw_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
nwse_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
org.gtk.Demo4.appdata.xml Update our appdata files 2020-07-29 17:58:45 -04:00
org.gtk.Demo4.desktop gtk-demo: Rename to org.gtk.Demo4 2019-04-02 00:27:32 +00:00
org.gtk.Demo4.gschema.xml gtk-demo: Rename to org.gtk.Demo4 2019-04-02 00:27:32 +00:00
overlay2.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
overlay.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
pagesetup.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
paint.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
paintable_animated.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
paintable_mediastream.c mediastream demo: Add a weak pointer to the window 2020-08-01 08:59:46 +02:00
paintable.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
paintable.h demos: Round up the paintable demos with a media stream 2018-03-18 21:01:23 +01:00
panes.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
password_entry.c gtk-demo: Drop the awards 2020-06-04 10:19:44 -04:00
peg_solitaire.c headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
pickers.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
pixbufs.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
pointer_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
portland-rose.jpg gtk-demo: Add a new overlay demo 2017-10-06 21:58:56 -04:00
printing.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
progress_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
puzzlepiece.c puzzlepiece: Use new snapshot transforms 2019-02-21 19:47:28 +01:00
puzzlepiece.h demo: Add the sliding puzzle demo 2018-06-07 21:47:30 -04:00
reset.css gtk3-demo: Update css 2016-02-27 22:39:09 -05:00
revealer.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
revealer.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
rotated_text.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
row_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
s_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
scale.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
scale.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
script-names.c gtk-demo: Update font explorer example 2018-01-03 14:56:36 -05:00
script-names.h gtk-demo: Update font explorer example 2018-01-03 14:56:36 -05:00
se_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
search_entry2.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
search_entry.c gtk-demo: Fix cleanup of search entry demo 2020-08-02 21:53:59 -04:00
shortcut_triggers.c Don't use container api on GtkListBox 2020-05-11 22:21:39 -04:00
shortcuts-boxes.ui demos: Update GtkGrid definitions in UI files 2019-04-05 00:12:26 +01:00
shortcuts-builder.ui demos: Update GtkGrid definitions in UI files 2019-04-05 00:12:26 +01:00
shortcuts-clocks.ui demos: Update GtkGrid definitions in UI files 2019-04-05 00:12:26 +01:00
shortcuts-gedit.ui demos: Update GtkGrid definitions in UI files 2019-04-05 00:12:26 +01:00
shortcuts.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
shortcuts.ui Drop the margin property 2020-02-25 20:59:04 -05:00
sidebar.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
sizegroup.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
sliding_puzzle.c gtk-demo: Fix keynav in the puzzle demo 2020-08-05 20:52:22 -04:00
spinbutton.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
spinbutton.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
spinner.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
stack.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
stack.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
sw_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
tabs.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
tagged_entry.c gtk-demo: Cosmetic changes to the tagged entry demo 2020-06-17 18:06:28 -04:00
tagstyle.css Add a tagged entry demo 2019-03-15 13:21:26 -04:00
text_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
textmask.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
textscroll.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
textundo.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
textview.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
themes.c gtk-demo: Fix a leak 2020-06-06 20:09:42 -04:00
themes.ui headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
theming_style_classes.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
theming.ui demos: Remove can-focus from ui files 2020-04-04 00:28:34 -04:00
transparent.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
tree_store.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
vertical_text_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
video_player.c headerbar: Show title buttons by default 2020-07-02 23:51:16 +05:00
w_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
wait_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
zoom_in_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
zoom_out_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00