summaryrefslogtreecommitdiff
path: root/gtk/gtkpaned.h
Commit message (Collapse)AuthorAgeFilesLines
* Keep all these abstract for nowMatthias Clasen2008-12-311-2/+0
| | | | svn path=/trunk/; revision=22026
* Bug 553586 – Add orientation API to GtkPanedMichael Natterer2008-11-071-26/+26
| | | | | | | | | | | | | | | | | | | | 2008-11-07 Michael Natterer <mitch@gimp.org> Bug 553586 – Add orientation API to GtkPaned * gtk/gtkpaned.[ch]: implement the GtkOrientable interface and swallow all code from GtkHPaned and GtkVPaned. Add gtk_paned_new() which takes a GtkOrientation argument. Deprecate gtk_paned_compute_position() for good (also for GTK_COMPILATION). * gtk/gtkhpaned.[ch] * gtk/gtkvpaned.[ch]: remove all code except the constructor and call gtk_orientable_set_orientation() in init(). * gtk/gtk.symbols: add gtk_box_new(). svn path=/trunk/; revision=21772
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Switch to "guint GSEAL (foo) : width;" when packing fields in guints.Tim Janik2008-06-201-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gtk/gtkbox.h: * gtk/gtkbutton.h: * gtk/gtkcellrenderer.h: * gtk/gtkcellrenderertext.h: * gtk/gtkcheckmenuitem.h: * gtk/gtkcontainer.h: * gtk/gtkentry.h: * gtk/gtkhandlebox.h: * gtk/gtkimcontextsimple.h: * gtk/gtklabel.h: * gtk/gtkliststore.h: * gtk/gtkmenu.h: * gtk/gtkmenuitem.h: * gtk/gtkmenushell.h: * gtk/gtknotebook.h: * gtk/gtkpaned.h: * gtk/gtkplug.h: * gtk/gtkprintjob.h: * gtk/gtkprogressbar.h: * gtk/gtkrange.h: * gtk/gtkscale.h: * gtk/gtkscrolledwindow.h: * gtk/gtksizegroup.h: * gtk/gtksocket.h: * gtk/gtkspinbutton.h: * gtk/gtkstatusbar.h: * gtk/gtktable.h: * gtk/gtktearoffmenuitem.h: * gtk/gtktextbuffer.h: * gtk/gtktextview.h: * gtk/gtktogglebutton.h: * gtk/gtktoolbar.h: * gtk/gtktreestore.h: * gtk/gtktreeviewcolumn.h: * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints. svn path=/trunk/; revision=20621
* Seal GtkPaned.Tim Janik2008-06-201-28/+28
| | | | svn path=/trunk/; revision=20550
* whitespace cleanup: remove trailing whitespace and excess newlines andMichael Natterer2008-05-281-8/+8
| | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and excess newlines and sprinkled some newlines where needed. Zero code or formatting changes included. svn path=/trunk/; revision=20225
* define __GTK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-7/+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.
* Fix #99425, add accessor functions for GtkPaned's children.Federico Mena Quintero2004-01-201-0/+3
| | | | | | | | | 2004-01-20 Federico Mena Quintero <federico@ximian.com> Fix #99425, add accessor functions for GtkPaned's children. * gtk/gtkpaned.c (gtk_paned_get_child1): New function. (gtk_paned_get_child2): New function.
* Deprecate gtk_paned_computed_position(). (#97077)Matthias Clasen2003-01-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | 2003-01-31 Matthias Clasen <maclas@gmx.de> * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077) * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_* and gtk_input_* functions. (#71596) * gtk/gtkentry.c (gtk_entry_move_cursor): * gtk/gtklabel.c (gtk_label_move_cursor): Handle GTK_MOVEMENT_HORIZONTAL_PAGES in switches. * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs(). (#79803) * gtk/gtkitemfactory.h: * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate. (#69244) * gtk/tmpl/gtkmain.sgml: Deprecate the gtk_timeout_*, gtk_idle_* and gtk_input_* functions. (#71596)
* New GtkPaned keyboard navigation. (Shift-)F8 now cycles the availableSoeren Sandmann2002-10-251-4/+5
| | | | | | | | Fri Oct 25 18:17:39 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkpaned.[ch]: New GtkPaned keyboard navigation. (Shift-)F8 now cycles the available handles instead of toggling focus on and off. Fixes #87160, reported by Calum Benson.
* Deprecation cleanupManish Singh2002-10-081-6/+6
| | | | | | | Tue Oct 8 15:25:53 2002 Manish Singh <yosh@gimp.org> * gtk/gtkhpaned.[ch] gtk/gtkpaned.[ch] gtk/gtkprogress.[ch] gtk/gtkprogressbar.[ch] gtk/gtkvpaned.[ch]: 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.
* Opaque resizing + prelighting for paned widget. move reszing logic toSoeren Sandmann2002-02-111-1/+3
| | | | | | | Mon Feb 11 22:03:15 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkpaned.[ch]: Opaque resizing + prelighting for paned widget. * gtk/gtkvpaned.c, gtk/gtkvpaned.h: move reszing logic to gtkpaned.c
* Keyboard navigation for GtkPaned F6: cycle between panes. F8: focus handleSoeren Sandmann2002-02-091-1/+18
| | | | | | | | | | | Sat Feb 9 13:58:41 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkpaned.[ch]: Keyboard navigation for GtkPaned F6: cycle between panes. F8: focus handle (#53584) * tests/testgtk.c: Add test cases for GtkPaned keyboard navigation.
* Document the fact that gtk_paned_set_handle_size() has been removed.Owen Taylor2001-12-261-1/+0
| | | | | | | | | | | Wed Dec 26 12:32:31 2001 Owen Taylor <otaylor@redhat.com> * docs/Changes-2.0.txt: Document the fact that gtk_paned_set_handle_size() has been removed. * gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro, since it pointed to gtk_paned_set_handle_size(), which was removed. (#66760, Matt Wilson)
* Make Menu items NO_WINDOW widgets.Owen Taylor2001-11-161-5/+2
| | | | | | | | | | | | | | Fri Nov 16 00:16:40 2001 Owen Taylor <otaylor@redhat.com> * gtk/{gtkmenuitem.[ch],gtkcheckmenuitem.c,gtkimagemenuitem.c, gtkradiomenuitem.c,gtktearoffmenuitem.c}: Make Menu items NO_WINDOW widgets. * gtk/gtk{h,v,}paned.[ch]: Make NO_WINDOW widgets, some cleanup. * gtk/gtkstyle.c (gtk_default_draw_handle): Don't assume we are drawing in a window when drawing the paned handle.
* [ Patch from Sebastian Wilhelmi, 52790 ]Owen Taylor2001-08-231-0/+7
| | | | | | | | | | | | | | | | | | | | | Wed Aug 22 19:15:39 2001 Owen Taylor <otaylor@redhat.com> [ Patch from Sebastian Wilhelmi, 52790 ] * gtk/gtkversion.h.in gtk/gtk.h: New file replacing gtkcompat.h * gdk/gdkcompat.h gdk/gdk*.h gtk/gtkcompat.h.in gtk/gtk*.h: Move compatibility macros from g[dt]kcompat.h to within #ifndef G[DT]K_DISABLE_DEPRECATED in each file. * gdk/gdk-pixbuf-csource.c: Fix up include of gtkcompat.h. * demos/Makefile.am demos/gtk-demo/Makefile.am docs/reference/gdk-pixbuf/Makefile.am modules/input/Makefile.am tests/Makefile.am: Remove references to -G[DT]K_DISABLE_DEPRECATED. * demos/{pixbuf-demo.c,testpixbuf-drawable.c,testpixbuf-save.c, testpixbuf.c}: Fix usages of deprecated functions.
* Fix G_VALUE_NO_COPY_CONTENTS instead of G_SIGNAL_TYPE_STATIC_SCOPEOwen Taylor2001-04-021-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Apr 2 10:47:57 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (gtk_widget_class_init): Fix G_VALUE_NO_COPY_CONTENTS instead of G_SIGNAL_TYPE_STATIC_SCOPE stupidity. Mon Apr 2 00:51:11 2001 Owen Taylor <otaylor@redhat.com> [ First pass at adding style properties. Still needs some definite fine-tuning. ] * gtk/gtkbutton.c: Add ::default_spacing style property. * gtk/gtkcheckbutton.[ch] gtkradiobutton.c: Add ::indicator_size, ::indicator_spacing style properties. * gtk/gtkoptionmenu.c: Add ::indicator_size, ::indicator_spacing style properties. * gtk/gtk{,h,v}paned.[ch]: Make handle_size a style property rather than a normal property. * gtk/gtkwidget.c: Add an ::interior_focus style property to draw focus inside buttons, in the Windows/Java Metal/etc. style. * gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtktogglenbutton.c: Honor ::interior_focus. * gtk/gtkentry.c: Don't draw focus at all when ::interior_focus is TRUE. * gtk/gtkrange.[ch] gtk/gtk{h,v}scrollbar.c gtk/gtk{h,v}scale.c: Add ::slider_width, ::trough_border, ::stepper_size, ::stepper_spacing style properties. * gtk/gtkscale.[ch] Add ::slider-length style property.
* 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-3/+3
| | | | | | | | 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.
* add getter.Jonathan Blandford2000-03-231-0/+1
| | | | | | 2000-03-23 Jonathan Blandford <jrb@redhat.com> * gtk/gtkpaned.c (gtk_paned_get_position): add getter.
* Add patch from Jonathan Blandford and Anders Carlsson to change the PanedOwen Taylor2000-02-171-22/+18
| | | | | | | | | | | | | Thu Feb 17 17:10:12 2000 Owen Taylor <otaylor@redhat.com> * gtk/gt{h,k,}vpaned.[ch]: Add patch from Jonathan Blandford and Anders Carlsson to change the Paned widgets so that they can be dragged from anywhere along the length. Also change the way that this is drawn to make this apparent. * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Apply patch from George Lebl to check that option_menu->menu is present before getting history.
* 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 notice to look in AUTHORS and ChangeLog files for a list of changes.CST 1999 Shawn T. Amundson1999-02-241-0/+8
| | | | | | | 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.
* When setting styles, remove unecessary explicits draws and clears.Owen Taylor1999-02-161-2/+4
| | | | | | | | | | | | | | Fri Feb 12 15:47:20 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkcalender.c gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtknotebook.c gtk/gtktext.c gtk/gtkviewport.c gtk/gtkwidget.c: When setting styles, remove unecessary explicits draws and clears. * gtk/gtkrange.c: Ugly fix so the steps get the correct background.
* Fixed up some warnings.Owen Taylor1998-12-151-0/+24
| | | | | | | | | | | | | | Tue Dec 15 11:37:05 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c: Fixed up some warnings. Tue Dec 15 10:32:01 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtk{h,v,}paned.{c,h}: Add new functions gtk_paned_set_position(), gtk_paned_pack1/2(). The latter take a shrink and resize parameters, that allows setting minimum sizes and getting 'relative' resizing.
* Removed the unused cursor field in the structure.Federico Mena Quintero1998-12-071-1/+0
| | | | | | | 1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx> * gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor field in the structure.
* changed scrolled window inheritance, it inherits from GtkBin now.Tim Janik1998-11-281-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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. ;)
* boy! did i really modify that many files?Tim Janik1998-06-161-12/+19
| | | | | anyways, here go the child args and a lot of cleanups ;) you wouldn't want me to put the ChangeLog entry in here, would you?
* 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
* Fixed a small memory leak in gtkpaned, and I changed the cursor to aJay Painter1998-01-151-0/+1
| | | | "I" beam for gtkentry. -Jay
* Initial revisionElliot Lee1997-11-241-0/+78