1. 28 Jun, 2015 1 commit
    • Matthias Clasen's avatar
      gtk-demo: Cosmetic changes · 609e04dd
      Matthias Clasen authored
      Clean up the code of many examples in minor ways, fix some memory
      leaks, and avoid the use of dialogs where a regular toplevel works
      just as well.
      609e04dd
  2. 20 Jun, 2015 1 commit
  3. 17 Jan, 2014 1 commit
  4. 24 Jun, 2013 1 commit
  5. 02 Sep, 2011 1 commit
    • Matthias Clasen's avatar
      Formatting cleanups · 1204a850
      Matthias Clasen authored
      While we normally try to avoid whitespace fixes, the gtk-demo
      code is shown as exemplary, so it should be in good shape,
      formatting-wise.
      1204a850
  6. 31 Aug, 2011 1 commit
  7. 02 Nov, 2010 1 commit
  8. 31 Oct, 2010 1 commit
  9. 30 Oct, 2010 4 commits
  10. 13 Jul, 2010 1 commit
  11. 04 Apr, 2010 1 commit
  12. 01 Mar, 2010 1 commit
  13. 16 Nov, 2004 1 commit
  14. 26 Oct, 2004 1 commit
    • Carlos Garnacho's avatar
      Fix for #118764, David Bordoley: · d5ab4594
      Carlos Garnacho authored
      2004-10-25  Carlos Garnacho Parro  <carlosg@gnome.org>
      
      	Fix for #118764, David Bordoley:
      
      	* gtk/gtkmessagedialog.[ch]
      	(gtk_message_dialog_format_secondary_text),
      	(gtk_message_dialog_format_secondary_format): API additions to
      	create HIG-like dialogs
      
      	* demos/gtk-demo/dialog.c: Use the new API in the example
      
      	* docs/reference/gtk/gtk-sections.txt:
      	* docs/reference/gtk/tmpl/gtkmessagedialog.sgml: documented API
      	additions
      d5ab4594
  15. 06 Mar, 2004 1 commit
  16. 08 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      Call the do_ functions with the toplevel as argument. · 9c0bc41a
      Matthias Clasen authored
      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)
      9c0bc41a
  17. 20 Oct, 2001 1 commit
  18. 27 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      add demo of passing non-stock label in to gtk_dialog_new_with_buttons · 1773d815
      Havoc Pennington authored
      2001-09-26  Havoc Pennington  <hp@redhat.com>
      
      	* demos/gtk-demo/dialog.c (interactive_dialog_clicked): add demo
      	of passing non-stock label in to gtk_dialog_new_with_buttons
      
      	* gtk/gtktextview.c (cursor_blinks): disable cursor blink when
      	debugging updates
      
      	* gtk/gtktextiter.h: comment about how GtkTextIter struct contents
      	are private
      
      	* gtk/gtkbutton.c (gtk_button_new_from_stock): if stock ID doesn't
      	exist, fall back to mnemonic label, not plain label, bug #61184
      1773d815
  19. 25 May, 2001 1 commit
    • Havoc Pennington's avatar
      get sizes an icon set can render without falling back to missing image · 87684f95
      Havoc Pennington authored
      2001-05-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon
      	set can render without falling back to missing image icon
      
      	* gtk/gtktextview.c (gtk_text_view_size_request): request full
      	size of text, instead of random values
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): request full
      	size of tree view, instead of random values
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback
      	image in an appropriate size
      
              * gtk/gtkstock.h: Rename the stock items including _BUTTON_,
      	etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/
      
              Throughout: fix GTK_STOCK_BUTTON_ instances
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am:
      	Add a bunch of new stock items/icons
      
      	* gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
      	new function, convenience for inserting columns with a data func
      
      	* gtk/gtkiconfactory.c: keep a list of all existing icon factories
      	(_gtk_icon_factory_list_ids): use list of all factories to
      	generate a list of all known IDs
      
      	* gtk/gtkstock.c (gtk_stock_list_ids): replace
      	gtk_stock_list_items() with a function that returns all IDs known
      	including those for GtkIconFactory.
      87684f95
  20. 18 May, 2001 1 commit
    • Jonathan Blandford's avatar
      It's the worlds ugliest highlighting code!!!! The result is okay so long · 009212ad
      Jonathan Blandford authored
      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. (-:
      009212ad
  21. 22 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      handle mnemonics in the stock item label · 6e58fd1e
      Havoc Pennington authored
      2001-03-22  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktoolbar.c (gtk_toolbar_insert_stock): handle mnemonics in
      	the stock item label
      
      	* gtk/gtklabel.c: s/@gtk_func/gtk_func()/ in docs
      
      	* gtk/gtkstock.c (builtin_items): add mnemonics where missing
      
      	* demos/gtk-demo/*.c: Add mnemonics all over the place
      
      	* gtk/gtklabel.h: mark parse_uline deprecated
      6e58fd1e
  22. 16 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      add varargs for properties to set on the tag. · e7a21a2e
      Havoc Pennington authored
      2001-03-15  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): add varargs
      	for properties to set on the tag.
      
      	* gtk/testtext.c: fixups to reflect create_tag change
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_property):
      	background/foreground stipple are objects, not boxed.
      
      	* demos/gtk-demo/textview.c: intellihancing
      e7a21a2e
  23. 20 Feb, 2001 1 commit
    • Jonathan Blandford's avatar
      Add simple new demo. · 0f9fadbe
      Jonathan Blandford authored
      Mon Feb 19 20:37:35 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* demos/gtk-demo/dialog.c: Add simple new demo.
      0f9fadbe