summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a wrapped signal. (#322933, Carlos Garnacho Parro)Matthias Clasen2006-01-301-1/+2
| | | | | | | | 2006-01-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkspinbutton.h: * gtk/gtkspinbutton.c: Add a wrapped signal. (#322933, Carlos Garnacho Parro)
* Fix a typoMatthias Clasen2005-03-211-1/+1
|
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-8/+2
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* Deprecation cleanupManish Singh2002-10-101-6/+6
| | | | | | | | Wed Oct 9 17:40:13 2002 Manish Singh <yosh@gimp.org> * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch] gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup
* Massive padding addition to class structures.Owen Taylor2002-02-231-0/+6
| | | | | | | | Sat Feb 23 11:54:12 2002 Owen Taylor <otaylor@redhat.com> * gtk/*.h gdk/*.h: Massive padding addition to class structures. * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
* Many cleanups and fixes. Draw exclusively in expose handler. Feedback whenSoeren Sandmann2002-02-201-1/+0
| | | | | | | | | | Thu Feb 21 00:31:41 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkspinbutton.c: Many cleanups and fixes. Draw exclusively in expose handler. Feedback when buttons are depressed. * gtk/gtkstyle.c: update for changes in gtkspinbutton.c. Fix spinbuttons for RTL langauges.
* clean up a littleOwen Taylor2002-02-081-3/+3
|
* add change_value virtual function, to fix buildHavoc Pennington2002-02-081-0/+4
| | | | | | | | | | 2002-02-07 Havoc Pennington <hp@pobox.com> * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add change_value virtual function, to fix build * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was from GtkWidget not GtkMisc. Not that it ever mattered.
* assert that the passed in arrow is always _UP or _DOWN, this catches falseTim Janik2002-01-251-1/+1
| | | | | | | | | | | | | | | Fri Jan 25 14:03:36 2002 Tim Janik <timj@gtk.org> * gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): assert that the passed in arrow is always _UP or _DOWN, this catches false invocations which lead to drawing artefacts. (start_spinning): likewise, i.e. sanity check the passed in arrow. (gtk_spin_button_button_release): fix arrow redrawing. (gtk_spin_button_button_press): must set click_child for button3 even if we don't take spinning action right away. * gtk/gtkspinbutton.h (struct _GtkSpinButton): document valid values for click_child.
* Fix stupid error introduced last night that was making things decidedlyOwen Taylor2001-06-241-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Sun Jun 24 11:29:35 2001 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error introduced last night that was making things decidedly not work. * gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters so that we have getter/setter pairing everywhere it makes sense. (#55767) * gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.: Rename gtk_radio_button_group to gtk_radio_button_get_group, add a deprecated compat macro. (#55516) * gtk/gtklabel.[ch]: Add functions gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(), gtk_label_set_label(), which mirror the property API for GtkLabel. Make gtk_label_get_attributes() only reflect the attributes set by gtk_label_set_attributes. * gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename from gtk_notebook_set_page().
* make maximum digits compile time configurable via MAX_DIGITS and up to 20.Tim Janik2001-06-201-1/+1
| | | | | | | | | Wed Jun 20 05:32:05 2001 Tim Janik <timj@gtk.org> * gtk/gtkspinbutton.c: make maximum digits compile time configurable via MAX_DIGITS and up to 20. 5 was just ridiculously small. don't use automatic fixed size buffer for printf-ing floats, doubles can expand to really _huge_ strings, use g_strdup_printf() instead.
* clamp the value to the range that was setHavoc Pennington2001-06-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-05 Havoc Pennington <hp@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_set_range): clamp the value to the range that was set * gtk/gtkrange.c: add value_changed signal, primarily intended for use with GtkScale (gtk_range_set_increments): new function (gtk_range_set_range): new function with weird name (gtk_range_set_value): new function (gtk_range_get_value): new function * gtk/gtkspinbutton.c (gtk_spin_button_get_value): rename from gtk_spin_button_get_value_as_float(). Compat #define added for get_value_as_float. * gtk/gtkhscale.c (gtk_hscale_new_with_range): new function * gtk/gtkvscale.c (gtk_vscale_new_with_range): new function 2001-06-05 Havoc Pennington <hp@redhat.com> * test-loaders.c (main): use putenv not setenv, reported by Armin Theissen
* added value_changed signal which proxies for the adjustment. CleanedMike Kestner2001-03-301-0/+13
| | | | | | | | | | | | | | | | | | | | Thu Mar 29 21:20:38 2001 Mike Kestner <mkestner@ameritech.net> * gtk/gtkspinbutton.c : added value_changed signal which proxies for the adjustment. Cleaned redundant preconditions (spin != NULL). Added inline API function docs. (gtk_spin_button_new_with_range): New convenience constructor. (gtk_spin_button_set_increments): New adjustment helper. (gtk_spin_button_set_range): New adjustment helper. * gtk/testgtk.c : added test of the new convenince constructor and value_changed signals. docs/reference/ChangeLog 2001-03-29 Mike Kestner <mkestner@ameritech.net> * gtk/tmpl/gtkspinbutton.html: killed function docs that are now inline.
* Handle quoting of / with \; properly handle __ in paths, quote " and \n inOwen Taylor2001-03-191-8/+8
| | | | | | | | | | | | | | Mon Mar 19 15:53:36 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkitemfactory.c gtk/testgtk.c: Handle quoting of / with \; properly handle __ in paths, quote " and \n in gtk_item_factory_dump_items(). * gtk/gtkadjustment.[ch] gtk/gtkclist.c gtk/gtkhruler.c gtk/gtklayout.c gtk/gtklist.c gtk/gtkprogress.[ch] gtk/gtkprogressbar.[ch] gtk/gtkrange.[ch] gtk/gtkruler.[ch] gtk/gtkscale.c gtk/gtkscrolledwindow.c gtk/gtkspinbutton.[ch] gtk/gtktext.c gtk/gtktextview.c gtk/gtkvruler.c gtk/testgtk.c: Change float to double everywhere with the exception of 0<->1.0 alignment and GtkCurve.
* added rc-style argument GtkSpinButton::shadow_type. removedTim Janik2001-03-181-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Mar 18 01:15:30 2001 Tim Janik <timj@gtk.org> * gtk/gtkspinbutton.[hc]: added rc-style argument GtkSpinButton::shadow_type. removed spin_button->shadow_type, gtk_spin_button_set_shadow_type() and ARG_SHADOW_TYPE as it doesn' make much sense to try to override rc-style settings. * gtk/gtkfixed.c: removed gtk_fixed_paint() (was unused). * gtk/gtkwidget.c: quark cleanups. * gtk/gtkrc.[hc]: added gtk_rc_scanner_new() to create an rc-file scanner with appropriate configuration, renamed GtkRcStyleClass.clone to create_rc_style() (we don't do cloning in standard OO sense). added per rc style properties. * gtk/gtkstyle.[hc]: added code to retrive pspec conformant rc-style property values and for caching those. some cleanups. * gtk/Makefile.am: -DG_DISABLE_CONST_RETURNS. * gtk/gtksettings.[hc]: new file for global rc-file properties (at least currently, should get extended to support X properties and other communication mechanisms). * gtk/gtkwidget.[hc]: added style property support: (gtk_widget_class_install_style_property_parser): install style property pspec with parser function for rc-file values other than LONG, DOUBLE or STRING. (gtk_widget_class_install_style_property): same as above without parser (parsers are going to be needed quite infrequently). (gtk_widget_style_get_property): retrive style property value. (gtk_widget_style_get_valist): same as above with varargs support, has NOCOPY semantics. (gtk_widget_style_get): wrapper around gtk_widget_style_get_valist().
* Doc comment fixing. (Mostly non-matching parameter names.)Owen Taylor2000-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Sep 7 11:47:02 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtktextbuffer.c gtk/gtkimcontext.c gtk/gtkwidget.c: Doc comment fixing. (Mostly non-matching parameter names.) * gtk/gtkcalendar.c gtk/gtklist.c gtk/gtknotebook.c: Modify comments a little to avoid looking like a doc comment. * gtk/gtkspinbutton.h (GTK_INPUT_ERROR): Change INPUT_ERROR to GTK_INPUT_ERROR. (Should the mechanism for erros in spin button conversions be changed to GError?) * gtk/gtkcolorsel.c (GTK_CUSTOM_PALETTE_WIDTH/HEIGHT): Move private #defines into .c file. * gtk/gtktexttag.c (gtk_text_tag_class_init): Alphabetize order of argument addition, remove duplicates. * gtk/gtkaspectframe.h (struct _GtkAspectFrameClass): parent class is FrameClass, not BinClass. * gtk/gtk.h: Add gtkinvisible, which was missing. (It's occasionalyl useful for client apps, if seldom.) * gdk/gdktypes.h: Remove obsolete GDK_CORE_POINTER #define.
* Use G_GNUC_CONST.Elliot Lee2000-08-301-1/+1
| | | | Use G_GNUC_CONST.
* applied patch from Andreas Persenius <ndap@swipnet.se> that updates theTim Janik2000-07-261-4/+4
| | | | | | | | Wed Jul 26 12:59:31 2000 Tim Janik <timj@gtk.org> * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that updates the license headers to the GNU Lesser General Public License, as well as updating the copyright year to 2000.
* s/refcount/ref_count/.Tim Janik2000-02-131-0/+1
| | | | | | | | | | | | | | | | | | Sun Feb 13 08:54:45 2000 Tim Janik <timj@gtk.org> * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/. * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy): * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the parameters given and cursor->ref_count. coding style fixups. * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer, not GtkWidget. * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to fix up widget macros and add _GET_CLASS() variant. * gtk/*.c: some GtkType fixups.
* Added two new signals to GtkSpinButton, "input" and "output", to make theStefan Jeske1999-02-281-0/+5
| | | | | | | | * gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to GtkSpinButton, "input" and "output", to make the output more flexible. The user has to provide a mapping between adjustment->value and the output string (and vice versa, if the spin button is editable). See testgtk for examples.
* Added notice to look in AUTHORS and ChangeLog files for a list of changes.CST 1999 Shawn T. Amundson1999-02-241-0/+7
| | | | | | | Wed Feb 24 01:22:39 CST 1999 Shawn T. Amundson <amundson@gtk.org> * *.[ch]: Added notice to look in AUTHORS and ChangeLog files for a list of changes.
* removed deprecated functions: gtk_clist_set_border,Tim Janik1999-01-171-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Jan 17 22:47:15 1999 Tim Janik <timj@gtk.org> * gtk/gtkwidget.[hc]: * gtk/gtkspinbutton.[hc]: * gtk/gtkscrolledwindow.[hc]: * gtk/gtkprogressbar.[hc]: * gtk/gtkpreview.[hc]: * gtk/gtkobject.[hc]: * gtk/gtkentry.[hc]: * gtk/gtkctree.[hc]: * gtk/gtkcontainer.[hc]: * gtk/gtkclist.[hc]: removed deprecated functions: gtk_clist_set_border, gtk_container_block_resize, gtk_container_unblock_resize, gtk_container_need_resize, gtk_ctree_set_reorderable, gtk_ctree_show_stub, gtk_ctree_set_use_drag_icons, gtk_entry_adjust_scroll, gtk_object_class_add_user_signal, gtk_preview_put_row, gtk_progress_bar_construct, gtk_scrolled_window_construct, gtk_spin_button_construct, gtk_widget_freeze_accelerators, gtk_widget_thaw_accelerators. * gtk/gtkcheckmenuitem.c: removed binary variant of gtk_check_menu_item_set_state, this is still defined in gtkcompat.h though. * docs/Changes-1.2.txt: removed section about gtk_idle_remove_by_data vs. gtk_timeout_remove_by_data, we actually don't even provide a gtk_timeout_remove_by_data() function. added a table with removed functions and their replacements. * NEWS: updates for 1.1.13.
* end drag selections if necessary.Lars Hamann1999-01-111-0/+2
| | | | | | | | | | | Mon Jan 11 23:52:58 1999 Lars Hamann <lars@gtk.org> * gtk/gtklist.c (gtk_list_signal_drag_begin) (gtk_list_drag_begin): end drag selections if necessary. * gtk/gtkspinbutton.c/h (gtk_spin_button_update): made function public. Manually force synchronization of spin button text and adjustment value.
* changed scrolled window inheritance, it inherits from GtkBin now.Tim Janik1998-11-281-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org> * gtk/gtkscrolledwindow.h: * gtk/gtkscrolledwindow.c: changed scrolled window inheritance, it inherits from GtkBin now. * gtk/gtkbin.c (gtk_bin_unmap): removed superfluous check for visibility of child. (gtk_bin_draw): removed superfluous check for GTK_WIDGET_DRAWABLE(). added check so a child gets only drawn if it's visible. * gtk/gtkwidget.h: * gtk/gtkwidget.c: removed gtk_widget_draw_children(). * gtk/gtkstyle.h: * gtk/gtkstyle.c: rmoved gtk_reset_widget_shapes. * gtk/gtkwidget.h: * gtk/gtkwidget.c: removed crufty relict: gtk_widget_is_child(). added internal function gtk_widget_reset_shapes() from gtkstyle.c. * gtk/gtkrc.h: * gtk/gtkrc.c: (gtk_rc_find_pixmap_in_path): removed bogus gscanner argument, changed callers. * gtk/gtkmenufactory.c: GtkMenuFactory is deprecated for a long time, it will issue a warning now. * gtk/gtkcompat.h: new file to #define aliases for historic function names. * changed 8 function names for consistency and provided aliases to keep source compatibility in gtkcompat.h: (gtk_accel_label_get_accel_width): renamed from gtk_accel_label_accelerator_width (gtk_container_set_border_width): renamed from gtk_container_border_width (gtk_notebook_get_current_page): renamed from gtk_notebook_current_page (gtk_packer_configure): renamed from gtk_packer_set_child_packing (gtk_paned_set_gutter_size): renamed from gtk_paned_gutter_size (gtk_paned_set_handle_size): renamed from gtk_paned_handle_size (gtk_scale_get_value_width): renamed from gtk_scale_value_width (gtk_window_set_position): renamed from gtk_window_position * renamed a few recently added funtions for consistency: (gtk_notebook_get_tab_label): renamed from gtk_notebook_query_tab_label. (gtk_notebook_get_menu_label): renamed from gtk_notebook_query_menu_label. (gtk_progress_configure): renamed from gtk_progress_reconfigure.
* added args ::show_text, ::text_xalign, ::text_yalign, ::activity_mode.Tim Janik1998-11-231-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Nov 22 16:21:28 1998 Tim Janik <timj@gtk.org> * gtk/gtkprogress.c: added args ::show_text, ::text_xalign, ::text_yalign, ::activity_mode. * gtk/gtkprogressbar.c: added construct arg ::adjustment. added args ::bar_style, ::orientation, ::discrete_blocks, ::activity_step, ::activity_blocks. (gtk_progress_bar_new): (gtk_progress_bar_new_with_adjustment): use gtk_widget_new(). (gtk_progress_bar_construct): deprecated. * gtk/gtkvscrollbar.c: (gtk_vscrollbar_draw_step_back): (gtk_vscrollbar_draw_step_forw): use "vscrollbar" as detail for gtk_paint_arrow, to be consistent with hscrollbar. * gtk/gtktext.c added construct args ::hadjustment, ::vadjustment. added args ::line_wrap, ::word_wrap. (gtk_text_class_init): added scroll_adjustments signal. (gtk_text_new): use gtk_widget_new. (gtk_text_disconnect): remove adjustement with gtk_text_set_adjustments, so we don't screw the reference counts and don't leave signals connected. (gtk_text_destroy): disconnect adjustments signals. (gtk_text_finalize): unref adjustments. * gtk/gtkctree.c: added construct args ::n_columns and ::tree_column. added args ::indent, ::spacing, ::show_stub, ::reorderable, ::use_drag_icons, ::line_style and ::expander_style. (gtk_ctree_set_show_stub): renamed from gtk_ctree_show_stub, which is deprecated now. * gtk/gtkclist.h: remove GTK_CLIST_CONSTRUCT flag. * gtk/gtkclist.c: removed ::vadjustment and ::hadjustment args, introduced ::scroll_adjustments signal. added ::shadow_type, ::selection_mode and ::row_height args. added n_columns construct arg. (gtk_clist_construct): call gtk_object_constructed(). (gtk_clist_set_row_height): if height is passed as 0, revert to automatic height calculation. (gtk_clist_destroy): before unrefing the adjustments, disconnect our signal handlers. Fri Nov 21 22:34:58 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_new): call gtk_object_default_construct like gtk_object_new. (gtk_widget_destroy): assert that we only destroy constructed widgets. * gtk/gtkobject.h (enum GtkArgFlags): new flag GTK_ARG_CONSTRUCT_ONLY to identify args that may only be used for construction. GTK_ARG_CONSTRUCT maybe used as normal arguments besides construction time. * gtk/gtkobject.c (gtk_object_new): invoke gtk_object_default_construct at the end if the object is not fully constructed. (gtk_object_newv): likewise. (gtk_object_destroy): assert that we only destroy constructed objects. (gtk_object_init): setup GTK_CONSTRUCTED from the objects real klass. (gtk_object_default_construct): new function to complete default construction of an object by applying missing construtor args with default values of 0, 0.0 or NULL. (gtk_object_constructed): new function to mark an object as being constructed (used from within constructors). * gtk/gtkarg.c (gtk_arg_type_new_static): return the args info pointer so it is immediatedly available for the caller. * gtk/gtktypeutils.c (gtk_type_new): pass an object's real class to the object initilizer (GtkObjectInitFunc takes a second arg now, the real klass), and asure that object initializers may temporarily alter the class pointer. Fri Nov 20 08:00:30 1998 Tim Janik <timj@gtk.org> * gtk/testgtk.c: change all occourances of gtk_container_add ( scrolled_window, widget) to gtk_scrolled_window_add_with_viewport (...) for widget!=(clist, ctree, text, viewport). * gtk/gtkcombo.c: (gtk_combo_init): use gtk_scrolled_window_add_with_viewport() to add children to the scrolled window. * gtk/gtkscrolledwindow.h: * gtk/gtkscrolledwindow.c: changed scrolled_window->viewport to scrolled_window->child, and use gtk_widget_scroll_adjustements() to set the scroll adjustments for the widget, we do not create an additional viewport anymore. added ::hadjustment and ::vadjustment constructor args. (gtk_scrolled_window_new): use gtk_widget_new() to create the widget. (gtk_scrolled_window_set_hadjustment): (gtk_scrolled_window_set_vadjustment): new functions that superceed gtk_scrolled_window_construct. (gtk_scrolled_window_construct): deprecated this function. * gtk/gtkhscrollbar.c: * gtk/gtkvscrollbar.c: * gtk/gtkhscale.c: * gtk/gtkvscale.c: support a constructor arg "::adjustment", and use gtk_widget_new() for the widget creation. * gtk/gtkrange.c: added ::update_policy arg. (gtk_range_set_adjustment): if adjustment is passed in as NULL, create a default adjustment so this function can be used for derived widgets that depend on the adjustment's existance. (gtk_range_destroy): disconnect the adjustment signal, so we don't get called after we got destroyed, we don't destroy the adjustment in here, because it might have been provided from another widget. * gtk/gtkviewport.c: introduced ::scroll_adjustments signal. (gtk_viewport_destroy): same as gtk_range_destroy. * gtk/gtkprogress.c (gtk_progress_destroy): same as gtk_range_destroy. * gtk/gtkwidget.h: * gtk/gtkwidget.c: changed gtk_widget_activate() to return a gboolean, indicating whether this widget supports activation. added gtk_widget_scroll_adjustements() to set the scrolling adjustments of a widget. Wed Nov 19 01:22:42 1998 Tim Janik <timj@gtk.org> * gtk/gtkoptionmenu.c: (gtk_option_menu_remove_contents): (gtk_option_menu_update_contents): removed gtk_container_[un]block_resize() pairs. * gtk/gtknotebook.h: * gtk/gtknotebook.c: removed the tab_border field, since it shouldn't be used outside of gtknotebook.c anyways. made ARG_TAB_BORDER a wrtie-only argument. * *.c: made deprecated functions issue a message: gtk_clist_set_border, gtk_container_block_resize, gtk_container_unblock_resize, gtk_container_need_resize, gtk_object_class_add_user_signal, gtk_spin_button_construct, gtk_scrolled_window_construct. removed non-functional functions: gtk_container_disable_resize, gtk_container_enable_resize, gtk_clist_set_policy. Wed Nov 18 22:54:36 1998 Tim Janik <timj@gtk.org> * gtk/gtkbox.c (gtk_box_init): * gtk/gtkdrawingarea.c (gtk_drawing_area_init): * gtk/gtkeventbox.c (gtk_event_box_init): * gtk/gtkfixed.c (gtk_fixed_init): * gtk/gtkframe.c (gtk_frame_init): * gtk/gtkhandlebox.c (gtk_handle_box_init): * gtk/gtkpacker.c (gtk_packer_init): * gtk/gtkmisc.c (gtk_misc_init): * gtk/gtkpreview.c (gtk_preview_init): * gtk/gtkprogress.c (gtk_progress_init): * gtk/gtkprogressbar.c (gtk_progress_bar_init): * gtk/gtkseparator.c (gtk_separator_init): * gtk/gtktable.c (gtk_table_init): * gtk/gtkviewport.c (gtk_viewport_init): * gtk/gtkalignment.c (gtk_alignment_init): removed setting of the GTK_BASIC flag. * gtk/gtkwidget.h: * gtk/gtkwidget.c: removed GTK_BASIC, GTK_WIDGET_BASIC and gtk_widget_basic. * miscellaneous GtkType and macro fixups.
* removed all occourances of #pragma } and #pragma { which were in place toTim Janik1998-10-071-1/+0
| | | | | | | | | | | Wed Oct 7 05:15:36 1998 Tim Janik <timj@gtk.org> * gtk/gtk*.h: * gdk/gdk.h: removed all occourances of #pragma } and #pragma { which were in place to fixup emacs' cc-mode indentation. putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the proper way to achive this and doesn't produce problems for stupid pragma-related compiler bugs. ;)
* set binary age and interface age to 0.Tim Janik1998-09-261-17/+23
| | | | | | | | | | | | | | | | | | | Sat Sep 26 04:46:22 1998 Tim Janik <timj@gtk.org> * configure.in: set binary age and interface age to 0. * gtk/gtkspinbutton.h: * gtk/gtkspinbutton.c: changed gtk_spin_button_construct to gtk_spin_button_configure. gtk_spin_button_construct is still defined as an alias for gtk_spin_button_configure for source compatibility, but actuall use is deprecated. typeness corrections, i.e. gint->gboolean and gint->guint. added object arguments: GtkSpinButton::value, GtkSpinButton::wrap, GtkSpinButton::shadow_type, GtkSpinButton::update_policy, GtkSpinButton::numeric, GtkSpinButton::snap_to_ticks, GtkSpinButton::adjustment, GtkSpinButton::digits and GtkSpinButton::climb_rate. GtkType and macro fixups.
* - Bug fix for precision problem causing occasional double emission ofStefan Jeske1998-06-191-4/+16
| | | | | | | | | | | | | | * gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c: - Bug fix for precision problem causing occasional double emission of "value_changed" signal (hopefully works now). - API change (should be binary compatible) : new enum GtkSpinType; modified gtk_spin_button_spin to use it. Modified cursor example appropriately. To spin by something other than step_/page_increment, use gtk_spin_button_spin (spin, GTK_SPIN_USER_DEFINED, increment). - Made GTK_SHADOW_NONE the default. ;) - Fixed casting of GtkAdjustment* to GtkWidget* in gtk_spin_button_value_changed.
* Changed GtkSpinButtonUpdatePolicy enum, added keyboardStefan Jeske1998-06-171-5/+7
| | | | acceleration, new API gtk_spin_button_set_snap_to_ticks.
* New API to set the shadow type of the arrow panel.Stefan Jeske1998-06-131-1/+5
|
* Changed LGPL address for FSF in all .h and .c filesPDT 1998 Shawn T. Amundson1998-04-131-2/+3
| | | | | | 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
* Added wrapping capabilities to GtkSpinButton. New function :Tim Janik1998-03-291-36/+42
| | | | | | | | 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).
* exported gtk_spin_button_spin since it is used in testgtk, and besidesTim Janik1998-03-171-32/+26
| | | | | | | | | | | | | | | | | | | | 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.
* applied gtk-hamann_jeske-980311-0.patch.gz.Tim Janik1998-03-111-2/+9
| | | | | | | 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.
* patch from lars for construct behaviour.Tim Janik1998-03-091-0/+6
| | | | -timj
* new widget from Lars Hamann <hamann@braunschweig.netsurf.de> and StefanTim Janik1998-02-251-0/+117
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.