summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/pixbufs.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixing demos/ directory to build for removal of GtkObject type.Tristan Van Berkom2010-09-271-1/+1
|
* gtk-demo: Connect to draw signal in pixbufs exampleBenjamin Otte2010-09-261-13/+6
|
* gtk-demo: Make pixbufs demo use CairoBenjamin Otte2010-07-261-11/+6
|
* Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-03-011-1/+1
| | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* demos/gtk-demo/changedisplay.c demos/gtk-demo/clipboard.cSven Neumann2008-08-111-3/+5
| | | | | | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * demos/gtk-demo/changedisplay.c * demos/gtk-demo/clipboard.c * demos/gtk-demo/drawingarea.c * demos/gtk-demo/iconview.c * demos/gtk-demo/images.c * demos/gtk-demo/pixbufs.c: use canonical signal names in the demos. svn path=/trunk/; revision=21074
* Fix up highlightingMatthias Clasen2008-07-061-46/+46
| | | | svn path=/trunk/; revision=20791
* Replace a lot of idle and timeout calls by the new gdk_threads api.Matthias Clasen2006-12-221-0/+2
| | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
* Fix typosMatthias Clasen2006-09-251-1/+1
|
* Don't include config.h in the examples.Matthias Clasen2004-11-161-1/+0
| | | | | | 2004-11-16 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/*.c: Don't include config.h in the examples.
* Don't leak the frame pixbuf.Matthias Clasen2004-09-221-0/+1
| | | | | | | Wed Sep 22 00:52:44 2004 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame pixbuf.
* Call the do_ functions with the toplevel as argument.Matthias Clasen2003-11-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Nov 8 23:06:02 2003 Matthias Clasen <maclas@gmx.de> * demos/gtk-demo/main.c (row_activated_cb): Call the do_ functions with the toplevel as argument. * demos/gtk-demo/geninclude.pl.in: Change the signature of GDoDemoFunc to take a widget argument * demos/gtk-demo/ui_manager.c (do_ui_manager): * demos/gtk-demo/tree_store.c (do_tree_store): * demos/gtk-demo/textview.c (do_textview): * demos/gtk-demo/stock_browser.c (do_stock_browser): * demos/gtk-demo/sizegroup.c (do_sizegroup): * demos/gtk-demo/pixbufs.c (do_pixbufs): * demos/gtk-demo/panes.c (do_panes): * demos/gtk-demo/menus.c (do_menus): * demos/gtk-demo/list_store.c (do_list_store): * demos/gtk-demo/images.c (do_images): * demos/gtk-demo/hypertext.c (do_hypertext): * demos/gtk-demo/editable_cells.c (do_editable_cells): * demos/gtk-demo/drawingarea.c (do_drawingarea): * demos/gtk-demo/dialog.c (do_dialog): * demos/gtk-demo/colorsel.c (do_colorsel): * demos/gtk-demo/changedisplay.c (do_changedisplay): * demos/gtk-demo/button_box.c (do_button_box): * demos/gtk-demo/appwindow.c (do_appwindow): Take a widget as argument, and make new windows or dialogs appear on the same screen. (#80388)
* demos/pixbuf-demo.c demos/testpixbuf.c remove deprecated gtk_timeout_*Manish Singh2003-02-011-1/+1
| | | | | | | | Fri Jan 31 17:45:22 2003 Manish Singh <yosh@gimp.org> * demos/pixbuf-demo.c * demos/testpixbuf.c * demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
* demos/pixbuf-demo.c M_PI -> G_PI.Tor Lillqvist2001-11-251-5/+5
| | | | | | | | | | | | | | | 2001-11-26 Tor Lillqvist <tml@iki.fi> * demos/pixbuf-demo.c * demos/gtk-demo/pixbufs.c: M_PI -> G_PI. * demos/gtk-demo/main.c (read_line): No flockfile() or getc_unlocked() on Win32. 2001-11-25 Tor Lillqvist <tml@iki.fi> * configure.in * acconfig.h: As we now use GDir, no need to check for dirent.h.
* Version 1.3.11 Require GLib-1.3.11, Pango-0.22, ATK-0.7. Restore toGTK_1_3_11Owen Taylor2001-11-231-27/+24
| | | | | | | | | | | | | | | | | | Thu Nov 22 15:01:03 2001 Owen Taylor <otaylor@redhat.com> * Version 1.3.11 * configure.in (ATK_REQUIRED_VERSION): Require GLib-1.3.11, Pango-0.22, ATK-0.7. * tests/prop-editor.c (property_widget): Restore to working as well as it did before. * gtk/gtklistitem.h: Mark deprecated since it is an integral part of GtkList. * demos/gtk-demo/demo-common.h: New header file, for a common functions not important to the meat of the demos. * demos/gtk-demo/main.c (demo_ifind_file): Add a utility function to search for a file used by the demo. * demos/*.c: Use demo_find_file.
* at Oct 20 19:38:16 2001 Owen Taylor <otaylor@redhat.com>Owen Taylor2001-10-201-8/+6
| | | | | | * demos/*.c demos/gdk-pixbuf/*.c: Eliminate gtk_signal_* in favor of g_signal_*, gtk_object_* in favor of g_object_*.
* fix a typo.Havoc Pennington2001-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-07 Havoc Pennington <hp@pobox.com> * gtk/gtkfilesel.c (open_ref_dir): fix a typo. * gtk/gtkplug.c (gtk_plug_init): remove setting of auto_shrink; some fixage is needed here, but nothing simple. Owen understands it. ;-) * gtk/gtkwindow.h, gtk/gtkwindow.c: Rework code and API for window sizing and positioning. Also, fix bug in compute_geometry_hints (width/height confusion for setting min size). (gtk_window_move): new function (gtk_window_resize): new function (gtk_window_get_size): new function (gtk_window_get_position): new function (gtk_window_parse_geometry): new function * gtk/gtkwidget.c (gtk_widget_set_size_request): new function (gtk_widget_get_size_request): new function (gtk_widget_get_usize): delete, that was a short-lived function ;-) (gtk_widget_set_usize): deprecate (gtk_widget_set_uposition): deprecate, make it a trivial gtk_window_move() wrapper (gtk_widget_class_init): remove x/y/width/height properties, add width_request height_request * demos/*: update to avoid deprecated functions * gtk/gtklayout.c: add x/y child properties * gtk/gtkfixed.c: add x/y child properties, and get rid of uses of "gint16" * tests/testgtk.c (create_window_sizing): lots of tweaks to window sizing test * gdk/x11/gdkevents-x11.c (gdk_event_translate): Ensure that configure events on toplevel windows are always in root window coordinates, following ICCCM spec that all synthetic events are in root window coords already, while real events are in parent window coords. Previously the code assumed that coords of 0,0 were parent window coords, which was really broken. * gtk/gtkcontainer.c (gtk_container_get_focus_chain): fix warning * gdk/gdkwindow.h (GdkWindowHints): add GDK_HINT_USER_POS and GDK_HINT_USER_SIZE so we can set USSize and USPosition hints in gtk_window_parse_geometry() * gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): support new USER_POS USER_SIZE hints
* s/RESIZEABLE/RESIZABLE/Havoc Pennington2001-06-251-1/+1
| | | | | | | | | 2001-06-25 Havoc Pennington <hp@redhat.com> * gtk/gtktreeviewcolumn.h, gtk/gtktreeviewcolumn.c: s/RESIZEABLE/RESIZABLE/ * gtk/gtkwindow.c, gtk/gtkwindow.h: s/resizeable/resizable/
* Remove reallocate-redraws property. This is something that only a widgetOwen Taylor2001-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Fri May 18 14:25:20 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkcontainer.c: Remove reallocate-redraws property. This is something that only a widget writer would ever want to change. * gtk/gtksignal.c: Handle G_SIGNAL_TYPE_STATIC_SCOPE for gtk_signal_emit_by_name(). * gtk/gtkviewport.c: Fix some warnings. * gtk/gtkwidget.c gtk/gtksizegroup.c: Add "size group" facility allowing the requisitions of multiple widgets to be grouped together. * tests/testgtk.c: Add GtkSizeGroup test * demos/gtk-demo/sizegroup.c: Add GtkSizeGroup demo. * demos/gtk-demo/main.c demos/gtk-demo/pixbufs.c: Fix some warnings. * configure.in: Switch to using AM_GLIB_GNU_GETTEXT.
* It's the worlds ugliest highlighting code!!!! The result is okay so longJonathan Blandford2001-05-181-69/+67
| | | | | | | | | | | | Thu May 17 16:20:04 2001 Jonathan Blandford <jrb@redhat.com> * demos/gtk-demo/main.c (fontify): It's the worlds ugliest highlighting code!!!! The result is okay so long as you don't try to stress it. It also highlights a bug in the TextView so it's in an unproportional font right now until it's fixed. *demos/gtk-demo/*.c: Clean up code a bit to make it ugly-parser(TM) friendly. (-:
* fix to properly queue resizes when the image is setHavoc Pennington2001-04-181-0/+277
2001-04-18 Havoc Pennington <hp@redhat.com> * gtk/gtkimage.c: fix to properly queue resizes when the image is set * gtk/gtktextview.c (gtk_text_view_do_popup): desensitize Paste if the insertion point isn't editable * demos/gtk-demo/images.c: Added a GtkImage demo * demos/gtk-demo/drawingarea.c: drawing area demo * demos/gtk-demo/menus.c (create_menu): cleanups 2001-04-18 Havoc Pennington <hp@redhat.com> * gdk-pixbuf.c (gdk_pixbuf_fill): Function to fill pixbuf with a given color.