- 14 Jul, 1998 3 commits
-
-
Tim Janik authored
Tue Jul 14 19:12:12 1998 Tim Janik <timj@gtk.org> * gtk/gtkbutton.c (gtk_button_set_arg): don't destroy a buttons child if it isn't a label.
-
Tim Janik authored
Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org> * gtk/gtkdialog.h: * gtk/gtkseparator.h: * gtk/gtkhseparator.h: * gtk/gtkvseparator.h: macro and GtkType fixups.
-
Tim Janik authored
Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org> * gtk/testgtk.c (create_cursors): display the current cursor name. * gtk/gtktypeutils.h: * gtk/gtktypeutils.c (gtk_type_init_builtin_types): cleanups to the fundamental type definition. the GtkArg union now only covers the required storage types for argument values. adapted the GTK_VALUE_* macro set. handle GTK_TYPE_UCHAR. definiton of type set bounds macros. * gtk/gtkargcollector.c (gtk_arg_collect_value): clean ups of the code, fixed int/float collection. fixed a bug in the sanity checking code for GtkObjects. * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixups of the argument collection code. * gtk/gtksignal.c (gtk_signal_collect_params): use the type set bounds macros when distinguishing the return type.
-
- 13 Jul, 1998 1 commit
-
-
Jiri (George) Lebl authored
Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com> * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private is not NULL before trying to g_list_remove the child. A patch from Michael Lausch. this finally fixes the swallows for the panel :)
-
- 12 Jul, 1998 3 commits
-
-
Tim Janik authored
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org> * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument collection (always casted to doubles upon argument passing).
-
Tim Janik authored
Sun Jul 12 05:59:26 1998 Tim Janik <timj@gtk.org> * gtk/gtktypeutils.c (gtk_type_new): call the base classes' object_init_func for derived objects with the object's ->klass field still pointing to the corresponding base class, otherwise overridden class functions could get called with partly-initialized objects. (change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).
-
Tim Janik authored
Sun Jul 12 02:47:35 1998 Tim Janik <timj@gtk.org> * gtk/gtkobject.h: * gtk/gtkobject.c: (gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info(). * gtk/gtkcontainer.h: * gtk/gtkcontainer.c: (gtk_container_child_arg_get_info): new function which wraps gtk_arg_get_info().
-
- 10 Jul, 1998 6 commits
-
-
Tim Janik authored
Fri Jul 10 13:29:53 1998 Tim Janik <timj@gtk.org> * gtk/gtkcontainer.c: (gtk_container_arg_get): (gtk_container_arg_set): * gtk/gtkobject.c: (gtk_object_arg_set): (gtk_object_arg_get): strictly check for the associated get/set arg functions. if an arg is readable or writable, the associated class functions *must* be provided.
-
Tim Janik authored
Fri Jul 10 09:37:50 1998 Tim Janik <timj@gtk.org> * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the padding into account if there is an accelerator.
-
Tim Janik authored
Fri Jul 10 05:51:44 1998 Tim Janik <timj@gtk.org> * gtk/gtkcontainer.c: (gtk_container_add_with_args): collect the arguments with gtk_container_child_args_collect, not through gtk_object_args_collect. (gtk_container_child_set): likewise. (cut 'n paste strikes back)
-
Tim Janik authored
Fri Jul 10 04:20:35 1998 Tim Janik <timj@gtk.org> * gtk/gtktypeutils.h: * gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER which is derived from GTK_TYPE_STRING. * gtk/gtkbindings.c: reworked the argument type handling.
-
CDT 1998 Shawn T. Amundson authored
Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org> * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits so that it seems to allow normal operation in those modes, although you will only see black. 1 bit untested
-
CDT 1998 Shawn T. Amundson authored
Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org> * gdk/gdkvisuals.c: 4 bit support, increased available_depths array, which was too low (?)
-
- 09 Jul, 1998 1 commit
-
-
Tim Janik authored
Fri Jul 10 00:02:04 1998 Tim Janik <timj@gtk.org> * gtk/gtkcontainer.h: * gtk/gtkcontainer.c: deleted most of the argument handling code, since that is now implemented in gtkarg.c. similar to gtk_object_args_collect, we now export a new function gtk_container_child_args_collect(). for consistency with the object arguments, a few functions got renamed: gtk_container_child_arg_get -> gtk_container_child_get, gtk_container_child_arg_set -> gtk_container_child_set, gtk_container_child_arg_getv -> gtk_container_child_getv, gtk_container_child_arg_setv -> gtk_container_child_setv, gtk_container_add_with_argv -> gtk_container_addv. note, gtk_container_add_with_args() remained, because its equivalent would be gtk_container_add(,, ...) which would break all existing code. (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type, we expect the `arg_name' argument to be a const static string now. (gtk_container_get_child_arg_type): function removed. Thu Jul 9 07:03:04 1998 Tim Janik <timj@gtk.org> * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value(). this is a static inline function that collects command line arguments from a va_list. this file can just be included in all places that need this functionality. * gtk/gtkarg.h: * gtk/gtkarg.c: new files which implement most of the argument handling stuff from gtkobject.c. also collected a few more gtk_arg_* utility functions from else places. * gtk/gtkobject.h: * gtk/gtkobject.c: moved most of the argument handling code into gtkarg.c. we now export gtk_object_args_collect() as a non-public method with a blind va_list pointer. (gtk_object_add_arg_type): the `arg_name' argument is required to be a const static string now. (gtk_object_get_arg_type): function got removed. * gtk/gtkwidget.c: (gtk_widget_set): (gtk_widget_new): adaptions for gtk_object_args_collect(). * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal fundamental type name so as to have a valid prefix, e.g. "bool"-> "gboolean", "string"->"GtkString" and somesuch, left "void" as is, though that should probably be something like GtkNone since the type itself is called GTK_TYPE_NONE. even the internal type names need to avoid name clashes and must live in their own namespace, several code portions rely on that. we should relly have typedefs such as typedef gchar* GtkString; so the fundamental type names can be used for code dumpers just like with all the Gtk/Gdk types.
-
- 08 Jul, 1998 1 commit
-
-
Tim Janik authored
Wed Jul 8 15:31:28 1998 Tim Janik <timj@gtk.org> * gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons (GTK_RELIEF_HALF). (gtk_button_paint): set the background for prelighted buttons with GTK_STATE_NORMAL only if GTK_RELIEF_NONE. (gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for the shadow type (otherwise we get strange shadows for coloured buttons). (gtk_button_set_relief): queue a redraw after changing the relief. (gtk_button_class_init): (gtk_button_set_arg): (gtk_button_get_arg): added object argument "GtkButton::relief". * gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.
-
- 07 Jul, 1998 1 commit
-
-
Tim Janik authored
Mon Jul 6 18:30:48 1998 Tim Janik <timj@gtk.org> * gtk/gtkbutton.h: * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror GTK_BIN (button)->child to button->child to keep source compatibility. * gtk/gtkoptionmenu.c: * gtk/gtkclist.c: * gtkcheckbutton.c: don't refer to button->child, but GTK_BIN (button)->child instead.
-
- 06 Jul, 1998 1 commit
-
-
BST 1998 Tony Gale authored
Mon Jul 6 12:06:23 BST 1998 Tony Gale <gale@gtk.org> * docs/gtkfaq.sgml: update anon CVS info
-
- 04 Jul, 1998 1 commit
-
-
Tim Janik authored
Sat Jul 4 13:16:24 1998 Tim Janik <timj@gtk.org> * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type functions. * gdk/gdkwindow.c: * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior to XFree() calls.
-
- 03 Jul, 1998 2 commits
-
-
Federico Mena Quintero authored
1998-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since I seem to have erroneously added it to gtkfeatures.h (not .h.in).
-
Manish Singh authored
-Yosh
-
- 01 Jul, 1998 3 commits
-
-
Tim Janik authored
Wed Jul 1 20:58:46 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.h: * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg" * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one error that prevented signal to entry addition for signals with parameters.
-
Manish Singh authored
libtool 1.2.a) -Yosh
-
Tim Janik authored
Wed Jul 1 03:33:30 1998 Tim Janik <timj@gtk.org> * gtk/gtkrc.c: implementation of the "class" keyword for styles.
-
- 30 Jun, 1998 4 commits
-
-
Tim Janik authored
Tue Jun 30 14:30:37 1998 Tim Janik <timj@gtk.org> * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined rc set pattern is favoured, this is needed for overriding of style patterns with subsequently parsed rc files.
-
Tim Janik authored
Tue Jun 30 12:45:19 1998 Tim Janik <timj@gtk.org> * gtk/gtkrc.c: code overhaul for simplicity and more descriptive error messages.
-
Tim Janik authored
but nearly no widget really cares to set GDK_KEY_RELEASE_MASK, which needs to be enabled in order for release bindings to work. Tue Jun 30 09:24:40 1998 Tim Janik <timj@gtk.org> * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>" modifier as well. (gtk_accelerator_name): add "<Release>" to the accelerator name if neccessary. * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into account. * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented default handler for key-release events, which checks for activation of GDK_RELEASE_MASK key bindings. * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
-
Tim Janik authored
Tue Jun 30 09:24:40 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented default handler for key-release events, which checks for activation of GDK_RELEASE_MASK key bindings. * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
-
- 29 Jun, 1998 1 commit
-
-
Tim Janik authored
Mon Jun 29 13:39:45 1998 Tim Janik <timj@gtk.org> * gtk/gtkarrow.h: GtkType and macro fixups. * gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type", "GtkArrow::shadow_type".
-
- 28 Jun, 1998 4 commits
-
-
Tim Janik authored
Sun Jun 28 11:39:17 1998 Tim Janik <timj@gtk.org> * gtk/gtkalignment.h: * gtk/gtkbin.h: GtkType and macro fixups. * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument implementation: GtkAlignment::xalign, GtkAlignment::yalign, GtkAlignment::xscale, GtkAlignment::yscale.
-
Tim Janik authored
Sun Jun 28 04:29:10 1998 Tim Janik <timj@gtk.org> * gtk/gtktypeutils.c (gtk_type_class_init): call the base class init fucntions from all parent types upon class initialization. * gtk/gtkcontainer.c: (gtk_container_get_type): announce gtk_container_base_class_init to the type system. (gtk_container_base_class_init): new function to feature base class initialization. (gtk_container_get_child_arg): (gtk_container_set_child_arg): call the GtkContainerClass get_child_arg and set_child_arg methods of the class indicated through the argument name. * gtk/gtkobject.c: (gtk_object_base_class_init): new function to feature base class initialization. (gtk_object_init_type): announce gtk_object_base_class_init to the type system. (gtk_object_class_init): setup the get_arg and set_arg pointers for GtkObjectClass. (gtk_object_setv): (gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods, instead of bothering the type system with this. * gtk/gtkaccellabel.c: * gtk/gtkbutton.c: * gtk/gtkradiobutton.c: * gtk/gtktable.c: * gtk/gtktogglebutton.c: * gtk/gtktipsquery.c: * gtk/gtkbox.c: * gtk/gtkpacker.c: * gtk/gtkwidget.c: * gtk/gtkwindow.c: * gtk/gtkframe.c: * gtk/gtkmisc.c: * gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type functions wrt GtkTypeInfo initialization. changed a lot of the set/get arg functions to take a GtkObject argument. gtk/gtkadjustment.c: gtk/gtkalignment.c: gtk/gtkarrow.c: gtk/gtkaspectframe.c: gtk/gtkbbox.c: gtk/gtkbin.c: gtk/gtkcheckbutton.c: gtk/gtkcheckmenuitem.c: gtk/gtkclist.c: gtk/gtkcolorsel.c: gtk/gtkcombo.c: gtk/gtkctree.c: gtk/gtkcurve.c: gtk/gtkdata.c: gtk/gtkdialog.c: gtk/gtkdrawingarea.c: gtk/gtkeditable.c: gtk/gtkentry.c: gtk/gtkeventbox.c: gtk/gtkfilesel.c: gtk/gtkfixed.c: gtk/gtkfontsel.c: gtk/gtkgamma.c: gtk/gtkhandlebox.c: gtk/gtkhbbox.c: gtk/gtkhbox.c: gtk/gtkhpaned.c: gtk/gtkhruler.c: gtk/gtkhscale.c: gtk/gtkhscrollbar.c: gtk/gtkhseparator.c: gtk/gtkimage.c: gtk/gtkinputdialog.c: gtk/gtkitem.c: gtk/gtkitemfactory.c: gtk/gtklist.c: gtk/gtklistitem.c: gtk/gtkmenu.c: gtk/gtkmenubar.c: gtk/gtkmenuitem.c: gtk/gtkmenushell.c: gtk/gtknotebook.c: gtk/gtkoptionmenu.c: gtk/gtkpaned.c: gtk/gtkpixmap.c: gtk/gtkpreview.c: gtk/gtkprogressbar.c: gtk/gtkradiomenuitem.c: gtk/gtkrange.c: gtk/gtkruler.c: gtk/gtkscale.c: gtk/gtkscrollbar.c: gtk/gtkscrolledwindow.c: gtk/gtkseparator.c: gtk/gtkspinbutton.c: gtk/gtkstatusbar.c: gtk/gtktext.c: gtk/gtktoolbar.c: gtk/gtktooltips.c: gtk/gtktree.c: gtk/gtktreeitem.c: gtk/gtkvbbox.c: gtk/gtkvbox.c: gtk/gtkviewport.c: gtk/gtkvpaned.c: gtk/gtkvruler.c: gtk/gtkvscale.c: gtk/gtkvscrollbar.c: gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to match the modified GtkTypeInfo structure.
-
Manish Singh authored
-Yosh
-
Manish Singh authored
-Yosh
-
- 27 Jun, 1998 1 commit
-
-
Tim Janik authored
Sat Jun 27 15:44:46 1998 Tim Janik <timj@gtk.org> * gdk/gdk.c (gdkx_XConvertCase): compatibility function to provide XConvertCase() functionality from X11R6 on X11R5 systems.
-
- 25 Jun, 1998 2 commits
-
-
Stefan Jeske authored
Thu Jun 25 10:50:34 1998 Stefan Jeske <stefan@gtk.org> * gdk/gdk.h gdk/gdkfont.c: Added functions gdk_text_height, gdk_string_height, gdk_char_height to retrieve the exact height of a text.
-
BST 1998 Tony Gale authored
Thu Jun 25 07:53:51 BST 1998 Tony Gale <gale@gtk.org> * docs/gtk_tut.sgml: add section on GtkCList widget, contributed by Stefan Mars <mars@lysator.liu.se> * examples/clist/clist.c examples/clist/Makefile: example code for GtkCList widget from the Tutorial
-
- 24 Jun, 1998 5 commits
-
-
Tim Janik authored
Wed Jun 24 16:38:02 1998 Tim Janik <timj@gtk.org> * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize if the container is not visible, we might be a toplevel! this holds for all other base container implementations as well, that are candidates to derive toplevels from. in general the resizing code will care about visibility itself. * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise. * gtk/gtkbox.c (gtk_box_remove): likewise. * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around gtk_window_set_hints(), since we haven't calculated the new position yet. * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and *mask are alway initialized in a sane way, regardless of the return value.
-
Tim Janik authored
-
Stefan Jeske authored
* gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility code for 1.0.x-like parameters. Changed internal interface of gtk_spin_button_real_spin. Several fixes to avoid emission of "value_changed" where possible.
-
Tim Janik authored
Wed Jun 24 07:47:29 1998 Tim Janik <timj@gtk.org> * gtk/testgtk.c (create_idle_test): added a frame with radio buttons to select the resize_mode for the idle-labels container. * gtk/gtkframe.h: * gtk/gtkframe.c: GtkType and macro corrections. * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to support radio grouping. Tue Jun 23 08:01:09 1998 Tim Janik <timj@gtk.org> * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize unconditionally if resize_mode has changed. * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set GTK_RESIZE_QUEUE on the scrolled window. (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport. Tue Jun 23 04:20:30 1998 Tim Janik <timj@gtk.org> * gtk/gtkcontainer.h: * gtk/gtkcontainer.c: (GTK_IS_RESIZE_CONTAINER): new macro to find out if a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT. (gtk_container_queue_resize): new function to queue a container for a *size* reallocation (doesn't affect its position, and thus its parent is left untouched usually). (gtk_container_get_resize_container): new function to retrive the next most resize container which is not itself queued for a resize. (gtk_container_idle_sizer): new function to carefully process the container_resize_queue since it can change during invokation of gtk_container_check_resize(). (gtk_container_resize_children): total rework of this function to properly handle resize containers. makes a lot of assumptions whitch are stated in the comments. * gtk/gtkcontainer.c: (gtk_container_real_check_resize): only requeue ourselves if we are not a resize container. (gtk_container_clear_resize_widgets): care for automatic deletion of our resize_widgets list on size_allocate through a handler connection. * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the focus and default widget of a window, so to take the burden from gtk_widget_unparent. * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried to be clever, but actually messed up the resize_children logic and caused unneccessary allocations on its whole branch. besides this, it messed up the display by not invoking a redraw after the allocation. * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so that it is the child again that is queued for a resize. (gtk_table_attach): likewise. (gtk_table_remove): likewise.
-
Manish Singh authored
-Yosh
-