summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* removed unneeded GtkCTree::draw_lines (gtk_ctree_get_node_info): NewLars Hamann1998-05-011-21/+21
| | | | | | | * gtkctree.[ch]: removed unneeded GtkCTree::draw_lines (gtk_ctree_get_node_info): New funtion to get data of ctree row. (draw_row): changed drawing order of tree lines, draw triangles in case of GTK_CTREE_LINES_NONE.
* New function to reset the RC styles for a heirarchyOwen Taylor1998-05-011-0/+66
| | | | | | | | | | | | | | | | | | Fri May 1 12:06:43 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New function to reset the RC styles for a heirarchy Clear the window background if necessary in gtk_window_style_set. * gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which rereads all previously read RC files. * gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels(). (Should it just be called gdk_get_toplevels?) * gtk/testgtk.c: New test to reload RC files.
* prefixed all clist flags with GTK_ to avoid name clashes. redefinedTim Janik1998-05-011-47/+810
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri May 1 13:57:36 1998 Tim Janik <timj@gtk.org> * gtk/gtkclist.h: * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add the GTK_ prefix (this solution involved less changes in the gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute the mem_chunk==NULL test in gtk_clist_construct. merged in changes from lars & stefan to support the derivation of GtkCtree. * gtkctree.h: * gtkctree.c: initial import of a tree widget derived from gtkclist, courtesy of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>, it just damn rocks! Fri May 1 10:05:44 1998 Tim Janik <timj@gtk.org> * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work for us. (gtk_list_insert_items): (gtk_list_remove_items_internal): (gtk_list_clear_items): remove a possible pointer grab, we might get thrown into a loop otherwise. (gtk_list_button_press): grab the pointer *before* selecting the child, because selection of items may cause the lists children to change, resulting in a grab release. (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of children. (gtk_list_shutdown): remove all children from the list. (gtk_real_list_unselect_child): (gtk_real_list_select_child): *always* put our internal structures into sane state *before* signal emisions (i.e. list->selection updates prior to gtk_list_item_[de]select() calls). * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists focused child walks out of the window. removed CAN_FOCUS for the combo arrow's button since it doesn't react to keyboard events ("clicked" connection is missing).
* Merged changes from gtk-1-0. Check ChangeLog for details.Owen Taylor1998-05-013-3/+141
|
* removed duplicate call to gtk_widget_set_policy.Michael K. Johnson1998-04-131-2/+0
| | | | | | | Mon Apr 13 15:04:26 1998 Michael K. Johnson <johnsonm@redhat.com> * gtk/testgtk.c (create_clist): removed duplicate call to gtk_widget_set_policy.
* Changed LGPL address for FSF in all .h and .c filesPDT 1998 Shawn T. Amundson1998-04-133-6/+9
| | | | | | Sun Apr 12 18:54:29 PDT 1998 Shawn T. Amundson <amundson@gtk.org> * Changed LGPL address for FSF in all .h and .c files
* don't shut down the tooltip on expose events.Tim Janik1998-04-111-1/+6
| | | | | | | | | Sat Apr 11 05:51:22 1998 Tim Janik <timj@gtk.org> * gtk/gtktooltips.c (gtk_tooltips_event_handler): don't shut down the tooltip on expose events. * gtk/testgtk.c (create_progress_bar): add an example tooltip.
* Picky --enable-ansi cleanups.Owen Taylor1998-04-101-1/+1
| | | | | | | | | | | | | | | | | | Thu Apr 9 18:36:31 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkmisc.c gdk/gdkwindow gtk/gtkentry.c gtk/testgtk.c: Picky --enable-ansi cleanups. * gtk/gtkstatusbar.c (gtk_statusbar_pop): Pop top message off _belonging_to_this_context_. (gtk-d4bjorn-980409-0) From "Damon Chaplin" <DAChaplin@email.msn.com> * gtk/gtktable.c (gtk_table_size_request_pass3): Small fix to size requisition code. * gtk/gtknotebook.c: Make sure not to do things to page->tab_label if it doesn't exist.
* (Found by Mattias.Gronlund" <Mattias.Gronlund@sa.erisoft.se>)Owen Taylor1998-04-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | Thu Apr 9 14:24:35 1998 Owen Taylor <owt1@cornell.edu> (Found by Mattias.Gronlund" <Mattias.Gronlund@sa.erisoft.se>) * gtk/gtkcurve.c (gtk_curve_interpolate): Added a missing g_free. * gtk/gtkcurve.c (gtk_curve_graph_events): Limits were off by one, resulting in writing past array bounds. Removed some unused code. * gdk/gdk.c (gdk_dnd_drag_begin): The event structure used for gdk_event_put should be a GdkEvent, not a subtype, since it will all be copied. * gtk/gtkcolorsel.c: Added a unrealize handler that unref's the GC's that were created. * gtk/testgtk.c (clist_warning_test): ref and sink child because it may never be added to anything.
* forgot to set the initial `0' cursor.Tim Janik1998-03-311-3/+4
| | | | | | Tue Mar 31 06:37:16 1998 Tim Janik <timj@gtk.org> * gtk/testgtk.c (create_cursors): forgot to set the initial `0' cursor.
* Improved main loop test. (Quits main loop properly, makes it more obviousOwen Taylor1998-03-301-10/+40
| | | | | | | | | | | | | | | | | | | | | | | Mon Mar 30 16:35:57 1998 Owen Taylor <owt1@cornell.edu> * gtk/testgtk.c: Improved main loop test. (Quits main loop properly, makes it more obvious to the user what is going on) * gtk/gtkwidget.c (gtk_widget_unparent): Reset the allocation _after_ clearing the window. * configure.in: If can't find XShmAttach in Xext, check in XextSam (for AIX). * gtk/gtkmain.c (gtk_events_pending): Remember, small numbers are _high_ priority for idle queues. * gtk/gtkmain.c (gtk_handle_current_timeouts): Allow removing the currently running timeout. * gtk/testgtk.c (timeout_test): Use the right prototype for callback.
* Added wrapping capabilities to GtkSpinButton. New function :Tim Janik1998-03-291-1/+5
| | | | | | | | Sun Mar 29 22:29:00 1998 Tim Janik <timj@gtk.org> * gtk/gtkspinbutton.[ch] gtk/testgtk.c (gtk_spin_button_set_wrap): Added wrapping capabilities to GtkSpinButton. New function : gtk_spin_button_set_wrap (Lars Hamann and Stefan Jeske).
* Don't clear the window on an expose event. On draws, just clear theOwen Taylor1998-03-281-2/+2
| | | | | | | | | | | | | | Fri Mar 27 17:58:41 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkhandlebox.c (gtk_handle_box_paint): Don't clear the window on an expose event. On draws, just clear the portion we are redrawing. * gdk/gdkfont.c (gdk_fontset_load): Corrected calculation of fontset ascent/descent. * gtk/gtkwidget.[ch]: Added new function to show a toplevel window and wait for it to be mapped, gtk_window_show_now ()
* implemented new flag shrink_on_detach (TRUE by default) which will causeTim Janik1998-03-241-2/+28
| | | | | | | | | | | | Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org> * gtk/gtkhandlebox.h: * gtk/gtkhandlebox.c: implemented new flag shrink_on_detach (TRUE by default) which will cause the handle boxes requisition to collapse in case the child is already detached. removed duplicate ChangeLog entry from owen.
* Added gtk/testgtk.1 man page for testgtkBen Gertzfield1998-03-241-0/+15
|
* Added optional word wrap, controlled by new functionOwen Taylor1998-03-231-6/+26
| | | | | | | | | | | Mon Mar 23 01:04:51 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtktext.[ch] testgtk.c: Added optional word wrap, controlled by new function gtk_text_set_word_wrap; and a check button in the Text test. * gtk/gtktext.c: First line wasn't getting updated properly when selection was removed.
* leave container_class->add and container_class->remove untouched if weTim Janik1998-03-231-2/+32
| | | | | | | | | | | Mon Mar 23 01:08:30 1998 Tim Janik <timj@gtk.org> * gtk/gtkclist.c (gtk_clist_class_init): leave container_class->add and container_class->remove untouched if we don't implement them. * gtk/gtkcontainer.c (gtk_container_class_init): add missing NULL initialization for the class method (*foreach). implement a default handler to output a warning for (*add) and (*remove).
* fixes to locale checksOwen Taylor1998-03-221-13/+40
| | | | | | | | | | | | | | | | | Sun Mar 22 16:25:46 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkmain.c (gtk_init): fixes to locale checks * gtk/testgtk.c (create_dnd): Create the dnd icons separately to avoid strange interactions with shapes demo. * gtk/gtkentry.[ch]: - Limit the length of the text to 2048 to prevent long delays - Fix problems with buffer overruns - Draw only the onscreen portion of the text to prevent wrapping of shorts in the X drawing code. - Keep track of character positions and x-offsets to speed up algorithms.
* Don't respond to drops when grab is in effect. (workaround)Owen Taylor1998-03-222-6/+12
| | | | | | | | | | | | | | | | Sat Mar 21 19:07:01 1998 Owen Taylor <owt1@cornell.edu> * gtk/testgtk.c (dnd_drop): Don't respond to drops when grab is in effect. (workaround) * gdk/gdkfont.c (gdk_fontset_load): More details on error messages. * gdk/gdk.c: Translate va_list to XVaNestedList instead of just casting it. * gtk/gtkmain.c: Make temporary copy of string returned by setlocale, since it may be changed by subsequent calls.
* major overhaul of the code, fixed all known bugs (hopefully ;).Tim Janik1998-03-211-1/+14
| | | | | | | | | | | | | | | | | | | Sat Mar 21 22:54:31 1998 Tim Janik <timj@gtk.org> * gtk/gtkhandlebox.h: * gtk/gtkhandlebox.c: major overhaul of the code, fixed all known bugs (hopefully ;). Sat Mar 20 15:33:17 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_real_show): queue the resize for the parent. Thu Mar 19 02:00:50 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_unrealize): unset flags after emission, especially GTK_MAPPED, since that might not have been taken care of by an UNMAP emission.
* #define M_PI if it isn't already initialize transparent properly, to makeManish Singh1998-03-191-3/+3
| | | | | | | * gtk/gtkcolorsel.c: #define M_PI if it isn't already * gtk/testgtk.c: initialize transparent properly, to make purify happy -Yosh
* ( From: James Henstridge <james@daa.com.au> )Owen Taylor1998-03-182-28/+40
| | | | | | | | | | | | | | | | | | | | | | | | Wed Mar 18 11:09:10 1998 Owen Taylor <owt1@cornell.edu> ( From: James Henstridge <james@daa.com.au> ) * gtk/gtkclist.c: Don't remove, then destroy labels in gtk_clist_set_column_[*], just remove them. * gtk/gtkmain.c (gtk_invoke_timeout_function): call marshal when appropriate, not function. Tue Mar 17 14:15:07 1998 Owen Taylor <owt1@cornell.edu> * gtk/testgtk.c (create_main_window): Alphabetize tests * gtk/gtk[hv]paned.c: Change division on resize if necessary to keep handle visible. * gtk/gtkgamma.c gtk/gtkcurve.c: Moved initialization into _init() functions. * gtk/gtkscrolledwindow.c: Added missing _construct() functions.
* fixed a bug about drawing GTK_ARROW_LEFT, correction from Damon ChaplinTim Janik1998-03-171-0/+1
| | | | | | | Tue Mar 17 12:36:35 1998 Tim Janik <timj@gimp.org> * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing GTK_ARROW_LEFT, correction from Damon Chaplin <DAChaplin@email.msn.com>.
* exported gtk_spin_button_spin since it is used in testgtk, and besidesTim Janik1998-03-171-1/+191
| | | | | | | | | | | | | | | | | | | | Tue Mar 17 03:56:13 1998 Tim Janik <timj@gimp.org> * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is used in testgtk, and besides that. * gtk/testgtk.c: created a new "test" cursors, which showes different types of GdkCursors and is a very simple example at using the drawing area. Tue Mar 17 03:56:13 1998 Tim Janik <timj@gimp.org> * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is used in testgtk, and besides that. * gtk/testgtk.c: created a new "test" cursors, which showes different types of GdkCursors and is a very simple example at using the drawing area.
* added new flag GTK_EXCLUSIVE_GRAB. allow exclusive grabs.Tim Janik1998-03-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Sun Mar 15 13:25:28 1998 Tim Janik <timj@gimp.org> * gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB. * gtk/gtkmain.c: allow exclusive grabs. * gtk/gtkmenu.c: grab exclusively. * gtk/gtkmenushell.c: grab exclusively. * gtk/gtkmenushell.c: don't activate insensitive menu items when in click-selects mode. * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): activate submenus on popup. * gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't take *additional* button presses into account. * gtk/gtkmenushell.c (gtk_menu_shell_button_press): don't take foreign button releases into account. oh boy, please check this out people, hope i covered all cases.
* changed run type of GtkTipsQuery::widget_entered to GTK_RUN_LAST, so itTim Janik1998-03-151-10/+27
| | | | | | | | Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org> * gtk/gtktipsquery.c (gtk_tips_query_set_labels): changed run type of GtkTipsQuery::widget_entered to GTK_RUN_LAST, so it can be overidden by the user.
* fix popup calculations (removal of FIXMEs), changes from Lars Hamann.Tim Janik1998-03-131-3/+11
| | | | | | | | | | | | | | Fri Mar 13 18:25:07 1998 Tim Janik <timj@gimp.org> * gtk/gtkcombo.c: fix popup calculations (removal of FIXMEs), changes from Lars Hamann. Fri Mar 13 10:25:16 1998 Tim Janik <timj@gimp.org> * gtk/gtkwidget.h: * gtk/gtkwidget.c: renamed gtk_widget_delete_hides to gtk_widget_hide_on_delete at owens request, and because the new name is much more descriptive.
* return TRUE for GtkWidget::delete_event to avoid destruction of our floatTim Janik1998-03-121-186/+52
| | | | | | | | | | | | | | | | Thu Mar 12 20:17:47 1998 Tim Janik <timj@gimp.org> * gtk/gtkhandlebox.c (gtk_handle_box_delete_float): return TRUE for GtkWidget::delete_event to avoid destruction of our float window. * gtk/gtkmain.c (gtk_main_iteration_do): GDK_DELETE will destroy a widget if the last handler returned FALSE or there was none connected. * gtk/testgtk.c: adapted all delete_event/destroy case that were affected. * gtk/gtkwidget.c (gtk_widget_delete_hides): new function that will hide a widget and return TRUE to avoid window deletion if connected to GtkWIdget::delete_event.
* new_pixmap wasn't using its filename argument. Add descriptionsRussell Nelson1998-03-121-1/+1
| | | | | | | Wed Mar 11 22:52:57 1998 Russell Nelson <nelson@crynwr.com> * gtk/gtktest.c: new_pixmap wasn't using its filename argument. * docs/gtk.texi: Add descriptions
* fetch the inintial value of attributes.event_mask fromTim Janik1998-03-121-6/+28
| | | | | | | | | | Thu Mar 12 08:55:34 1998 Tim Janik <timj@gimp.org> * gtkitem.c: * gtktree.c: * gtklist.c: fetch the inintial value of attributes.event_mask from gtk_widget_get_events (widget) (pointed out by Damon Chaplin <DAChaplin@email.msn.com>).
* Bug fixes/improvements to the motion event eating for DndElliot Lee1998-03-111-0/+1
|
* Various minor cleanups related to -WOwen Taylor1998-03-111-2/+4
| | | | | | | Tue Mar 10 23:02:42 1998 Owen Taylor <owt1@cornell.edu> * gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c: Various minor cleanups related to -W
* applied gtk-hamann_jeske-980311-0.patch.gz.Tim Janik1998-03-111-18/+71
| | | | | | | Wed Mar 11 07:10:11 1998 Tim Janik <timj@gimp.org> * gtk/gtkspinbutton.h: * gtk/gtkspinbutton.c: applied gtk-hamann_jeske-980311-0.patch.gz.
* applied gtk-bolliet-980310-0.patch.gz which adds more checks andTim Janik1998-03-111-1/+1
| | | | | | | | | | | | Wed Mar 11 04:35:06 1998 Tim Janik <timj@gimp.org> * gtk/gtklist.c: * gtk/gtktree.h: * gtk/gtktree.c: * gtk/gtktreeitem.h: * gtk/gtktreeitem.c: applied gtk-bolliet-980310-0.patch.gz which adds more checks and implements gtk_tree_clear_items. made a bunch of style and indentation fixes.
* - Show selection correctly when starting selection with arrowsOwen Taylor1998-03-082-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Mar 8 15:53:33 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtktext.c: - Show selection correctly when starting selection with arrows - Display pixmap background only when not editable - Redraw focus area more carefully to prevent flashing (and make style of drawing consistent with Entry) * gtk/gtktreeitem.c: ref colormaps for pixmap by colormap storage. * gtk/gtkrc.c: Store a separate style for each RcStyle for each colormap, so we can handle background pixmaps correctly, which need to be per-colormap. (Leaks colormaps...) Parse text color style entries correctly. * gtk/testgtk.c: insert text without fg color gtk/testgtkrc: move "*" after rest, so the other class styles take effect * gdk/gdkwindow.c gdk/gdk.c gdk/gdkprivate.h: Send DND events safely, in case drop window disappears. (Performance hit because XSync()'s are necessary) * gdk/gdk.h gdk/gdkpixmap.c: Added gdk_pixmap_colormap_create_from_xpm[_d] to allow creating pixmaps from xpm's before you have a GdkWindow.
* changed clist->selection GList so its data elements are casted row indexes ↵Jay Painter1998-03-081-5/+108
| | | | | | | instead of pointers. I also cleaned up a few bugs with GTK_SELECTION_MULTIPLE mode, and some signal synronization problems with removing selected rows.
* define the version variables in config.h.Tim Janik1998-03-081-0/+18
| | | | | | | | | | | Sun Mar 8 03:00:17 1998 Tim Janik <timj@gimp.org> * configure.in: define the version variables in config.h. * gtk/gtkmain.h: * gtk/gtkmain.c: added static version variables. * gdk/gdkpixmap.c: fixed memory leaks (gtk-gronlund-980307-1.patch.gz)
* Disallow pasting into non-editable widgets.Owen Taylor1998-03-071-45/+34
| | | | | | | | | | | | | | | | | | | | | | | | | Fri Mar 6 21:30:05 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkeditable.c: Disallow pasting into non-editable widgets. * gtk/gtktext.[ch]: -Added scrolling when dragging the selection paste the top/bottom. -Fix some of the problems with displaying the selection state before mouse release. -Disallow pasting into non-editable widgets -Fixed segfault when changing window size -Update the cursor correctly when switching between editable and non-editable * testgtk.c: Added a toggle button for editability for the text widget.
* Added gtk_file_selection_show_fileop_buttons(GtkFileSelection *fs), andIan Main1998-03-061-1/+30
| | | | | | | | | | | | | | | | | | Thu Mar 5 20:41:27 1998 Ian Main <imain@gnu.org> * gtk/gtkfilesel.c: Added gtk_file_selection_show_fileop_buttons(GtkFileSelection *fs), and gtk_file_selection_hide_fileop_buttons(GtkFileSelection *fs). Changed pulldown to only contain current directory name instead of the full path. Removed Help button (it can now be packed into the button_area if desired. * gtk/gtkfilesel.h: Added GtkWidget *button_area (the fileop buttons at the top are packed into this hbox), and GtkWidget action_area (hbox below clists) to GtkFileSelection structure. * gtk/testgtk.c: Changed the filesel example to show off the hiding/ showing of fileop buttons, and the packing area.
* Miscellaneous minor fixes to remove ANSI C incompatibilitiesOwen Taylor1998-03-021-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Mar 2 17:48:38 1998 Owen Taylor <owt1@cornell.edu> Miscellaneous minor fixes to remove ANSI C incompatibilities * gdk/gdkregion.c gtk/gtkclist.c: fix // comments * gdk/gdkdnd.c gdk/gdkinputcommon.h: change types of some arguments to ANSI functions * gtk/gtkcombo.c gtk/gtktree.c: fix casts of function pointers to void * * gtk/gtkmain.c: An actual bug! (in deprecated gtk_input_add_interp) * gtk/gtknotebook.h: Bitfields must be gint or guint. (and should be guint) * gtk/gtkstatusbar.c: trailing ';' * gtk/testgtk.c: GList where there should have been GSList * glib.h gutils.c : changed g_strcasecmp to take gchar* not guchar* * testglib.c: Remove trailing ; after functions
* small fix to notebook portionPST 1998 Shawn T. Amundson1998-03-021-0/+1
| | | | | | Sun Mar 1 16:47:29 PST 1998 Shawn T. Amundson <amundson@gimp.org> * gtk/testgtk.c: small fix to notebook portion
* Required changes for version change to 0.99.4PST 1998 Shawn T. Amundson1998-03-021-0/+500
| | | | | | | | | | | | | | | | Sun Mar 1 15:18:38 PST 1998 Shawn T. Amundson <amundson@gimp.org> * Required changes for version change to 0.99.4 * gtk/gtktree.[ch]: patch from J. Bolliet to correct some bugs * gtk/testgtk.c: added test here from J. Bolliet, removed testtree * gtk/clist: gtk-abilleira-981602-0, allows gtk_clist_set_pixmap and gtk_clist_set_pixtext to not require a mask * gdk/gdkdraw.c,gdk.h: gtk-trow-980217-0 adds gdk_draw_lines and fixes some things about gdk_draw_polygon
* complete api change to honour message contexts. unfortunaltely this alsoTim Janik1998-03-011-55/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Mar 1 22:59:09 1998 Tim Janik <timj@gimp.org> * gtk/gtkstatusbar.h: * gtk/gtkstatusbar.c: complete api change to honour message contexts. unfortunaltely this also involved argument changes on the signal emissions which will not be caught by the compiler. your callbacks should look like: void message_text_popped (GtkStatusbar *statusbar, guint context_id, const gchar *text, gpointer func_data); * gtk/gtkwidget.c (gtk_widget_set_rc_style): eliminated bug about initial signal emission. (gtk_widget_set_parent): don't ensure style, just call gtk_widget_set_style_recurse. (gtk_widget_set_style_recurse): only change a widget's rc styles if if there has already been a lookup. * gtk/testgtk.c: adaptions for statusbar widget. substituted notebook pixmaps with pixmaps from fvwm, since we don't know where the originals came from. * gtk/gtkobject.c (gtk_object_data_destroy): call the destroy notifier with the objects data, not its internal structure. * gtk/gtkspinbutton.c (gtk_spin_button_button_press): small fix from lars.
* gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch]Owen Taylor1998-03-012-7/+6
| | | | | | | | | | | | | | | | Sun Mar 1 03:20:39 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch] Turned off debugging in gtktext.c Bug fixes for cutting, pasting, deleting, etc. Some of the bugs that were there before have definitely been fixed. * gtk/testgtk.c gtk/testgtkrc: Removed my ugly orange backgrounds, to make things look nicer.
* more fixups -timjTim Janik1998-02-281-0/+15
| | | | | more fixups -timj
* handle box signals. fixups for 99.4 -timjTim Janik1998-02-281-1/+20
| | | | | | handle box signals. fixups for 99.4 -timj
* GtkWIdget::style_set initial emission,Tim Janik1998-02-271-1/+1
| | | | read up in docs/style.txt on this ;)
* we make an active server grab now, this way we can change the cursorTim Janik1998-02-272-4/+4
| | | | | | | | | | | | | | | | | | | | Fri Feb 27 15:31:55 1998 Tim Janik <timj@gimp.org> * gtk/gtktipsquery.c: we make an active server grab now, this way we can change the cursor globally and don't need to tweak event masks of other windows. * gtk/gtkframe.c (gtk_frame_style_set): recompute label size. * gtk/gtkwidget.h: * gtk/gtkwidget.c: New signal GtkWidget::style_set to be emitted when a widget's style changed. New flag GTK_RC_STYLE to indicate whether an rc lookup has been perfomed for the widget. (gtk_widget_ensure_style): New function. (gtk_widget_set_rc_style): New function. * docs/styles.txt: new file.
* gtk/gtktext.cOwen Taylor1998-02-272-1/+128
| | | | | | | | | | | | | | | | | | | | | | Fri Feb 27 01:11:55 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtktext.c - gtk_text_delete and gtk_text_insert now update caches and refresh screen correctly if the text widget isn't frozen. - Fixed bug where text->first_line_start_index wasn't being updated correctly on insertion and deletion. - Added new public macro GTK_TEXT_INDEX (text, ind), and function gtk_text_get_chars(text, index, nchars); Thu Feb 26 22:36:46 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkhandlebox.c (gtk_handle_box_realize): Use MWM hints to undecorate window. * gtk/testgtk.c gtk/circles.xbm: new test for WM hints.
* D&D now lets you use shaped windows for drags. As usual, see testgtk.c... ↵Elliot Lee1998-02-261-3/+17
| | | | Now finish GnomeMC, miguel :)