Matthias Clasen
645f49cf2b
Fix build with -Dgtk_doc=true
...
Toolbars were removed, so don't try to create
thumbnails of them.
2020-02-08 19:02:46 -05:00
Matthias Clasen
8b3066127f
docs: Avoid using a menu for an example
2019-12-29 18:45:40 -05:00
Matthias Clasen
80e903afeb
docs: Stop taking menubar screenshots
...
The widget is going away.
2019-12-29 18:44:26 -05:00
Matthias Clasen
9e0c471b03
entry, spin button: Drop redundant API
...
Avoid duplicating GtkEditable APIs. Port existing users.
2019-02-28 16:34:00 -05:00
Emmanuele Bassi
0f24fddaf7
docs: Drop the '+' from GTK
...
We need to adapt to both the change in the name of the project, and to
the name change in the pkg-config file.
2019-02-05 10:14:31 +01:00
Timm Bäder
e9e40ddb42
box: Remove gtk_box_pack_start
2019-01-23 19:30:46 -05:00
Timm Bäder
bd71e744d2
Stop using gtk_box_pack_end
...
It might soon go away!
2019-01-23 19:30:46 -05:00
Benjamin Otte
dfc131c7ec
toolpalette: Remove
...
The widget was basically unmaintained since GTK 3.0 and the only known
user was Glade.
2018-02-03 11:52:37 +01:00
Benjamin Otte
55874470ff
gtk: Remove GtkRecentChooser
...
It's not used any more, recent files are only used by the filtchooser
and that one uses GtkRecentManager directly.
2018-02-02 23:01:31 +01:00
Matthias Clasen
f0fb705aae
doc tools: Stop using gtk_true
2018-01-16 14:14:09 -05:00
Matthias Clasen
9a3b61ec9d
Drop GtkPlacesSidebar from public API
...
This is a bit of filechooser internals that gets shared with
nautilus, which is fine, but it shouldn't be part of our
public API. There are no other users than nautilus.
2018-01-08 14:38:55 -05:00
Matthias Clasen
2218020db9
Fix the doc tools build
2017-12-01 10:30:11 -05:00
Matthias Clasen
2301d8d90b
enums: Change GtkIconSize values
...
The new values are the ones we intend to keep. The old ones had
duplicated meanings and nobody knew which one to take.
2017-11-15 14:22:17 -05:00
Benjamin Otte
f53b72e5ff
button: Get rid of icon size
...
In fact, make gtk_button_new_from_icon_name() just set the icon-name
property instead of creating a GtkImage.
2017-11-15 14:22:16 -05:00
Benjamin Otte
cdba1b8ac8
docs: Don't use GtkEventBox
2017-08-02 16:55:25 +01:00
Timm Bäder
c92b7d4224
box: Remove fill child property
...
GtkWidget:halign and GtkWidget:valign are sufficient
2017-04-25 20:30:37 +02:00
Timm Bäder
5729ea7744
box: Remove expand child property
...
GtkWidget already has hexpand/vexpand properties.
2017-04-25 20:30:37 +02:00
Timm Bäder
f4341ee9f7
widget: Remove show-all property
...
Doesn't make sense anymore now that gtk_widget_show_all is gone.
2017-01-20 21:37:07 +01:00
Timm Bäder
ea897c6df4
Remove gtk_widget_show_all
2017-01-20 21:37:04 +01:00
Timm Bäder
5071206d60
widget: Remove app-paintable
2016-10-31 19:28:28 +01:00
Timm Bäder
dece018994
Remove GtkAlignment
2016-10-18 00:29:19 +02:00
Timm Bäder
3ddcd9ecea
docs/tools/widgets: Stop using gtk_button_set_image
2016-10-18 00:29:19 +02:00
Timm Bäder
7d47d8023e
bbox: Remove style properties
2016-10-18 00:29:16 +02:00
Benjamin Otte
4df6ddad54
API: container: Remove gtk_container_set_border_width()
2016-10-16 18:18:58 +02:00
Timm Bäder
f45dadadd0
box: Remove 'padding' child property
2016-10-16 18:17:21 +02:00
Lars Uebernickel
f3110e4103
Rename GtkSidebar to GtkStackSidebar
...
GtkSidebar is too generic and doesn't fully convey what the widget does.
https://bugzilla.gnome.org/show_bug.cgi?id=744094
2015-02-13 18:01:56 +01:00
Matthias Clasen
5ee7445048
Add GtkSidebar to the widget gallery
2014-10-22 01:13:00 -04:00
Matthias Clasen
247f2c9192
Add GtkGLArea to the widget gallery
2014-10-22 01:13:00 -04:00
Matthias Clasen
8aa9a4c385
Better thumbnail for GtkTreeView
...
This one makes it more obvious that it is a tree with multiple
columns and not just multiline text.
https://bugzilla.gnome.org/show_bug.cgi?id=528800
2014-09-06 22:00:21 -04:00
Jasper St. Pierre
ece9ae4bc5
gtkwindow: Remove resize grips
...
Resize grips were introduced for GNOME 3.0, before we had any of the
"new GNOME app" features like invisible borders and CSD. With OS X 10.6
and 10.7, Apple has replaced the classic grips in their applications
with invisible borders as well.
New GNOME app designs don't use resize grips anymore and the new
default theme for GTK+, Adwaita, disables them entirely by forcing their
width and height to 0.
They're past their time. Remove the code to support them. This can
always be reverted if some app relies on them.
2014-07-03 12:58:41 -04:00
Benjamin Otte
6f2eb1d627
docs: Remove unused variable
2014-06-11 01:18:04 +02:00
Matthias Clasen
5b5cf89a63
Add GtkActionBar and GtkSearchBar to visual index
...
These were missing.
2014-06-09 21:41:43 -04:00
William Jon McCann
abe9ce45f3
docs: fix headerbar screenshot
2014-02-25 20:41:36 -05:00
William Jon McCann
686de28701
docs: fix the display of message dialog
2014-02-13 20:47:26 -05:00
William Jon McCann
d88c074197
docs: don't add a border around info bars
2014-02-13 20:47:26 -05:00
William Jon McCann
1f38477f29
docs: fix the doc shooting for the volume button
2014-02-13 20:47:25 -05:00
William Jon McCann
7796e7863c
docs: don't use a loop for the docs shooter
2014-02-13 20:47:25 -05:00
Matthias Clasen
943d575ec3
Add GtkFlowBox
...
GtkFlowBox is a container that its children in a reflowing
grid, which can be oriented horizontally or vertically.
It is similar to GtkListBox in that the children can
be sorted and filtered, and by requiring a dedicated child
widget type, GtkFlowBoxChild. It is similar to GtkTreeView
in that is supports a full set of selection modes, including
rubberband selection.
This is the culmination of work that has happened in the
egg-list-box module, and earlier in libegg. The origins of
this code are the EggSpreadTable in libegg, which was written
by Tristan van Berkom. It was moved to egg-list-box and
renamed EggFlowBox by Jon McCann, and I gave it some finishing
touched in the flowbox-improvements branch of that module.
2013-10-06 23:31:17 -04:00
William Jon McCann
f5ea5996b4
docs: make the spinner spin for the screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
580c35937a
docs: use a nicer image for the screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
db3ef57cf5
docs: don't vertically fill statusbar
2013-07-17 20:48:59 -04:00
William Jon McCann
06186b9a88
docs: remove deprecated font selector screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
5264ba2705
docs: remove deprecated color selection screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
77da3f5cc2
docs: update copyright text
2013-07-17 20:48:59 -04:00
William Jon McCann
31a38a6793
docs: make bar widgets stretch horizontally in shots
2013-07-17 20:48:59 -04:00
William Jon McCann
becc69055f
docs: don't use an icon by default in the combobox shot
2013-07-17 20:48:59 -04:00
Jasper St. Pierre
52601e936d
doc-shooter: Remove inappropriate menu usage
2013-07-17 15:15:40 -04:00
Benjamin Otte
6449b4a610
tools: Fix casting warnings
2013-07-08 16:17:18 +02:00
Matthias Clasen
2741672cf1
Add GtkListBox to the widget gallery
2013-06-30 01:28:37 -04:00
William Jon McCann
8e69f87a46
Fixup some of the example widgets used in the docs
2013-06-26 21:35:40 -04:00
Benjamin Otte
d9a28a875c
doctools: Remove unused variable
2013-05-28 16:06:59 +02:00
Matthias Clasen
0f1e781f32
Add new widgets to the gallery
...
Make GtkHeaderBar, GtkPlacesSidebar, GtkStack and GtkStackSwitcher
show up in the gallery.
2013-05-27 16:40:43 -04:00
Matthias Clasen
c69d2e4254
Generate new images
2013-04-24 21:56:08 -04:00
Cosimo Cecchi
ce869921ab
Don't use gtk_scrolled_window_add_with_viewport() in tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=693015
2013-02-01 22:58:55 -05:00
Ryan Lortie
0244dc8017
GtkMenuButton: rename _set_menu() to _set_popup()
...
It's too close to the release so we'll keep _set_menu() around, but
deprecate it, pointing to the new API. It will be removed (and the name
reused) before the 3.6.0 release.
https://bugzilla.gnome.org/show_bug.cgi?id=682235
2012-08-20 17:04:14 -04:00
Matthias Clasen
1067627131
Add labels to some visual index images
2012-08-04 19:11:43 -04:00
Matthias Clasen
aa21c34911
Add GtkMenuButton and GtkSearchEntry to gallery
...
At the same time, remove GtkComboBoxEntry, which no longer exists.
2012-07-13 23:07:24 -04:00
Matthias Clasen
f9be52cb2f
Add color and font chooser to the widget gallery
2012-02-14 23:48:36 -05:00
Benjamin Otte
0333ed97fe
tools: Work with deprecated APIs
...
We want to screenshot deprecated widgets, so we'd better not fail when
using them.
2011-11-09 03:23:43 +01:00
Matthias Clasen
1d647df176
Add a lock button widget
...
This is a special-purpose button that can be used together with
GPermission objects to control the sensitivity of system settings.
Suitable permission objects can e.g. be obtained from PolicyKit.
http://bugzilla.gnome.org/show_bug.cgi?id=626457
2011-05-06 22:44:38 -04:00
Javier Jardón
e73c0d9800
docs/tools/widgets.c: Use GdkRGBA instead GdkColor
2011-05-02 14:08:42 +01:00
Matthias Clasen
7b88b29763
Add appchooser docs
2011-01-06 02:07:35 -05:00
Matthias Clasen
99aa90b0bc
Add GtkSwitch to the widget gallery
2010-11-29 11:23:07 -05:00
Michael Natterer
3a0afce509
gtk: remove "gboolean homogeneous" from gtk_box_new()
...
Because it's FALSE in virtually all use cases.
2010-10-31 19:22:28 +01:00
Javier Jardón
a9894d4cf4
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 05:22:58 +02:00
Javier Jardón
8177ad320e
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
2010-10-30 02:26:23 +02:00
Javier Jardón
b3a7d401a1
Use gtk_paned_new() instead gtk_[v|h]paned_new()
2010-10-30 02:26:23 +02:00
Javier Jardón
8d008790be
Use gtk_separator_new() instead gtk_[v|h]separator_new()
2010-10-30 02:26:23 +02:00
Javier Jardón
e7f51ef6a4
Use the new GtkComboBoxText API
...
Also remove mentions of the old text convenience API from the docs,
and point to GtkComboBoxText instead.
2010-10-15 16:58:27 -04:00
Tristan Van Berkom
9612c64817
Deprecate GtkComboBoxEntry in favor of added properties to GtkComboBox
...
GtkComboBox now sports a construct-only "has-entry" property which
decides if it uses a GtkEntry to allow additional user input. Also
it has a new "entry-text-column" to fetch strings for the entry
from the model.
This patch deprecates the GtkComboBoxEntry and updates the rest of GTK+
to use the new semantics on GtkComboBox instead.
GtkComboBoxEntry will be removed altogether before GTK+ 3, in a
later commit.
2010-10-13 21:52:27 -04:00
Cody Russell
fe9a45c413
Remove uses of gtk_statusbar_set_has_resize_grip()
...
This function is going away.
2010-10-08 02:14:19 -04:00
Matthias Clasen
95eb4a868e
Remove GDK_DISPLAY() usage
2010-09-09 21:55:28 -04:00
Colin Walters
913cdf3be7
GDK: Prefix key names with KEY_
...
The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.
For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names.
Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
the gtkimcontextsimple.c, since porting that requires porting more
custom Perl code.
2010-09-08 18:51:44 -04:00
Javier Jardón
76b0a349ef
docs/tools/widgets.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:09 +02:00
Javier Jardón
9016f0d9a6
Use standard icon names in demos and tests
2010-08-21 03:08:15 +02:00
Javier Jardón
bcc8494899
Use accessor functions to access GtkScaleButton
2010-07-13 19:40:49 +02:00
Javier Jardón
4427760bcc
Use GtkBin accessors
2010-07-13 19:40:47 +02:00
Javier Jardón
9663801be7
Use accessor functions to access GtkColorSelectionDialog
2010-07-13 19:40:46 +02:00
Matthias Clasen
837775af7b
Fix up docs, and set up the aliasing machinery
2009-11-26 23:52:20 -05:00
Matthias Clasen
9112194791
Add GtkSpinner to the widget gallery
...
Yes, our documentation setup is wierd and wonderful.
2009-10-14 13:52:52 -04:00
Matthias Clasen
f3f4fec8db
Set the program-name property of the about dialog.
...
* demos/gtk-demo/appwindow.c: Set the program-name property
of the about dialog.
* docs/tools/widgets.c: Add GtkAboutDialog
svn path=/trunk/; revision=22427
2009-03-01 05:19:42 +00:00
Matthias Clasen
075d84b88a
No more mushroom
...
svn path=/trunk/; revision=20745
2008-07-03 17:29:39 +00:00
Michael Natterer
c8e67f3cc6
gtk/Makefile.am add a single-include header for the unix print stuff.
...
2008-05-29 Michael Natterer <mitch@imendio.org>
* gtk/Makefile.am
* gtk/gtkunixprint.h: add a single-include header for the unix
print stuff.
* gtk/gtkpagesetupunixdialog.h
* gtk/gtkprinter.h
* gtk/gtkprintjob.h
* gtk/gtkprintunixdialog.h: add single-include guards that #error
out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
files is included individually.
* gtk/gtkprintbackend.h
* gtk/gtkprinter-private.h
* modules/printbackends/cups/gtkprintbackendcups.c
* modules/printbackends/cups/gtkprintercups.h
* modules/printbackends/lpr/gtkprintbackendlpr.c
* tests/buildertest.c
* tests/defaultvaluetest.c
* docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
individual files.
svn path=/trunk/; revision=20230
2008-05-29 09:34:53 +00:00
Sven Neumann
418374e45b
docs/tools/shooter.c (find_toplevel_window) fixed signedness of argument
...
2008-02-26 Sven Neumann <sven@gimp.org>
* docs/tools/shooter.c (find_toplevel_window)
* docs/tools/widgets.c (find_toplevel_window): fixed signedness of
argument passed to XQueryTree().
svn path=/trunk/; revision=19656
2008-02-26 14:14:40 +00:00
Matthias Clasen
8491b71a8c
Add volume button to gallery
...
svn path=/trunk/; revision=18014
2007-06-03 05:34:56 +00:00
Matthias Clasen
721c3bc101
Replace a lot of idle and timeout calls by the new gdk_threads api.
...
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* *.c: Replace a lot of idle and timeout calls by
the new gdk_threads api.
2006-12-22 19:10:43 +00:00
Alexander Larsson
27f746fbd0
Merge the gtk-printing branch. For more detailed ChangeLog entries, see
...
2006-04-21 Alexander Larsson <alexl@redhat.com>
Merge the gtk-printing branch.
For more detailed ChangeLog entries, see the branch.
* .cvsignore:
* Makefile.am:
* configure.in:
* docs/tools/widgets.c:
* gtk+-unix-print-2.0.pc.in:
* gtk/Makefile.am:
* gtk/gen-paper-names.c:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkenums.h:
* gtk/gtkiconfactory.c:
* gtk/gtkmarshalers.list:
* gtk/gtkpagesetup.[ch]:
* gtk/gtkpagesetupunixdialog.[ch]:
* gtk/gtkpapersize.[ch]:
* gtk/gtkprint-win32.[ch]:
* gtk/gtkprintbackend.[ch]:
* gtk/gtkprintcontext.[ch]:
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.[ch]:
* gtk/gtkprinteroption.[ch]:
* gtk/gtkprinteroptionset.[ch]:
* gtk/gtkprinteroptionwidget.[ch]:
* gtk/gtkprintjob.[ch]:
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation-win32.c:
* gtk/gtkprintoperation.[ch]:
* gtk/gtkprintsettings.[ch]:
* gtk/gtkprintunixdialog.[ch]:
* gtk/paper_names.c:
* gtk/paper_names_offsets.c:
Platform independent printing API and implementations
for unix and windows.
* gtk/gtkstock.h:
* gtk/stock-icons/24/gtk-orientation-landscape.png:
* gtk/stock-icons/24/gtk-orientation-portrait.png:
* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
Add stock icons for page orientation.
* modules/Makefile.am:
* modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am:
* modules/printbackends/cups/gtkcupsutils.[ch]:
* modules/printbackends/cups/gtkprintbackendcups.[ch]:
* modules/printbackends/cups/gtkprintercups.[ch]:
Cups printing backend for unix.
* modules/printbackends/lpr/Makefile.am:
* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
lpr printing backend for unix.
* modules/printbackends/pdf/Makefile.am:
* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
print-to-pdf printing backend for unix.
* tests/.cvsignore:
* tests/Makefile.am:
* tests/print-editor.c:
Test application for printing.
* gdk/gdk.symbols:
* gdk/win32/gdkevents-win32.c:
* gdk/win32/gdkwin32.h:
Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
mainloop while displaying a win32 common dialog.
* gdk/directfb/Makefile.am:
Whitespace cleanup.
2006-04-21 15:09:32 +00:00
Matthias Clasen
873f4228cc
Add recent chooser to the widget gallery
2006-03-30 18:52:52 +00:00
Matthias Clasen
49eda9aaa7
Add GtkLinkButton to gallery
2006-01-30 15:39:23 +00:00
Matthias Clasen
a351e61c0b
GtkAssistant stuff
2006-01-30 04:53:53 +00:00
Matthias Clasen
9a28f71885
Updates
2005-07-05 23:00:12 +00:00
James M. Cape
b418bf3aa4
Use a GtkComboBox in SELECT_FOLDER mode ( #157726 ).
...
2004-12-15 James M. Cape <jcape@ignore-your.tv>
* gtk/gtkfilechooserbutton.c (struct _GtkFileChooserButtonPrivate)
(gtk_file_chooser_button_init)
(gtk_file_chooser_button_file_chooser_iface_init)
(gtk_file_chooser_button_add_shortcut_folder)
(gtk_file_chooser_button_remove_shortcut_folder)
(gtk_file_chooser_button_constructor)
(gtk_file_chooser_button_set_property)
(gtk_file_chooser_button_destroy)
(gtk_file_chooser_button_finalize)
(get_icon_theme) (get_display_name_for_path) (model_get_type_position)
(model_free_row_data) (model_add_special) (model_add_other)
(model_add_volumes) (model_add_bookmarks)
(model_update_current_folder) (model_remove_rows)
(filter_model_visible_func) (combo_box_row_separator_func)
(name_cell_data_func) (update_combo_box) (fs_volumes_changed_cb)
(fs_bookmarks_changed_cb) (combo_box_changed_cb)
(change_icon_size): Use a GtkComboBox in SELECT_FOLDER mode (#157726 ).
* gtk/gtkfilechooserbutton.c:
* gtk/gtkfilechooserbutton.h (gtk_file_chooser_button_new)
(gtk_file_chooser_button_new_with_backend): Add @action to constructors
to match other GtkFileChooser impls. API CHANGE.
* docs/tools/widgets.c (create_file_button):
* tests/testfilechooserbutton.c (main): Update callers.
* docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Reflect API
change.
* tests/testfilechooserbutton.c: Add LGPL license.
(main): Added GOption parser for --backend and --right-to-left cmd line
args.
(add_pwds_parent_as_shortcut_clicked_cb)
(del_pwds_parent_as_shortcut_clicked_cb) (tests_button_clicked_cb):
Add shortcut_folders test.
(chooser_current_folder_changed_cb) (chooser_selection_changed_cb)
(chooser_file_activated_cb) (chooser_update_preview_cb): Print URIS,
not filenames.
2004-12-15 14:58:39 +00:00
Matthias Clasen
750e4ae0cf
Add complex dialogs to gallery.
2004-12-07 06:22:19 +00:00
Matthias Clasen
5e3426947f
New image
...
2004-11-28 Matthias Clasen <mclasen@redhat.com>
* gtk/images/combo-box.png: New image
* gtk/visual_index.xml:
* gtk/Makefile.am (HTML_IMAGES): Add combo-box.png
2004-11-28 05:09:55 +00:00
Jonathan Blandford
f0265b018e
Update so that toplevel windows accomodate for the titlebar when sizing.
...
Tue Nov 16 00:08:07 2004 Jonathan Blandford <jrb@redhat.com>
* docs/tools/widgets.c: Update so that toplevel windows accomodate
for the titlebar when sizing. Also clean up statusbar
* docs/reference/gtk/images/*png: update
2004-11-16 05:10:18 +00:00
Jonathan Blandford
4614cffc73
Add GtkAboutDialog and GtkFileChooserButton
...
Sun Oct 24 02:54:36 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtk.types: Add GtkAboutDialog and GtkFileChooserButton
* gtk/tmpl/GtkFileChooserButton.sgml: Write docs
* gtk/tmpl/GtkListStore.sgml: Update performance comment now that
we use GSequence.
* gtk/visual_index.xml: Fix up a couple of errors.
* gtk/images/*png: update
Sun Oct 24 02:56:43 2004 Jonathan Blandford <jrb@redhat.com>
* docs/tools/widgets.c: Update GtkFileChooserButton doc shot.
2004-10-24 07:05:00 +00:00
Matthias Clasen
9a3f410ecc
More widget gallery.
2004-10-11 16:07:34 +00:00
Matthias Clasen
846e43898a
Remove debug ifdef
2004-10-11 15:15:29 +00:00
Matthias Clasen
b22707fde6
Add more widget gallery images.
2004-10-11 15:14:27 +00:00
Matthias Clasen
5a44b7ca15
Add some more images for the widget gallery.
2004-10-10 20:35:16 +00:00