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