gtk2/demos/gtk-demo
Benjamin Otte 626c525706 listview: Expose GtkListItemFactory APIs
Due to the many different ways to set factories, it makes sense to
expose them as custom objects.

This makes the actual APIs for the list widgets simpler, because they
can just have a regular "factory" property.

As a convenience function, gtk_list_view_new_with_factory() was added
to make this whole approach easy to use from C.
2020-05-30 19:26:45 -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 gtk_widget_destroy everywhere 2020-05-11 12:20:59 -04:00
application.c gtk-demo: Stop using appmenu apis 2020-05-22 17:31:05 -04:00
application.ui scrolledwindow: Drop shadow-type 2020-04-17 10:57:36 -04:00
assistant.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
background.jpg fix to properly queue resizes when the image is set 2001-04-18 18:09:18 +00:00
blendmodes.ui scrolledwindow: Drop shadow-type 2020-04-17 10:57:36 -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
combobox.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
constraints2.c Replace most remaining uses of container api 2020-05-11 22:38:21 -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 gtk4-demo: Fix css_basics demo 2020-05-20 10:29:50 +02:00
css_basics.css gtk-demo: Fix selection in css basics demo 2015-11-21 21:04:02 +01:00
css_blendmodes.c gtk-demo: Plug another leak 2020-05-21 16:24:20 -04:00
css_blendmodes.css gtk3-demo: Simplify the blendmodes example a bit 2016-07-04 09:59:25 -04:00
css_multiplebgs.c gtk-demo: Fix breakage in a css demo 2020-05-21 16:24:56 -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 Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
css_pixbufs.css gtk-demo: Fix the CSS examples 2015-11-17 20:02:05 -05:00
css_shadows.c Replace most remaining uses of container api 2020-05-11 22:38:21 -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: Plug another leak 2020-05-21 15:41:54 -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 rough start at a Weather demo 2020-05-30 19:26:45 -04:00
demo.ui demos: Remove gtk_dialog_run() 2020-05-12 13:12:08 +01:00
demoimage.c gtk-demo: Polish the clipboard demo 2020-04-25 21:29:39 -04:00
demoimage.h gtk-demo: Polish the clipboard demo 2020-04-25 21:29:39 -04:00
demotaggedentry.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
demotaggedentry.h Add a tagged entry demo 2019-03-15 13:21:26 -04:00
dialog.c demos: Remove gtk_dialog_run() 2020-05-12 13:12:08 +01:00
dnd.c gtk-demo: Fix the dnd demo drop highlight 2020-05-22 18:52:56 -04:00
drawingarea.c tests: Move testcairo into gtk4-demo 2020-05-12 15:43:43 -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 most remaining uses of container api 2020-05-11 22:38:21 -04:00
entry_completion.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
entry_undo.c Replace most remaining uses of container api 2020-05-11 22:38:21 -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 gtk-demo: Fix expander demo 2020-05-13 10:50:41 +02:00
filtermodel.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
filtermodel.ui demos: Remove can-focus from ui files 2020-04-04 00:28:34 -04:00
fishbowl.c gtk-demo: Make fishbowl info text use bindings 2020-05-30 19:26:44 -04:00
fishbowl.ui gtk-demo: Make fishbowl info text use bindings 2020-05-30 19:26:44 -04:00
fixed.c Stop using container api on GtkFixed 2020-05-11 22:21:39 -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 Stop using container api on GtkFlowBox 2020-05-11 22:21:39 -04:00
font_features.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
font-features.ui headerbar: Remove user-settable title 2020-05-01 19:48:05 +05:00
fontplane.c Change the default value of GtkWidget:can-focus 2020-04-09 17:50:29 -04:00
fontplane.h longpressgesture: Port to new API model 2018-04-26 17:59:42 +02:00
fontrendering.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
fontrendering.ui scrolledwindow: Drop shadow-type 2020-04-17 10:57:36 -04:00
gears.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
geninclude.py demos/gtk-demo: Add common_cflags to build 2020-03-07 15:30:35 +01:00
gestures.c Use gtk_window_destroy 2020-05-11 12:20:57 -04: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 demo: Add GLES support to the GtkGLArea demo 2016-04-25 14:35:02 +01: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 gtk-demo: Make fishbowl info text use bindings 2020-05-30 19:26:44 -04: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 Replace most remaining uses of container api 2020-05-11 22:38:21 -04: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 Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
iconscroll.c gtk-demo: Plug a memory leak 2020-05-13 17:24:57 -04:00
iconscroll.ui gtk-demo: Some touchups 2019-12-12 18:46:53 -05:00
iconview_edit.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
iconview.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
images.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
infobar.c gtk-demo: InfoBar is not a GtkBox anymore 2020-05-13 11:04:49 +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 Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
list_store.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
listbox.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
listbox.ui Fix minor typos 2020-05-28 11:00:03 +03:00
listview_weather.c listview: Expose GtkListItemFactory APIs 2020-05-30 19:26:45 -04:00
listview_weather.txt gtk-demo: Add a rough start at a Weather demo 2020-05-30 19:26:45 -04:00
main.c Fix minor typos 2020-05-28 11:00:03 +03:00
main.ui demo: Remove double borders from the treeview 2020-05-13 20:57:00 +05:00
markup.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
markup.txt gtk-demo: Add hyphenation control to the markup demo 2020-03-20 23:58:33 -04:00
menus.ui gtk-demo: Stop using appmenu apis 2020-05-22 17:31:05 -04:00
meson.build gtk-demo: Add a rough start at a Weather demo 2020-05-30 19:26:45 -04:00
messages.txt Minor typos in the Documentation (a/an) 2019-08-25 12:52:46 +00:00
modelbutton.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
modelbutton.ui headerbar: Remove user-settable title 2020-05-01 19:48:05 +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 gtk-demo: Rename to org.gtk.Demo4 2019-04-02 00:27:32 +00: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 Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
overlay.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
pagesetup.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
paint.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
paintable_animated.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
paintable_mediastream.c Fix minor typos 2020-05-28 11:00:03 +03: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 most remaining uses of container api 2020-05-11 22:38:21 -04:00
password_entry.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
peg_solitaire.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
pickers.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
pixbufs.c Use gtk_window_destroy 2020-05-11 12:20:57 -04: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 Use gtk_window_destroy 2020-05-11 12:20:57 -04: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 gtk-demo: Plug another leak 2020-05-21 16:23:42 -04:00
revealer.ui demos: Update GtkGrid definitions in UI files 2019-04-05 00:12:26 +01: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 gtk-demo: Minor cosmetic fixes 2020-04-26 00:28:13 -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 Replace most remaining uses of container api 2020-05-11 22:38:21 -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 Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
shortcuts.ui Drop the margin property 2020-02-25 20:59:04 -05:00
sidebar.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
sizegroup.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
sliding_puzzle.c gtk4-demo: Fix sliding puzzle demo 2020-05-20 10:29:50 +02:00
spinbutton.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
spinbutton.ui Drop the margin property 2020-02-25 20:59:04 -05: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 gtk-demo: Minor cosmetic fixes 2020-04-26 00:28:13 -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 Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
tagged_entry.c Replace most remaining uses of container api 2020-05-11 22:38:21 -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 Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
textundo.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
textview.c paned: Redo the api 2020-05-11 22:21:33 -04:00
themes.c Use gtk_window_destroy 2020-05-11 12:20:57 -04:00
themes.ui demos: Remove can-focus from ui files 2020-04-04 00:28:34 -04: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 most remaining uses of container api 2020-05-11 22:38:21 -04: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 Use gtk_window_destroy 2020-05-11 12:20:57 -04: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