summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.h
Commit message (Collapse)AuthorAgeFilesLines
* Forgotten fileMatthias Clasen2015-02-131-0/+3
|
* Fix some inconsistent deprecationsKjell Ahlstedt2013-07-091-2/+2
| | | | | | | Some functions had only a deprecation comment in the .c file, or only a deprecation annotation in the .h file. Add the missing parts. https://bugzilla.gnome.org/show_bug.cgi?id=703616
* Add annotations to gtk headersMatthias Clasen2013-05-051-0/+45
| | | | Add annotations to all exported functions in GTK+ headers.
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-4/+4
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gtk: Use const instead G_CONST_RETURNJavier Jardón2011-06-101-9/+9
|
* Fix gtk-doc markup: /* <private> */ should be /*< private >*/Javier Jardón2010-10-301-1/+1
|
* Add padding to class structsMatthias Clasen2010-10-191-0/+1
|
* Add missing vfuncs to gtknotebook.Ignacio Casal Quinteiro2010-10-031-0/+19
|
* docs: Move documentation to inline comments: GtkNotebookJavier Jardón2010-10-031-1/+1
|
* GtkNotebook: replace group by group_nameMatthias Clasen2010-09-241-3/+3
| | | | | | | | Dealing with bare pointers is problematic for language bindings, using interned strings is much more straightforward and more than good enough for what is needed here. http://bugzilla.gnome.org/show_bug.cgi?id=630521
* GtkNotebook: remove gtk_notebook_set_window_creation_hookMatthias Clasen2010-09-241-11/+2
| | | | http://bugzilla.gnome.org/show_bug.cgi?id=630521
* Use GtkFooPrivate instead GtkFooPrivJavier Jardón2010-08-271-4/+4
|
* Add missing accessors for notebook detailsSam Thursfield2010-08-091-0/+2
| | | | | The ms-windows theme engine needs to access the tab-{h,v}border, so add accessors. Bug 625655.
* Move definition of GtkNotebookPage out of the headerChristian Dywan2010-07-131-3/+0
|
* GtkNotebook: Move public members to private structureJavier Jardón2010-07-131-35/+4
|
* Change GtkNotebookPage in switch-page into GtkWidgetChristian Dywan2010-07-131-5/+1
|
* Deprecate GtkNotebookPage as used in switch-pageChristian Dywan2010-07-131-0/+10
| | | | Fixes: 618327
* Remove deprecated notebook apiMatthias Clasen2010-06-261-12/+0
|
* Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDESMichael Natterer2010-05-031-1/+1
| | | | ...and disallow inclusion of individual files unconditionally.
* Remove deprecated GtkNotebook functionsChristian Dywan2010-05-031-24/+0
|
* Add an 'action area' to GtkNotebookMatthias Clasen2009-11-081-0/+6
| | | | | | Add support for putting widgets in the tab area, before or after the tabs. This was requested a long time ago in bug 116650. The implementation is the work of Johannes Schmid.
* Deprecated GtkNotebook tab packingChristian Dywan2009-10-211-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=596083
* no need to include <gdk/gdk.h> in any widget header, it's included viaMichael Natterer2008-10-301-1/+1
| | | | | | | | | | 2008-10-30 Michael Natterer <mitch@imendio.com> * gtk/*.h: no need to include <gdk/gdk.h> in any widget header, it's included via gtkwidget.h anyway. svn path=/trunk/; revision=21732
* 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-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 GtkNotebook public fieldsTim Janik2008-06-201-31/+31
| | | | svn path=/trunk/; revision=20484
* whitespace cleanup: remove trailing whitespace and excess newlines andMichael Natterer2008-05-281-7/+7
| | | | | | | | | | | 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
* Fix declaration of GtkNotebook::create_window()Emmanuele Bassi2007-06-111-4/+4
| | | | | | | GtkNotebook::create_window() was declared as returning a GtkNotebook instead of a pointer to a GtkNotebook. (#446513, Kazuki Iwamoto) svn path=/trunk/; revision=18103
* Add a create-window signal that allows to override the globalMatthias Clasen2007-06-041-1/+5
| | | | | | | | | | | | | 2007-06-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmarshalers.list: * gtk/gtknotebook.[hc]: Add a create-window signal that allows to override the global create-window-hook on a per-notebook basis. The default handler falls back to the global hook. (#386935, Christian Hammond) svn path=/trunk/; revision=18024
* Deprecate gtk_notebook_[gs]et_group_id in favour of new functionsMatthias Clasen2007-05-191-1/+10
| | | | | | | | | | | | | | | | 2007-05-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id in favour of new functions gtk_notebook_[gs]et_group, which takes a pointer as group identifier and makes it easier to avoid group id collisions. (#386930, Christian Hammond) * tests/testnotebookdnd.c: Use new grouping api. svn path=/trunk/; revision=17873
* Only handle key bindings for tab reordering if the tabs are shown andMatthias Clasen2007-01-021-2/+2
| | | | | | | | | | | | | | | 2007-01-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtknotebook.h: * gtk/gtknotebook.c: Only handle key bindings for tab reordering if the tabs are shown and reorderable. (#390468, Yevgen Muntyan) * gtk/gtkmarshalers.list: Add required marshaler svn path=/trunk/; revision=17008
* Add a destroy notify for the callback data. (#344209, Murray Cumming)Matthias Clasen2006-06-081-1/+2
| | | | | | | | | 2006-06-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtknotebook.h: * gtk/gtknotebook.c (gtk_notebook_set_window_creation_hook): Add a destroy notify for the callback data. (#344209, Murray Cumming)
* Fix the doc comment format.Matthias Clasen2006-03-301-1/+1
| | | | | | | | | | | | | | | | | | 2006-03-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc comment format. * gtk/gtkrecentmanager.c (gtk_recent_manager_has_item) (gtk_recent_manager_purge_items, gtk_recent_manager_lookup_item) (gtk_recent_manager_get_limit, gtk_recent_manager_add_full) (gtk_recent_manager_get_items, gtk_recent_manager_remove_item): * gtk/gtkrecentfilter.c (gtk_recent_filter_add_age): * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers) (gtk_recent_chooser_set_sort_func): * gtk/gtknotebook.h (gtk_notebook_set_tab_detachable): Sync parameter names between .c and .h files to help gtk-doc.
* Add a reorder_tab keynav signal and an insert_page vfunc to GtkNotebook.Matthias Clasen2006-02-231-3/+37
| | | | | | | | | | | | | | 2006-02-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtknotebook.h: Add a reorder_tab keynav signal and an insert_page vfunc to GtkNotebook. * gtk/gtk.symbols: * gtk/gtknotebook.c: Support notebook DND. New API includes gtk_notebook_set_window_creation_hook, gtk_notebook_[gs]et_group_id, gtk_notebook_[gs]et_tab_reorderable, gtk_notebook_[gs]et_tab_detachable (#73240, Carlos Garnacho)
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-9/+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.
* Return the index of the newly inserted page. (#130986, Olexiy Avramchenko)Matthias Clasen2004-01-151-6/+6
| | | | | | | | | | | | | Fri Jan 16 00:04:43 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtknotebook.h: * gtk/gtknotebook.c (gtk_notebook_append_page): * gtk/gtknotebook.c (gtk_notebook_append_page_menu): * gtk/gtknotebook.c (gtk_notebook_prepend_page): * gtk/gtknotebook.c (gtk_notebook_prepend_page_menu): * gtk/gtknotebook.c (gtk_notebook_insert_page): * gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Return the index of the newly inserted page. (#130986, Olexiy Avramchenko)
* Add support for up to four scroll arrows. Control their display by newMatthias Clasen2003-05-221-2/+7
| | | | | | | | | | | | | | 2003-05-23 Matthias Clasen <maclas@gmx.de> * gtk/gtknotebook.c: Add support for up to four scroll arrows. Control their display by new style properties "has_forward_stepper", "has_backward_stepper", "has_secondary_forward_stepper" and has_secondary_backward_stepper". (#110540) * gtk/gtknotebook.h (struct _GtkNotebook): Make in_child and click_child three bits wide, add has_{before,after}_{previous,next} fields.
* deprecation cleanupManish Singh2002-10-051-6/+6
| | | | | | | Sat Oct 5 16:11:22 2002 Manish Singh <yosh@gimp.org> * gtk/gtkmisc.[ch] gtk/gtklabel.[ch] gtk/gtkimage.[ch] gtk/gtkdrawingarea.[ch] gtk/gtknotebook.[ch]: deprecation cleanup
* i Add gtk_notebook_get_n_pages (#73229, Havoc Pennington)Owen Taylor2002-09-231-0/+1
| | | | | | | | | | Mon Sep 23 18:01:52 2002 Owen Taylor <otaylor@redhat.com> i * gtk/gtknotebook.[ch]: Add gtk_notebook_get_n_pages (#73229, Havoc Pennington) * gtk/gtknotebook.c (gtk_notebook_get_nth_page): Handle -1 to mean the last page, as we do elsewhere. (#73229)
* 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.
* Add ::move-focus-out signal to handle Control[-Shift]-Tab andOwen Taylor2002-02-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Thu Feb 7 19:52:00 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.[ch]: Add ::move-focus-out signal to handle Control[-Shift]-Tab and Control-arrow bindings and implement bindings as per #53612. * gtk/gtktextview.c (gtk_text_view_move_focus): Fix fetching the toplevel for plug-socket. * gtk/gtknotebook.c (gtk_notebook_class_init): Remove bindings for Return/Enter to select the page. * gtk/gtknotebook.c (gtk_notebook_change_current_page): Beep at ends. * gtk/gtknotebook.c (focus_tabs_move): Don't wrap around and beep at ends. * gtk/gtknotebook.c (gtk_notebook_focus): When focusing into the page with the arrow keys, focus the first widget, not the directionally closest widget.
* Support "optional" bindings. If a binding signal has a boolean returnOwen Taylor2002-01-171-2/+2
| | | | | | | | | | | | | | | | | Wed Jan 16 19:23:04 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkbindings.c (gtk_binding_entry_activate): Support "optional" bindings. If a binding signal has a boolean return value, and returns FALSE it is as if it didn't exist all. * gtk/gtkbindings.c (binding_compose_params): Switch over to GValue. * gtk/gtknotebook.[ch]: Make the select_page() and change_current_page() signals only take effect when the focus is on the tab area so that key presses in children pass up to the toplevel correctly.
* Propagate key press events not just to focus/window but also toOwen Taylor2001-11-161-6/+6
| | | | | | | | | | | | Thu Nov 15 12:54:36 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_key_press_event): Propagate key press events not just to focus/window but also to intermediate widgets. * gtk/gtknotebook.c: Handle Ctrl-PageUp/Ctrl-PageDown to switch pages. (Needs some work on handling focus when switching pages.)
* Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann)Owen Taylor2001-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Nov 15 14:19:34 2001 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann) * gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann) * gtk/gtkcontainer.c (gtk_container_expose): Call gtk_container_forall() not _foreach() to propagate, since we need to propagate exposes to internal children as well. * gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events): Remove the restriction of only being able to call these on window widgets, since we have lots of NO_WINDOW widgets with windows now; for add events, recurse over the children of widget->window to find one owned by the widget. * gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only window to catch events. * gtk/gtktogglebutton.[ch]: Remove the code for switching between NO_WINDOW and WINDOW widgets based on the mode. * gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton. * gtk/gtkrange.[ch]: Make into a NO_WINDOW widget. * gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW change for range. * gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget. * docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.
* Add a compat macro that got lost.Owen Taylor2001-09-241-0/+1
| | | | | | | | | | | | | | | | | | | Mon Sep 24 12:48:25 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.h: Add a compat macro that got lost. * gtk/gtktreestore.c: Doc fixes. * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix reference leak for windows that receive events after being destroyed. (#60863, Joshua N. Pritikin) * gtk/gtktable.c (gtk_table_remove): Use gtk_widget_queue_resize rather than gtk_container_queue_resize(). * gtk/{gtkcontainer.c,gtkwidget.c,gtkwindow.c}: _gtk prefix gtk_container_queue_resize, gtk_container_queue_resize_widgets, gtk_container_child_composite_name. (#60217.)
* [ Patch from Sebastian Wilhelmi, 52790 ]Owen Taylor2001-08-231-0/+4
| | | | | | | | | | | | | | | | | | | | | 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 stupid error introduced last night that was making things decidedlyOwen Taylor2001-06-241-17/+29
| | | | | | | | | | | | | | | | | | | | | | | | 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().