summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Delete.Havoc Pennington2001-03-1510-369/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-14 Havoc Pennington <hp@redhat.com> * gtk/gtkdata.h, gtk/gtkdata.c: Delete. * gtk/gtk.h: remove gtkdata.h * gtk/Makefile.am: remove gtkdata * gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy" not "disconnect" on the adjustments. * gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not GtkData * gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject not GtkData * configure.in: handle case where X render exists, but Pango lacks Xft support. 2001-03-14 Havoc Pennington <hp@redhat.com> * Makefile.am (gdk-pixbuf-marshal.c): Use different temporary file from gdk-pixbuf-marshal.h, fixes parallel makes. 2001-03-14 Havoc Pennington <hp@redhat.com> * gtk/gtk-docs.sgml: remove gtkdata, gtktreemodelsimple * gtk/gtk.types: remove gtk_data_get_type
* Switch to using an enum with registration for icon sizes, instead ofHavoc Pennington2001-03-124-179/+182
| | | | | | | | | | 2001-03-12 Havoc Pennington <hp@redhat.com> * gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: Switch to using an enum with registration for icon sizes, instead of strings. * gtkimage.h, gtkimage.c, gtkstyle.h, gtkstyle.c, gtkwidget.h, gtkwidget.c: Fix to reflect GtkIconSize
* fixed signals with GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as anTim Janik2001-03-093-20/+19
| | | | | | | | Fri Mar 9 09:31:55 2001 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object, not a boxed.
* Document expose event->region change and that gtk_widget_event doesn'tAlexander Larsson2001-03-091-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-09 Alexander Larsson <alexl@redhat.com> * docs/Changes-2.0.txt: Document expose event->region change and that gtk_widget_event doesn't allow passing expose events. * gdk/gdkevents.h: Add region to expose event. * gdk/gdkevents.c: Handle event->region in gdk_event_copy() and gdk_event_free(). * gdk/gdkwindow.c (gdk_window_process_updates_internal): Generate expose_event->region when creating expose events. * gdk/x11/gdkevents-x11.c: Generate expose events with regions when translating X events. * gtk/gtkcontainer.[ch]: Default expose handler that propagates expose events to NO_WINDOW children. New function gtk_container_propagate_expose() * gtk/gtkwidget.[ch]: Moved gtk_widget_event implementation to gtk_widget_event_internal. gtk_widget_event calls gtk_widget_event_internal but doesn't allow expose events. New function gtk_widget_send_expose() to send expose events. New function gtk_widget_region_intersect() to calculate window/region intersections. * gtk/gtkmain.c (gtk_main_do_event): Use gdk_window_begin_paint_region() instead of gdk_window_begin_paint_rect(). Use gtk_widget_send_expose() to send expose events. * gtk/gtkbin.c: * gtk/gtkbox.c: * gtk/gtkfixed.c: * gtk/gtkimagemenuitem.c: * gtk/gtklist.c: * gtk/gtkpacker.c: * gtk/gtktable.c: * gtk/gtktree.c: Remove expose handler, using the default container implementation instead. * gtk/gtkbutton.c: * gtk/gtkcheckbutton.c: * gtk/gtkeventbox.c: * gtk/gtkfixed.c: * gtk/gtkhandlebox.c: * gtk/gtklayout.c: * gtk/gtklistitem.c: * gtk/gtkmenu.c: * gtk/gtkmenubar.c: * gtk/gtkmenuitem.c: * gtk/gtknotebook.c: * gtk/gtkoptionmenu.c: * gtk/gtkpaned.c: * gtk/gtkscrolledwindow.c: * gtk/gtktogglebutton.c: * gtk/gtktoolbar.c: * gtk/gtktreeitem.c: * gtk/gtkviewport.c: Chain expose handler to parent class handler. Use gtk_container_propagate_expose() to propagate exposes. * gtk/gtkclist.c (check_exposures): * gtk/gtktext.c (process_exposes): Use gtk_widget_send_expose instead of gtk_widget_event.
* added accumulator data argument to g_signal_newc() functions.Tim Janik2001-03-084-126/+125
| | | | | | | | | | | | | | | Thu Mar 8 16:51:21 2001 Tim Janik <timj@gtk.org> * *.c: added accumulator data argument to g_signal_newc() functions. * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): * gtk/gtktreeview.c (gtk_tree_view_setup_model): * gtk/treestoretest.c (make_window): s/g_signal_connect/g_signal_connectc/. * gtk/gtktextbuffer.c: completed signal arg fixups, they also needed G_SIGNAL_TYPE_STATIC_SCOPE flag.
* Document ::hierarchy-changed.Owen Taylor2001-03-082-0/+15
| | | | | | Wed Mar 7 23:58:53 2001 Owen Taylor <otaylor@redhat.com> * gtk/tmpl/gtkwidget.sgml: Document ::hierarchy-changed.
* use full set, since current set wasn't building on all configs.Owen Taylor2001-03-083-56/+81
| | | | | | | | | | | | | | Wed Mar 7 20:08:48 2001 Owen Taylor <otaylor@redhat.com> * gdk-pixbuf/Makefile.am (GTKDOC_CFLAGS/LIBS): use full set, since current set wasn't building on all configs. * */Makefile.am: ...to build a more perfect Makefile.am... Wed Mar 7 20:07:22 2001 Owen Taylor <otaylor@redhat.com> * Makefile.am: Remove gtk-config-2.0 again. (Grrrr, pkg-config. And stops make loops.)
* removed old emission hook API.Tim Janik2001-03-071-41/+33
| | | | | | | | | | Thu Mar 8 00:18:29 2001 Tim Janik <timj@gtk.org> * gtk/gtksignal.[hc]: removed old emission hook API. * docs/Changes-2.0.txt: fixed sections. * gtk/gtktextbuffer.c: signal arg fixups.
* remove trailer (gtk_entry_set_property): remove trailerHavoc Pennington2001-03-072-0/+11
| | | | | | | | | | | | | | | | | | | | | | 2001-03-07 Havoc Pennington <hp@redhat.com> * gtk/gtkentry.c (gtk_entry_get_property): remove trailer (gtk_entry_set_property): remove trailer * gtk/gtkentry.c (gtk_entry_set_width_chars): (gtk_entry_get_width_chars): new functions, to set size request to a given number of characters * gtk/testgtk.c (create_dialog): beef up the dialog test slightly * gtk/gtkdialog.c (gtk_dialog_set_has_separator): new function (gtk_dialog_get_has_separator): new function (run_delete_handler): fix to not emit "response" signal because we already did in the delete event handler installed at dialog creation time. * gtk/gtkdialog.h: add a has_separator property, add GTK_DIALOG_NO_SEPARATOR flag
* new function, turns off decorations for a window.Havoc Pennington2001-03-079-206/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-07 Havoc Pennington <hp@redhat.com> * gtk/gtkwindow.c (gtk_window_set_decorated): new function, turns off decorations for a window. * demos/gtk-demo/button_box.c (create_bbox): adapt to button box changes * gtk/gtklabel.c (gtk_label_get_layout_offsets): new function to get location of PangoLayout inside the label, closes #51198 * gtk/testgtk.c (create_bbox): fix up button box usage * gtk/testcalendar.c (create_calendar): fix up button box usage * gtk/gtkfilesel.c (gtk_file_selection_init): fixup buttonbox usage * gtk/gtkdialog.c (gtk_dialog_init): fixup buttonbox usage * gtk/gtkhbbox.h: deprecations * gtk/gtkvbbox.h: deprecations * gtk/gtkbox.c (gtk_box_get_spacing): new function, used to emulate deprecated gtk_button_box_get_spacing * gtk/gtkbbox.h: deprecate some useless functions, remove entirely the "set global default" functions (struct _GtkButtonBox): remove "spacing" field, use the one from GtkBox base class * gtk/gtkbbox.c (_gtk_button_box_child_requisition): rename with uscore * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): If we fail to render the icon, return the missing image icon. * gtk/gtkimage.c (gtk_image_set_from_file): fall back to missing image icon if the load fails. * gtk/gtkstock.h (GTK_STOCK_MISSING_IMAGE): Add stock icon for use when no image is found; should be the Netscape "missing image" icon eventually but for now is a random image * gtk/gtkwindow.c (gtk_window_set_role): new function, sets the role for the session manager * gtk/testgtk.c (dnd_drop): remove use of GTK_WINDOW_DIALOG * gtk/gtkcompat.h (GTK_WINDOW_DIALOG): compat #define GTK_WINDOW_DIALOG GTK_WINDOW_TOPLEVEL * gtk/gtkenums.h (enum GtkWindowType): remove GTK_WINDOW_DIALOG
* marshaller fixes.Tim Janik2001-03-0713-266/+455
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Mar 7 13:24:57 2001 Tim Janik <timj@gtk.org> * gtk/*.c: marshaller fixes. * gtk/gtkmarshal.list: extreme cleanup. * gtk/gtktreeview.c (gtk_tree_view_class_init): disable interface param spec for now. * gtk/gtktexttag.c (gtk_text_tag_set_property): use g_value_get_boxed() where appliable. * gtk/gtktypeutils.[hc]: updates to GLib API changes. special cased autogenerated boxed types from gtktypebuiltins_ids.c which are not reference counted: GtkSelectionData, GdkEvent, GdkColor, GtkTextIter, PangoTabArray, PangoFontDescription, GtkTreeIter and GtkTreePath. Thu Mar 1 03:58:56 2001 Tim Janik <timj@gtk.org> * gtk/gtktreeselection.h: * gtk/gtktreemodel.c: * gtk/gtktreedatalist.[hc]: fixed includes. no gobject/* file should be included directly, and gobject/gmarshal.h as well as gtk/gtkmarshal.h even can't be included directly. * Makefile.am: grr, install gtk-config-2.0. * gtk/testgtk.c: * gtk/simple.c: * gtk/gtkmenu.c: * gtk/gtkitemfactory.c: use g_object_connect() instead of passing "*signal*::*" args to gtk_widget_set(). * gtk/gtktypeutils.[hc]: got rid of GTK_TYPE_SIGNAL. * gtk/*.c: removed trailer arg from property setters and getters. macro fixups. Thu Mar 1 04:01:57 2001 Tim Janik <timj@gtk.org> * test-gdk-pixbuf.c: fixed includes.
* add --nogtkinit.Jonathan Blandford2001-03-072-1/+5
| | | | | | Wed Mar 7 00:27:13 2001 Jonathan Blandford <jrb@redhat.com> * gdk-pixbuf/Makefile.am (scan-build.stamp): add --nogtkinit.
* You can't use + as a metacharacter for basic regular expressions. (ThisOwen Taylor2001-03-0332-4835/+230
| | | | | | | | | | | | | Sat Mar 3 17:20:53 2001 Owen Taylor <otaylor@redhat.com> * */Makefile.am (scan-build.stamp): You can't use + as a metacharacter for basic regular expressions. (This was the "all objects disappear") * gdk/gdk-sections.txt gdk-pixbuf/gdk-pixbuf-sections.txt * */*-unused.sgml: Remove a lot of empty stuff. (No point in saving old docs when there aren't any.)
* Minor correctionsGMT 2001 Tony Gale2001-03-011-3/+5
| | | | | | Thu Mar 1 13:14:27 GMT 2001 Tony Gale <gale@gtk.org> * docs/tutorial/gtk-tut.sgml: Minor corrections
* Remove draw_focus and draw_default (gtk_widget_draw_focus): remove thisHavoc Pennington2001-02-281-0/+11
| | | | | | | | | | | | | | | | | | | | | | 2001-02-28 Havoc Pennington <hp@redhat.com> * gtk/gtkwidget.h (struct _GtkWidgetClass): Remove draw_focus and draw_default (gtk_widget_draw_focus): remove this function; we could instead make it just gtk_widget_draw(), but in most cases I think the result would be broken user code, so think it's better to have that code not compile and get fixed (gtk_widget_draw_default): ditto * gtk/gtkwidget.c: Add default handlers for focus_in_event and focus_out_event that set/unset GTK_HAS_FOCUS and call queue_draw * gtk/gtkwindow.c (gtk_window_set_default): just queue a draw when widgets lose/get the default, instead of calling draw_default * docs/Changes-2.0.txt: note about all this Then fixed every widget in GTK, I won't list all the filenames.
* Fogot to change the dateTony Gale2001-02-271-1/+1
| | | | Fogot to change the date
* New question re memory leaks.GMT 2001 Tony Gale2001-02-271-0/+19
| | | | | | Tue Feb 27 13:37:38 GMT 2001 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: New question re memory leaks.
* fix these docs to reflect the current state of affairsHavoc Pennington2001-02-202-64/+30
| | | | | | | 2001-02-20 Havoc Pennington <hp@pobox.com> * gdk/tmpl/rgb.sgml: fix these docs to reflect the current state of affairs
* add --deprecated-guardsHavoc Pennington2001-02-2013-1031/+297
| | | | | | | | | | | | | | | | | | | | | | | | 2001-02-19 Havoc Pennington <hp@pobox.com> * gdk/Makefile.am (SCAN_OPTIONS): add --deprecated-guards * gdk/gdk-sections.txt: update * gdk/gdk-docs.sgml: update 2001-02-19 Havoc Pennington <hp@pobox.com> * gdk/gdkwindow.c: docs * gdk/gdkrgb.c: docs * gdk/gdkregion-generic.c: docs * gdk/gdkgc.c (gdk_gc_set_values): docs * gdk/gdkdraw.c: docs * gdk/gdkdrawable.h: deprecate drawable get/set data
* prepend underscore (gdk_pixbuf_get_named_module): prepend underscoreHavoc Pennington2001-02-2010-708/+54
| | | | | | | | | | | | | | 2001-02-18 Havoc Pennington <hp@pobox.com> * gdk-pixbuf-io.c (gdk_pixbuf_load_module): prepend underscore (gdk_pixbuf_get_named_module): prepend underscore (gdk_pixbuf_get_module): prepend underscore 2001-02-18 Havoc Pennington <hp@pobox.com> * gdk-pixbuf/Makefile.am (IGNORE_HFILES): add gdk-pixbuf-marshal.h * gdk-pixbuf/gdk-pixbuf-sections.txt: fixes
* sync up automated changes made by gtk-doc (manually verified correctness)Havoc Pennington2001-02-182-47/+17
|
* Use the new snazzy mother-of-all-gtk-doc-makefiles.Owen Taylor2001-02-1225-2621/+8114
| | | | | | | | | Sun Feb 11 22:16:34 2001 Owen Taylor <otaylor@redhat.com> * */Makefile.am: Use the new snazzy mother-of-all-gtk-doc-makefiles. * gdk/tmpl/* gdk-pixbuf/tmpl/*: Recover a bunch of docs that were lost at one point.
* windows (file is blank)Havoc Pennington2001-02-095-3/+90
| | | | | | | | | | | 2001-02-08 Havoc Pennington <hp@pobox.com> * gtk/windows.sgml: windows (file is blank) * gtk/framebuffer.sgml: framebuffer (file is blank) * gtk/compiling.sgml: how to use pkg-config, etc. (file is blank for now)
* better error message if you try to add a widget to a bin that already hasHavoc Pennington2001-02-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | 2001-02-08 Havoc Pennington <hp@redhat.com> * gtk/gtkbin.c (gtk_bin_add): better error message if you try to add a widget to a bin that already has a child. * gdk/gdkcc.h, gdk/gdkcc-x11.c: Remove GdkColorContext, #50512 * docs/Changes-2.0.txt: note that GdkColorContext is gone. * gdk/x11/Makefile.am (libgdk_x11_la_SOURCES): remove gdkcc-x11.c * gdk/gdk.h: remove gdkcc.h * gdk/Makefile.am (gdk_public_h_sources): remove gdkcc.h * gtk/gtkpixmap.c (build_insensitive_pixmap): rewrite using GdkPixbuf, since the previous implementation was GdkColorContext dependent. * gtk/testgtk.c (create_pixmap): add test for insensitive GtkPixmap
* s/MISK/MISC/GMT 2001 Tony Gale2001-02-051-4/+4
| | | | | | Mon Feb 5 13:22:54 GMT 2001 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: s/MISK/MISC/
* Add the intro docs sectionHavoc Pennington2001-02-042-2/+54
| | | | | | 2001-02-03 Havoc Pennington <hp@pobox.com> * gtk/tmpl/gtkfixed.sgml: Add the intro docs section
* CVS is doing its broken pipe thing, this is more of the previous commitHavoc Pennington2001-02-0318-37/+197
| | | | 2001-02-02 Havoc Pennington <hp@redhat.com>
* bracket in #ifdef GTK_ENABLE_BROKEN.Havoc Pennington2001-01-3124-276/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-30 Havoc Pennington <hp@pobox.com> * gtk/gtktreeitem.h, gtk/gtktree.h, gtk/gtktext.h: bracket in #ifdef GTK_ENABLE_BROKEN. * gtk/gtktreeitem.c, gtk/gtktree.c, gtk/gtktext.c: #define GTK_ENABLE_BROKEN just before including the broken headers. * gtk/gtktypeutils.c: #define GTK_ENABLE_BROKEN, so we can get the deprecated types registered. * gtk/testgtk.c, gtk/testselection.c: #define GTK_ENABLE_BROKEN, we have to test the broken stuff. * docs/Changes-2.0.txt: explain GTK_ENABLE_BROKEN 2001-01-30 Havoc Pennington <hp@pobox.com> Also committed a bunch of automatic changes made by gtk-doc, after reviewing for correctness. * gtk/tmpl/gtktext.sgml: add warning about deprecation and note about what to use instead * gtk/tmpl/gtktree.sgml: ditto * gtk/Makefile.am (scan): pass --deprecated-guards option to gtk-doc; requires new version of gtk-doc from CVS * gtk/gtk-docs.sgml: move GtkText to the deprecated section instead of the GtkTextView section. Oops.
* Added note explaining how the @button parameter is off by 1. (#6739)Owen Taylor2001-01-302-1/+8
| | | | | | | Tue Jan 30 16:01:54 2001 Owen Taylor <otaylor@redhat.com> * gtk/tmpl/gtkclist.sgml: Added note explaining how the @button parameter is off by 1. (#6739)
* FAQ update: - Update to bugzilla - Add GTK+ and security/SUID/SGID - AddGMT 2001 Tony Gale2001-01-161-34/+46
| | | | | | | | | Tue Jan 16 13:13:13 GMT 2001 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: FAQ update: - Update to bugzilla - Add GTK+ and security/SUID/SGID - Add DnD question
* update to make web site updating easierGMT 2001 Tony Gale2001-01-111-180/+173
| | | | | | Thu Jan 11 13:16:50 GMT 2001 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: update to make web site updating easier
* Restore build.Owen Taylor2001-01-0965-1416/+2333
| | | | | | | | | | | | Mon Jan 8 15:21:15 2001 Owen Taylor <otaylor@redhat.com> * Makefile.am (SUBDIRS): Restore build. * gdk/gdk-sections.txt gdk/gdk-docs.sgml gdk-pixbuf/gdk-pixbuf-sections.txt gtk/gtk-sections.txt gtk/gtk-docs.sgml: : Update. * */tmpl/*: Changes from update.
* Added --with-included-loaders optionAlexander Larsson2001-01-091-3/+3
| | | | | | | | | | | | | | | | | | | 2001-01-09 Alexander Larsson <alla@lysator.liu.se> * configure.in: Added --with-included-loaders option * gdk-pixbuf/Makefile.am: * gdk-pixbuf/gdk-pixbuf-io.c: Add support for including selected gdk-pixbuf loaders only. * gtk/gtkwindow.c (gtk_window_set_frame_dimensions, gtk_window_set_has_frame): Added inline documentation. * gdk/x11/gdkwindow-x11.c (gdk_window_get_decorations): * docs/reference/gdk/tmpl/windows.sgml: Added inline documentation.
* Correct filename ~/.pangoft2_aliasesAlexander Larsson2001-01-083-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-08 Alexander Larsson <alexl@redhat.com> * docs/README.linux-fb: Correct filename ~/.pangoft2_aliases * gdk/gdkwindow.h: Added new function gdk_window_get_decorations. * gdk/linux-fb/gdkfb.h: Removed _gdk_window_get_decorations declaration. Renamed _gdk_window_set_child_handler to gdk_fb_window_set_child_handler. * gdk/linux-fb/gdkwindow-fb.c: Renamed _gdk_window_set_child_handler to gdk_fb_window_set_child_handler. * gdk/x11/gdkwindow-x11.c: New function gdk_window_get_mwm_hints(). Implemented gdk_window_get_decorations. * docs/reference/gdk/tmpl/windows.sgml: * docs/reference/gdk/gdk-sections.txt: Added gdk_window_get_decorations docs.
* Adapt to uscore-ification of gtktextiterprivateHavoc Pennington2001-01-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-03 Havoc Pennington <hp@redhat.com> * gtk/gtktextbtree.c: Adapt to uscore-ification of gtktextiterprivate * gtk/gtktextdisplay.c (gtk_text_layout_draw): remove use of private functions; remove inclusion of private headers. * gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_line): Add this function, so we don't need private functions in gtktextdisplay.c * gtk/gtktextiterprivate.h: underscore-ification * gtk/gtkwidget.c: Clean up a bunch of docs that said "INTERNAL" to instead say "only useful to implement widgets" * gtk/gtkenums.h (GtkMovementStep): Rename GTK_MOVEMENT_CHARS, GTK_MOVEMENT_POSITIONS to GTK_MOVEMENT_LOGICAL_POSITIONS, GTK_MOVEMENT_VISUAL_POSITIONS. Resolves bug 40249. * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_set_colormap): This function was completely broken * gtk/testtext.c (line_numbers_expose): use gtk_paint_layout * gtk/gtkvscale.c (gtk_vscale_draw_value): use gtk_paint_layout * gtk/gtkvruler.c (gtk_vruler_draw_ticks): use gtk_paint_layout * gtk/gtklabel.c (gtk_label_expose): use gtk_paint_layout * gtk/gtkhscale.c (gtk_hscale_draw_value): use gtk_paint_layout * gtk/gtkhruler.c (gtk_hruler_draw_ticks): use gtk_paint_layout * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): use gtk_paint_layout * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): use gtk_paint_layout * gtk/gtkstyle.h: Add draw/paint expander to draw tree expanders. Progress on bug 40103. Add draw_layout to draw a PangoLayout. (struct _GtkStyleClass): Remove draw_cross, draw_oval, draw_ramp, which were not implemented. * gtk/gtktextbuffer.h (struct _GtkTextBufferClass): Add insert_pixbuf signal. Rename delete_text to delete_range since it also deletes pixbufs and child anchors. This almost closes bug 40245 (still need to deal with child anchors) * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Add insert_pixbuf, change signal names as appropriate, change types of signals taking marks/tags to have the specific type, not just G_TYPE_OBJECT * gtk/gtkmain.c (gtk_get_current_event_state): Add this function; closes bug 40051 * gtk/gtkoptionmenu.c (gtk_option_menu_set_history): clean up unnecessary remove_contents() call (gtk_option_menu_class_init): add a "changed" signal, closes bug 40039 (gtk_option_menu_update_contents): emit "changed" if the active menu item changes * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done): fix bad cast to GtkObject, reported by Jonas Borgstrom (gdk_pixbuf_loader_finalize): don't close the loader on finalize; we can't do stuff with side effects in finalize. Instead, spew a warning if the loader isn't closed. * gdk/x11/gdkdrawable-x11.c (gdk_drawable_impl_x11_finalize): free colormap in here, non-X ports probably need to sync to this change * gdk/x11/gdkdrawable-x11.c (gdk_x11_set_colormap): remove assertion that colormap != NULL, you can set the colormap to NULL if you like. * Makefile.am: remove gtk-config-2.0 * configure.in: Use pkg-config to locate GLib. Remove separated-out GMODULE_LIBS, GMODULE_CFLAGS; these were not used, and the gmodule libs/cflags were in GLIB_LIBS GLIB_CFLAGS anyhow. Use pkg-config to locate Pango. Output correct Pango libs to gdk-2.0.pc.in. Fix test for FREETYPE_CONFIG (typo fix). * Makefile.am (pkgconfig_DATA): install only target-specific pc files (install-data-local): symlink gtk+-2.0.pc and gdk-2.0.pc to the X11 pc files * gtk+-2.0.pc.in (Requires): require the GDK for the current target unref from here
* Update the docs to the new pangoft2 way.Alexander Larsson2000-12-211-27/+25
| | | | | | | 2000-12-21 Alexander Larsson <alexl@redhat.com> * docs/README.linux-fb: Update the docs to the new pangoft2 way.
* Add support for ps2 intellimouse.32000-12-131-2/+10
| | | | | | | | | | | | | | 2000-12-13 <alexl@redhat.com> * gdk/linux-fb/gdkmouse-fb.c (mouse_devs): Add support for ps2 intellimouse. * gdkkeyboard-fb.c: Move shift-F1 repaint handling to xlate handler only. * docs/README.linux-fb: Add imps2 to docs. Document the new refresh keys.
* doh, this was broken beyond believe.Tim Janik2000-12-1324-597/+564
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Dec 12 23:46:44 2000 Tim Janik <timj@gtk.org> * gtk/stock-icons/Makefile.am: doh, this was broken beyond believe. * gtk/gtkbox.c: change property types from (u)long to (u)int for ::position and ::padding. * gtk/gtkcontainer.c: make ::border_width an INT property. * gtk/gtkpacker.c: make ::position an INT property. * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed): guard against NULL h/v scrollbars, since this is used at construction time. * gtk/gtkclist.[hc]: nuked gtk_clist_construct(), implemented internal gtk_clist_constructor(). * gtk/gtkctree.[hc]: nuked gtk_ctree_construct(), implemented gtk_ctree_constructor(). * gtk/gtkprogressbar.c (gtk_progress_bar_class_init): property ::pulse_step should use ARG_PULSE_STEP, not ARG_FRACTION. * docs/reference/Makefile.am: fun stuff, disabled docs generation again, gtk-scan.c needs to introspec paramspecs, not GtkAgs. * gtk/gtkwidget.[hc]: removed gtk_widget_setv(), gtk_widget_getv(), gtk_widget_newv() and gtk_widget_get(). (gtk_widget_new): use g_object_new_valist(). (gtk_widget_set): use g_object_set_valist(). * gtk/gtkobject.[hc]: removed gtk_object_arg_get_info(), gtk_object_getv(), gtk_object_query_args(), gtk_object_newv(), gtk_object_class_add_signals(), gtk_object_class_user_signal_new(), gtk_object_class_user_signal_newv(), gtk_object_arg_set(), gtk_object_arg_get(), gtk_object_args_collect(), gtk_object_default_construct(), gtk_object_constructed(), GTK_CONSTRUCTED and GTK_OBJECT_CONSTRUCTED(). removed nsignals, signals and n_args members from GtkObjectClass. (gtk_object_new): use g_object_new_valist(). (gtk_object_set): use g_object_set_valist(). (gtk_object_get): use g_object_get_valist(). * gtk/gtkcompat.h: define gtk_object_default_construct(). * gtk/gtktypeutils.c (gtk_type_new): create constructed objects via g_object_new(). * gtk/*.c: removed gtk_object_class_add_signals() from class_init() fucntions, cleaned up method assignments (make sure your structures are setup properly before calling out). removed all GTK_CONSTRUCTED hacks ;)
* get rid of object_signal:: GtkObject argument uses, use GObjectTim Janik2000-12-1219-2242/+662
| | | | | | | | | | | | | | | | | | | | | Tue Dec 12 08:24:42 2000 Tim Janik <timj@gtk.org> * gtk/testgtk.c: (create_tooltips): (create_statusbar): get rid of object_signal:: GtkObject argument uses, use GObject swapped_signal:: properties instead. * gtk/gtkcellrenderertoggle.c: * gtk/gtkcellrenderertextpixbuf.c: * gtk/gtkcellrenderertext.c: * gtk/gtkcellrendererpixbuf.c: * gtk/gtkcellrenderer.c: * gtk/gtktreeviewcolumn.c: s/[sg]et_param/[sg]et_property/, fixed missing warnings for invalid property ids, install properties with g_object_class_install_property() now. * gtk/gtksignal.c: (gtk_signal_emit): let g_signal_emit_valist() collect the values for us.
* Add a function to determine if a window is the focus widget within itsOwen Taylor2000-12-114-187/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Oct 25 14:17:43 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.[ch] (gtk_widget_is_focus): Add a function to determine if a window is the focus widget within its toplevel. * gtk/gtkcontainer.[ch]: Fix the return type of ::focus to be boolean. * gtk/gtkcontainer.c (gtk_container_real_focus): Move handling of the case where the container CAN_FOCUS to here instead of having it in each individual move-the-focus place. * gtk/gtkcontainer.c: Rewrite handling of left-right and up-down focusing to be geometric in a much more obvious sense. Arrowing around is still non-intuitive because it isn't perfect and because entries, etc, grab the arrow keys, but it at least usually will do what you expect now. * gtk/gtknotebook.[ch]: Many cleanups. Moved docs inline in this file. * gtk/gtknotebook.c: Change tabs to be a single item in the focus chain. Make movement of focus on tabs with arrow keys wrap around. * gtk/gtknotebook.c (gtk_notebook_find_child): Add CHECK_FIND_CHILD macro to give informative error messages instead of silent returns. * gtk/gtknotebook.c (gtk_notebook_init): Set the RECEIVES_DEFAULT flag since we handle GdkReturn on the tabs. * gtk/gtknotebook.c (gtk_notebook_expose_tabs): Invalidate windows rather than sending expose events directly. * gtk/gtknotebook.[ch] docs/Changes-2.0.txt: Move structure definition for GtkNotebookPage into .c file, since it is private. * gtk/testgtk.c (create_notebook): Add option for testing borderless notebook. * gtk/testgtk.c (page_switch): Removed egregious poking around in GTK+ internals. * docs/widget-system.txt: Remove references to GTK_REDRAW_PENDING. * gtk/gtkclist.[ch]: Remove key press handler, handle focusing properly through gtk_clist_focus. Make the title headers a single item in the tab-focus chain, and make left-right wrap around. * gtk/gtkwindow.c (gtk_window_focus): Add a custom focus method so that wrapping around works properly. * gtk/gtktreeview.c: Remove calls to gtk_container_set_focus_child() - that is handled for the widget now.
* Clearified the difference between the keyboard types. Wrote a note aboutAlexander Larsson2000-12-111-4/+10
| | | | | | | | 2000-12-11 Alexander Larsson <alexl@redhat.com> * docs/README.linux-fb (GDK_KEYBOARD_TYPE): Clearified the difference between the keyboard types. Wrote a note about the magic sysrq key to get out of raw mode.
* Clarification.Alexander Larsson2000-12-081-0/+4
|
* Forgot to mention shift-F1Alexander Larsson2000-12-081-1/+2
|
* Docs, docs, anyone want docs!Alexander Larsson2000-12-082-0/+124
| | | | | | | | | | | | | | | | | | 2000-12-06 Alexander Larsson <alexl@redhat.com> * docs/README.linux-fb: * docs/Makefile.am: Initial GtkFB docs. * gdk/linux-fb/Makefile.am: Define GDK_DATA_PREFIX. * gdk/linux-fb/gdkmain-fb.c: Fix typo. Change default display to /dev/fb0. * gdk/linux-fb/gdkpango-fb.c: Add $(prefix)/share/fonts/ to font path.
* Fix to say that file_selection_complete() filters both files andOwen Taylor2000-12-053-4/+18
| | | | | | | | | | Thu Nov 30 00:53:45 2000 Owen Taylor <otaylor@redhat.com> * gtk/tmpl/gtkfilesel.sgml: Fix to say that file_selection_complete() filters both files and directories. * gtk/tmpl/gtktogglebutton.sgml: Fix description of gtk_toggle_button_toggled().
* DND updatesGMT 2000 Tony Gale2000-12-051-39/+80
| | | | | | Tue Dec 5 13:17:53 GMT 2000 Tony Gale <gale@gtk.org> * docs/tutorial/gtk-tut.sgml: DND updates
* fix this to be saneHavoc Pennington2000-12-045-123/+125
| | | | | | | | | | | | | | | | | | | | | | 2000-12-04 Havoc Pennington <hp@redhat.com> * gtk/gtkpaned.c (gtk_paned_expose): fix this to be sane * gtk/gtkvpaned.c (gtk_vpaned_expose): Add an expose handler * gtk/gtkhpaned.c (gtk_hpaned_expose): Add an expose handler * gtk/gtknotebook.c (gtk_notebook_draw_tab): put in a temporary hack to avoid infinite loops (queue draw instead of draw) - Owen has more appropriate fixes in a branch he'll check in later. * gtk/gtktextiter.c (gtk_text_iter_ends_line): handle paragraph separator, CR, and CRLF as line ends * gtk/gtktextbtree.c (gtk_text_btree_insert): on insertion, break into lines using pango_find_paragraph_boundary(); other bits of the widget are still going to be broken if the boundary isn't '\n' though
* Remove "draw" virtual method and signalHavoc Pennington2000-12-041-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-02 Havoc Pennington <hp@pobox.com> * gtk/gtkwidget.h (struct _GtkWidgetClass): Remove "draw" virtual method and signal * gtk/gtkwidget.c (gtk_widget_draw): Now just queues a draw then calls gdk_window_process_updates() to push the exposes through (gtk_widget_class_init): No more draw signal, no gtk_widget_real_draw() * gtk/gtkbin.c (gtk_bin_draw): remove * gtk/gtkbox.c (gtk_box_draw): remove * gtk/gtkbutton.c (gtk_button_draw): remove * gtk/gtkcalendar.c (gtk_calendar_draw): remove * gtk/gtkcheckbutton.c (gtk_check_button_draw): remove * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_draw): remove * gtk/gtkclist.c (gtk_clist_draw): remove * gtk/gtkentry.c (gtk_entry_draw): remove * gtk/gtkeventbox.c (gtk_event_box_draw): remove * gtk/gtkfixed.c (gtk_fixed_draw): remove * gtk/gtkframe.c (gtk_frame_draw): remove * gtk/gtkhandlebox.c (gtk_handle_box_draw): remove * gtk/gtkhpaned.c (gtk_hpaned_draw): remove * gtk/gtklayout.c (gtk_layout_draw): remove * gtk/gtklist.c (gtk_list_draw): remove * gtk/gtklistitem.c (gtk_list_item_draw): remove * gtk/gtkmenu.c (gtk_menu_draw): remove * gtk/gtkmenubar.c (gtk_menu_bar_draw): remove * gtk/gtkmenuitem.c (gtk_menu_item_draw): remove * gtk/gtknotebook.c (gtk_notebook_draw): remove * gtk/gtkoptionmenu.c (gtk_option_menu_draw): remove * gtk/gtkpacker.c (gtk_packer_draw): remove * gtk/gtkrange.c (gtk_range_draw): remove * gtk/gtkscrolledwindow.c (gtk_scrolled_window_draw): remove * gtk/gtkspinbutton.c (gtk_spin_button_draw): remove * gtk/gtktable.c (gtk_table_draw): remove * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_draw): remove * gtk/gtktext.c (gtk_text_draw): remove * gtk/gtktextview.c (gtk_text_view_draw): remove * gtk/gtktogglebutton.c (gtk_toggle_button_draw): remove * gtk/gtktoolbar.c (gtk_toolbar_draw): remove * gtk/gtktree.c (gtk_tree_draw): remove * gtk/gtktreeitem.c (gtk_tree_item_draw): remove * gtk/gtktreeview.c (gtk_tree_view_draw): remove * gtk/gtkviewport.c (gtk_viewport_draw): remove * gtk/gtkvpaned.c (gtk_vpaned_draw): remove * gtk/gtkvscale.c (gtk_vscale_draw): remove * gtk/gtkwindow.c (gtk_window_draw): remove
* DND updatesGMT 2000 Tony Gale2000-11-291-27/+82
| | | | | | Wed Nov 29 13:39:19 GMT 2000 Tony Gale <gale@gtk.org> * docs/tutorial/gtk-tut.sgml: DND updates
* - get rid of gtk_toggle_button_toggled FUD - start DND section - needsGMT 2000 Tony Gale2000-11-221-13/+176
| | | | | | | | | Wed Nov 22 14:11:19 GMT 2000 Tony Gale <gale@gtk.org> * docs/tutorial/gtk-tut.sgml: - get rid of gtk_toggle_button_toggled FUD - start DND section - needs work - based on: http://wolfpack.twu.net/docs/gtkdnd/