summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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 :)
* new widget from Lars Hamann <hamann@braunschweig.netsurf.de> and StefanTim Janik1998-02-251-2/+169
| | | | | | | | | | | Wed Feb 25 22:56:42 1998 Tim Janik <timj@gimp.org> * gtk/gtkspinbutton.h: * gtk/gtkspinbutton.c: new widget from Lars Hamann <hamann@braunschweig.netsurf.de> and Stefan Jeske <jeske@braunschweig.netsurf.de>. * gtk/gtknotebook.c: fixups from lars and stefan.
* implemented the statusbar widget. my first intend was to fix the code, butTim Janik1998-02-231-0/+149
| | | | | | | | | | | | | | | | | | Mon Feb 23 13:44:10 1998 Tim Janik <timj@gimp.org> * gtk/gtkstatusbar.h: * gtk/gtkstatusbar.c: (re-)implemented the statusbar widget. my first intend was to fix the code, but then there was nothing to fix - the whole thing was just a big JOKE! people who don't even know the semantics of the g_list_* functions shouldn't put their hands on widget code and inheritance! this is the first step to get bug "BUG: statusbar/hbox (redraw?) problem" worked out, i have to leave now, but will continue work on the resizing code this evening.
* api changes to GtkToolBar to support the private tooltips text also.Tim Janik1998-02-211-20/+24
| | | | -guess who ;)
* New widget GtkTipsQuery for letting the user query tooltips of widgets.Tim Janik1998-02-201-8/+79
| | | | | | | | | | | | | | Fri Feb 20 06:40:00 1998 Tim Janik <timj@gimp.org> * gtk/gtktipsquery.h: * gtk/gtktipsquery.c: New widget GtkTipsQuery for letting the user query tooltips of widgets. * gtk/testgtk.c: add example for GtkTipsQuery. * gtk/gtk.h: include gtk/gtktipsquery.h. * gtk/gtklabel.c: enable default constructing.
* Use POINTER_MOTION_HINT when dragging shapes around. (gtk-wille-980203-0Owen Taylor1998-02-191-1/+7
| | | | | | | | | | | | | Thu Feb 19 12:18:24 1998 Owen Taylor <owt1@cornell.edu> * gtk/testgtk.c : Use POINTER_MOTION_HINT when dragging shapes around. (gtk-wille-980203-0 Stefan Wille <1wille@vsys1.informatik.uni-hamburg.de>) * gtk/gtktext.c : Fixes to inserting and deleting characters on line breaks. (gtk-magnus-980210-0 Magnus Hulthen <magnus@axiom.se>)
* applied gtk-hamann_jeske-980218-0.patch.gz, a patch from Lars Hamann andTim Janik1998-02-191-90/+344
| | | | | | | | | | | | | | | | | | | Thu Feb 19 05:40:51 1998 Tim Janik <timj@gimp.org> * gtk/gtknotebook.h: * gtk/gtknotebook.c: applied gtk-hamann_jeske-980218-0.patch.gz, a patch from Lars Hamann and Stefan Jeske which introduces major usability improvements. fixed bugs are: - container border_width>0 does now work correctly for show_tabs==TRUE and for tab_pos=GTK_POS_BOTTOM/GTK_POS_RIGHT. - toggleing visibility of the tab labels works now. - emission of GtkNotebook:switch_page and all page changes also the signature for the GtkNotebook:switch_page signal changed, callbacks should now look like: gint notebook_switch_page (GtkWidget *widget, GtkNotebookPage *page, gint page_num, gpointer data);
* CList signal revert (right back at you! *ouch*)Jay Painter1998-02-191-84/+3
|
* A couple of compiler warning fixes, GtkCList signal changes, changedJay Painter1998-02-181-10/+83
| | | | | fileselect to work with new CList signals, and enhanced testgtk's clist example to show pixmaps and signal results. -Jay Painter
* Realize window before creating xpm so it gets the right colormap/visual,Owen Taylor1998-02-131-5/+7
| | | | | | | | Fri Feb 13 00:33:26 1998 Owen Taylor <owt1@cornell.edu> * gtk/testgtk.c (shape_create_icon): Realize window before creating xpm so it gets the right colormap/visual, instead of the default one.
* Change style->white to style->base[] where appropriate. Change the defaultOwen Taylor1998-02-131-1/+2
| | | | | | | | | * gtk/gtkentry.c gtk/gtkinputdialog.c gtk/gtklist.c gtk/gtklistitem.c gtktree.c gtk/gtktreeitem.c testgtkrc: Change style->white to style->base[] where appropriate. Change the default style to make this apparent. (Yes, it's ugly... it can be removed later)
* gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch]Owen Taylor1998-02-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Feb 12 23:59:49 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch] gtk/gtkselection.[ch] gdk/gdk.[ch] gtktypeutils.h Replaced all _interp functions with _full functions. (_interp functions left in for compatibility until 0.99.5). Difference: _full functions take _both_ a C-language callback and a marshaller, and simply ignore the C-language callback if the marshaller is present. This allows the destroy notification to be used without marshalling. gtk_selection_add_handler[_full]() regularized to agree with other callbacks. Also, added gtk_input_add_full() to the header file. (gtk_input_add_interp() was never there) * gtk/gtkmain.[ch] gtk/gtkwidget.c: Idle functions are now prioritized. Added new function gtk_idle_add_priority to create an idle with a specified priority (default is zero) constants #defined - GTK_PRIORITY_[HIGH/INTERNAL/DEFAULT/LOW] (redraws, resizes run at GTK_PRIORITY_INTERNAL) * gtk/gtkentry.c gtk/testselection.c: changes to keep up with change to gtkselection.c.
* New API functions: gtk_clist_get_cell_type gtk_clist_get_textJay Painter1998-02-081-8/+58
| | | | | | | | | New API functions: gtk_clist_get_cell_type gtk_clist_get_text gtk_clist_get_pixmap gtk_clist_get_pixtext gtk_clist_find_row_from_data
* don't add the same menu to different menuitems/ optionmenus.Tim Janik1998-02-031-10/+3
| | | | | | | | | | | | | | | | | | | | Tue Feb 3 15:09:55 1998 Tim Janik <timj@gimp.org> * gtk/testgtk.c: don't add the same menu to different menuitems/ optionmenus. * gtk/gtkmenuitem.h: * gtk/gtkmenuitem.c: new function gtk_menu_item_remove_submenu ro be consistent with optionmenu. use gtk_menu_attach_to_widget/ gtk_menu_detach for setting/removing the submenu. invoke gtk_widget_destroy(submenu) in destructor to be consistent with other destructors. * gtk/gtkoptionmenu.h: * gtk/gtkoptionmenu.c: attach/detach to menu widget via gtk_menu_attach_to_widget/gtk_menu_detach. invoke gtk_widget_destroy(menu) in destructor to be consistent with other destructors.
* fixed a bad, bad referencing bug that could caused unreferencing ofTim Janik1998-02-021-0/+1
| | | | | | | | | | | | | | | | | | | | | Mon Feb 2 04:15:08 1998 Tim Janik <timj@gimp.org> * gtk/gtkmain.c (gtk_propagate_event): fixed a bad, bad referencing bug that could caused unreferencing of finalized objects. * gtk/testgtk.c: destroy fileselection on "OK" (this triggered the above mentioned bug). * gtk/gtkwidget.h: * gtk/gtkwidget.c: * gtk/gtkobject.h: * gtk/gtkobject.c: implemented and object reference tracer (gtk_trace_referencing) which is activated if GTK_TRACE_OBJECTS is defined (currently per default). in gdb: set the static variable `gtk_trace_object' to point to the object that you want to have reference traced. * gtk/gtkfileselection.c: few cleanups.
* fixed a refresh bug with unrealization of no_window widgets.Tim Janik1998-02-021-5/+6
| | | | | (dialog button in tesgtk) -timj
* hm, initital refcount revolution commit ;)Tim Janik1998-01-301-16/+20
| | | | | still some gnits left, but keep working on it ;) -timj
* Conversion to use Paolo Molaro's GtkCombo instead of GtkComboBoxOwen Taylor1998-01-201-4/+5
|
* Removed the GTK_PIXMAP casts to match Eckehard's new prototypes.Federico Mena1998-01-191-37/+19
| | | | | | | | | | | | Mon Jan 19 16:21:00 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx> * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to match Eckehard's new prototypes. * gtk/gtktoolbar.h: Switched the order of the tooltip_text and widget parameters to the gtk_toolbar_*_widget() functions, to be friendlier to the C++ bindings. This is per request of Guillaume Laurent.
* GtkCList updates: Click-Drag column resizing, a couple of layoutJay Painter1998-01-191-3/+42
| | | | | | | | | fixes, show/hide functions for the title buttons, and I've replaced gtk_clist_new with gtk_clist_new_with_titles. gtk_clist_new will create a list without title bars which can be added later by calling gtk_clist_set_column_(title/widget) for the column button you want to add. A column button for column 0 always exhists, and buttons span all columns until they come to the next exhisting button, or the last column. -Jay
* Take putback events into accountOwen Taylor1998-01-171-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdk/gdk.c (gdk_events_pending): Take putback events into account * gdk/gdk.c (gdk_event_free): Handle dropdataavaible memory allocation correctly. (Incompatible change: client must _not_ fre event->data and event->data_type.) * gdk/gdk.c (gdk_event_translate): Changed DND dragging so that we don't ungrab pointer when we reenter window to prevent extra Enter/Leave effects which had bad effects. Changed drag zone handling to not send uncessary DragEnter events. Fixed EnterNotify/LeaveNotify handling. (Only pay attention to events on window, don't specify these events to XGrabPointer - that isn't valid, and handle reverse the sense of the handling of LeaveNotify.) * gdk/gdkwindow.c (gdk_window_remove_filter): Free removed filter. * gtk/gtk.defs (GdkFont): gdk_font_free => gdk_font_unref * gtk/gtkmain.{c,h} (gtk_events_pending): new function - apps should use this instead of gdk_events_pending. * gtk/gtkvbbox.h: Fixed a duplication in the headers. * gtk/testgtk.c (dnd_drop): Don't free the drop data, it belongs to the event.
* Applied patch from <lupus@lettere.unipd.it> which addsCST 1998 Shawn T. Amundson1998-01-171-2/+7
| | | | | | | | | | | | | | | | Sat Jan 17 13:26:15 CST 1998 Shawn T. Amundson <amundson@gimp.org> * gtk/gtkentry.[ch]: Applied patch from <lupus@lettere.unipd.it> which adds gtk_entry_set_max_length function. This was part of gtk-lupus-970112-0. * gtk/testgtk.c: Applied gtk-wille-980113-0 which fixes a problem with a shaped widget keeping grab forever when double clicked. * docs/gtk.texi: patch from Gregory McLean <gregm@randomc.com> to add some on aspect_frame, button_box, and color_selection widgets
* Now we use a GtkWindow of type GTK_WINDOW_DIALOG as a destination forFederico Mena1998-01-161-20/+6
| | | | | | | | | | | | | | | | Fri Jan 16 00:36:31 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx> * gtk/gtkhandlebox.c: Now we use a GtkWindow of type GTK_WINDOW_DIALOG as a destination for reparenting the child of the handle box. This solves the problem of having X calls in Gtk. It also makes the handle box work with KWM, OLVWM, 4Dwm (so I expect mwm to work as well). I hadn't noticed that previously it only worked with fvwm and twm. * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the real_parent field, as it is never used. (struct _GtkHandleBox): Added a float_window field. This is a GtkWindow to where the child is now reparented.
* GtkCList updates, GtkText now defaults to editable = FALSE, but you canJay Painter1998-01-132-25/+34
| | | | | turn it on and type now without it seg-faulting. You can also delete, but it will eventually seg fault on you (oh well). -Jay
* Fixed child->icon and child->label == NULL bugs.Federico Mena Quintero1998-01-131-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 1998-01-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gtk/gtktoolbar.c: (gtk_real_toolbar_style_changed): Fixed child->icon and child->label == NULL bugs. * gtk/gtktoolbar.h: Added some new functions: gtk_toolbar_append_widget() gtk_toolbar_prepend_widget() gtk_toolbar_insert_widget() These let the user insert any kind of widget in the toolbar. Also changed the gtk_toolbar_*_item() functions to return a GtkWidget * so that the user can do things with the toolbar buttons. * gtk/gtktoolbar.c: Now the toolbar supports its own buttons and arbitrary widgets as well. Geometry management has been changed accordingly. Added gtk_toolbar_remove() function, so container functionality should be complete now. * gtk/testgtk.c (create_toolbar): Added an entry widget to test the new toolbar. * Most of these changes are adapted from the gtk-lupus-970112-0-patch (should be 970112... :-)
* a few modifications, blah blahElliot Lee1998-01-081-0/+1
|
* New widget (GtkComboBox) and fixed gdk_window_init to initialize ↵Elliot Lee1998-01-081-4/+13
| | | | gdk_root_parent some more
* Added gtk_entry_set_editable()Elliot Lee1998-01-071-1/+15
|