Skip to content

Commit 2597ab8

Browse files
lazkasebp
authored andcommitted
Add a widget gallery page
This came up in https://gitlab.gnome.org/GNOME/pygobject/issues/208 Add a list of all non-abstract Gtk.Widget subclasses and show an example image for each of them. The images are taken from the gtk+ documentation. The goal is that users can quickly get an overview of the available widgets and to make it possible to find a widget type without knowing the name.
1 parent 9e50f5b commit 2597ab8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+64
-0
lines changed

source/gallery.txt

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
Widget Gallery
2+
==============
3+
4+
=================================== ======
5+
:class:`Gtk.AboutDialog` .. image:: widgets/aboutdialog.png
6+
:class:`Gtk.AccelLabel` .. image:: widgets/accel-label.png
7+
:class:`Gtk.ActionBar` .. image:: widgets/action-bar.png
8+
:class:`Gtk.AppChooserButton` .. image:: widgets/appchooserbutton.png
9+
:class:`Gtk.AppChooserDialog` .. image:: widgets/appchooserdialog.png
10+
:class:`Gtk.Assistant` .. image:: widgets/assistant.png
11+
:class:`Gtk.Button` .. image:: widgets/button.png
12+
:class:`Gtk.CheckButton` .. image:: widgets/check-button.png
13+
:class:`Gtk.ColorButton` .. image:: widgets/color-button.png
14+
:class:`Gtk.ColorChooserDialog` .. image:: widgets/colorchooser.png
15+
:class:`Gtk.ComboBox` .. image:: widgets/combo-box.png
16+
:class:`Gtk.ComboBoxText` .. image:: widgets/combo-box-text.png
17+
:class:`Gtk.Entry` .. image:: widgets/entry.png
18+
:class:`Gtk.FileChooserButton` .. image:: widgets/file-button.png
19+
:class:`Gtk.FileChooserDialog` .. image:: widgets/filechooser.png
20+
:class:`Gtk.FlowBox` .. image:: widgets/flow-box.png
21+
:class:`Gtk.FontButton` .. image:: widgets/font-button.png
22+
:class:`Gtk.FontChooserDialog` .. image:: widgets/fontchooser.png
23+
:class:`Gtk.Frame` .. image:: widgets/frame.png
24+
:class:`Gtk.GLArea` .. image:: widgets/glarea.png
25+
:class:`Gtk.Grid` .. image:: widgets/grid-packing.png
26+
:class:`Gtk.HeaderBar` .. image:: widgets/headerbar.png
27+
:class:`Gtk.IconView` .. image:: widgets/icon-view.png
28+
:class:`Gtk.Image` .. image:: widgets/image.png
29+
:class:`Gtk.InfoBar` .. image:: widgets/info-bar.png
30+
:class:`Gtk.Label` .. image:: widgets/label.png
31+
:class:`Gtk.LevelBar` .. image:: widgets/levelbar.png
32+
:class:`Gtk.LinkButton` .. image:: widgets/link-button.png
33+
:class:`Gtk.ListBox` .. image:: widgets/list-box.png
34+
:class:`Gtk.LockButton` .. image:: widgets/lockbutton.png
35+
:class:`Gtk.MenuBar` .. image:: widgets/menubar.png
36+
:class:`Gtk.MenuButton` .. image:: widgets/menu-button.png
37+
:class:`Gtk.MessageDialog` .. image:: widgets/messagedialog.png
38+
:class:`Gtk.Notebook` .. image:: widgets/notebook.png
39+
:class:`Gtk.Paned` .. image:: widgets/panes.png
40+
:class:`Gtk.PlacesSidebar` .. image:: widgets/placessidebar.png
41+
:class:`Gtk.ProgressBar` .. image:: widgets/progressbar.png
42+
:class:`Gtk.RadioButton` .. image:: widgets/radio-group.png
43+
:class:`Gtk.RecentChooserDialog` .. image:: widgets/recentchooserdialog.png
44+
:class:`Gtk.Scale` .. image:: widgets/scales.png
45+
:class:`Gtk.Scrollbar` .. image:: widgets/scrollbar.png
46+
:class:`Gtk.ScrolledWindow` .. image:: widgets/scrolledwindow.png
47+
:class:`Gtk.SearchBar` .. image:: widgets/search-bar.png
48+
:class:`Gtk.SearchEntry` .. image:: widgets/search-entry.png
49+
:class:`Gtk.Separator` .. image:: widgets/separator.png
50+
:class:`Gtk.SpinButton` .. image:: widgets/spinbutton.png
51+
:class:`Gtk.Spinner` .. image:: widgets/spinner.png
52+
:class:`Gtk.Stack` .. image:: widgets/stack.png
53+
:class:`Gtk.StackSwitcher` .. image:: widgets/stackswitcher.png
54+
:class:`Gtk.Statusbar` .. image:: widgets/statusbar.png
55+
:class:`Gtk.Switch` .. image:: widgets/switch.png
56+
:class:`Gtk.TextView` .. image:: widgets/multiline-text.png
57+
:class:`Gtk.ToggleButton` .. image:: widgets/toggle-button.png
58+
:class:`Gtk.ToolPalette` .. image:: widgets/toolpalette.png
59+
:class:`Gtk.Toolbar` .. image:: widgets/toolbar.png
60+
:class:`Gtk.TreeView` .. image:: widgets/list-and-tree.png
61+
:class:`Gtk.VolumeButton` .. image:: widgets/volumebutton.png
62+
:class:`Gtk.Window` .. image:: widgets/window.png
63+
=================================== ======

source/index.txt

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Contents:
3838
introduction
3939
basics
4040
unicode
41+
gallery
4142
layout
4243
label
4344
entry

source/widgets/aboutdialog.png

20.4 KB

source/widgets/accel-label.png

2.99 KB

source/widgets/action-bar.png

1.86 KB

source/widgets/appchooserbutton.png

4.76 KB

source/widgets/appchooserdialog.png

32.1 KB

source/widgets/assistant.png

11 KB

source/widgets/button.png

2.33 KB

source/widgets/check-button.png

3.28 KB

source/widgets/color-button.png

2.57 KB

source/widgets/colorchooser.png

18.3 KB

source/widgets/combo-box-text.png

3.29 KB

source/widgets/combo-box.png

2.88 KB

source/widgets/entry.png

1.94 KB

source/widgets/file-button.png

9.85 KB

source/widgets/filechooser.png

62.6 KB

source/widgets/flow-box.png

6.89 KB

source/widgets/font-button.png

4.18 KB

source/widgets/fontchooser.png

53.6 KB

source/widgets/frame.png

1.99 KB

source/widgets/glarea.png

5.21 KB

source/widgets/grid-packing.png

4.22 KB

source/widgets/headerbar.png

5.41 KB

source/widgets/icon-view.png

3.72 KB

source/widgets/image.png

5.98 KB

source/widgets/info-bar.png

2.26 KB

source/widgets/label.png

1.63 KB

source/widgets/levelbar.png

2.34 KB

source/widgets/link-button.png

1.93 KB

source/widgets/list-and-tree.png

5.99 KB

source/widgets/list-box.png

6.49 KB

source/widgets/lockbutton.png

2.33 KB

source/widgets/menu-button.png

3.01 KB

source/widgets/menubar.png

3.03 KB

source/widgets/messagedialog.png

5.33 KB

source/widgets/multiline-text.png

2.61 KB

source/widgets/notebook.png

4.78 KB

source/widgets/panes.png

4.12 KB

source/widgets/placessidebar.png

14 KB

source/widgets/progressbar.png

3.17 KB

source/widgets/radio-group.png

5.59 KB
32.5 KB

source/widgets/scales.png

5.35 KB

source/widgets/scrollbar.png

2.37 KB

source/widgets/scrolledwindow.png

3.48 KB

source/widgets/search-bar.png

3.61 KB

source/widgets/search-entry.png

2.61 KB

source/widgets/separator.png

4.16 KB

source/widgets/spinbutton.png

3.11 KB

source/widgets/spinner.png

2.36 KB

source/widgets/stack.png

5.2 KB

source/widgets/stackswitcher.png

5.98 KB

source/widgets/statusbar.png

2.96 KB

source/widgets/switch.png

3.06 KB

source/widgets/toggle-button.png

3.13 KB

source/widgets/toolbar.png

3.7 KB

source/widgets/toolpalette.png

7.83 KB

source/widgets/volumebutton.png

3.36 KB

source/widgets/window.png

1.07 KB

0 commit comments

Comments
 (0)