Owen Taylor
0cdc00ec0b
Add a function to determine if a window is the focus widget within its
...
Wed Oct 25 14:17:43 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch] (gtk_widget_is_focus): Add a function
to determine if a window is the focus widget within
its toplevel.
* gtk/gtkcontainer.[ch]: Fix the return type of ::focus
to be boolean.
* gtk/gtkcontainer.c (gtk_container_real_focus): Move handling
of the case where the container CAN_FOCUS to here instead
of having it in each individual move-the-focus place.
* gtk/gtkcontainer.c: Rewrite handling of left-right and up-down
focusing to be geometric in a much more obvious sense. Arrowing
around is still non-intuitive because it isn't perfect and
because entries, etc, grab the arrow keys, but it at least
usually will do what you expect now.
* gtk/gtknotebook.[ch]: Many cleanups. Moved docs inline in this
file.
* gtk/gtknotebook.c: Change tabs to be a single item in
the focus chain. Make movement of focus on tabs with arrow
keys wrap around.
* gtk/gtknotebook.c (gtk_notebook_find_child): Add
CHECK_FIND_CHILD macro to give informative error messages
instead of silent returns.
* gtk/gtknotebook.c (gtk_notebook_init): Set the RECEIVES_DEFAULT
flag since we handle GdkReturn on the tabs.
* gtk/gtknotebook.c (gtk_notebook_expose_tabs): Invalidate
windows rather than sending expose events directly.
* gtk/gtknotebook.[ch] docs/Changes-2.0.txt: Move structure
definition for GtkNotebookPage into .c file, since it is private.
* gtk/testgtk.c (create_notebook): Add option for
testing borderless notebook.
* gtk/testgtk.c (page_switch): Removed egregious poking
around in GTK+ internals.
* docs/widget-system.txt: Remove references to GTK_REDRAW_PENDING.
* gtk/gtkclist.[ch]: Remove key press handler, handle focusing
properly through gtk_clist_focus. Make the title headers a
single item in the tab-focus chain, and make left-right wrap
around.
* gtk/gtkwindow.c (gtk_window_focus): Add a custom
focus method so that wrapping around works properly.
* gtk/gtktreeview.c: Remove calls to gtk_container_set_focus_child() -
that is handled for the widget now.
2000-12-11 17:47:24 +00:00
..
gtk-unused.sgml
Documented a bunch of functions in here (gtk_widget_realize): Warn if you
2000-11-21 02:06:21 +00:00
gtkaccelgroup.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkaccellabel.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkadjustment.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkalignment.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkarg.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkarrow.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkaspectframe.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkbbox.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkbin.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkbindings.sgml
Initial revision
1999-08-16 18:51:52 +00:00
gtkbox.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkbutton.sgml
Added a bunch of stuff from unused
2000-11-04 16:31:37 +00:00
gtkcalendar.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkcellrenderer.sgml
New function.
2000-10-30 23:21:38 +00:00
gtkcellrendererpixbuf.sgml
New function.
2000-10-30 23:21:38 +00:00
gtkcellrenderertext.sgml
New function.
2000-10-30 23:21:38 +00:00
gtkcellrenderertextpixbuf.sgml
New function.
2000-10-30 23:21:38 +00:00
gtkcellrenderertoggle.sgml
New function.
2000-10-30 23:21:38 +00:00
gtkcheckbutton.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkcheckmenuitem.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkclipboard.sgml
New function.
2000-10-30 23:21:38 +00:00
gtkclist.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkcolorsel.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkcolorseldlg.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkcombo.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkcontainer.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkctree.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkcurve.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkdata.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkdialog.sgml
Derive from GtkDialog, and use stock buttons. Should be 100% source
2000-11-06 16:44:01 +00:00
gtkdnd.sgml
Fix corrupted end tag.
1999-08-17 13:10:00 +00:00
gtkdrawingarea.sgml
Fix typo
2000-10-23 14:35:35 +00:00
gtkeditable.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtkentry.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtkenums.sgml
Added a bunch of stuff from unused
2000-11-04 16:31:37 +00:00
gtkeventbox.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkfeatures.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkfilesel.sgml
Fix to say that file_selection_complete() filters both files and
2000-12-05 20:50:24 +00:00
gtkfixed.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkfontsel.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkfontseldlg.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkframe.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkgamma.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkgc.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhandlebox.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkhbbox.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhbox.sgml
fixed minor error - using <em>.
1999-11-16 00:33:10 +00:00
gtkhpaned.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhruler.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhscale.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhscrollbar.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkhseparator.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkiconfactory.sgml
Forgot to cvs add gtkiconfactory.sgml, gtkstock.sgml
2000-11-05 16:09:41 +00:00
gtkimage.sgml
Added a bunch of stuff from unused
2000-11-04 16:31:37 +00:00
gtkimcontext.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtkimmulticontext.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtkinputdialog.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkinvisible.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkitem.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkitemfactory.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtklabel.sgml
Added a bunch of stuff from unused
2000-11-04 16:31:37 +00:00
gtklayout.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtklist.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtklistitem.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkliststore.sgml
New function.
2000-10-30 23:21:38 +00:00
gtkmain.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtkmenu.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtkmenubar.sgml
fixed minor error - using <em>.
1999-11-16 00:33:10 +00:00
gtkmenuitem.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtkmenushell.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkmessagedialog.sgml
Check in these docs, I seem to have written them a while ago then
2000-11-01 16:01:17 +00:00
gtkmisc.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkmodelsimple.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtknotebook.sgml
Add a function to determine if a window is the focus widget within its
2000-12-11 17:47:24 +00:00
gtkobject.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkoldeditable.sgml
Add some new template files to cvs
2000-11-14 16:37:32 +00:00
gtkoptionmenu.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkpacker.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkpaned.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkpixmap.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkplug.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkpreview.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkprogress.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkprogressbar.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkradiobutton.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkradiomenuitem.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkrange.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkrc.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtkruler.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkscale.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkscrollbar.sgml
Started.
2000-01-19 20:14:49 +00:00
gtkscrolledwindow.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkselection.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtkseparator.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtksignal.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtksocket.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkspinbutton.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkstatusbar.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkstock.sgml
Forgot to cvs add gtkiconfactory.sgml, gtkstock.sgml
2000-11-05 16:09:41 +00:00
gtkstyle.sgml
Added a bunch of stuff from unused
2000-11-04 16:31:37 +00:00
gtktable.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtktearoffmenuitem.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtktext.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtktextbuffer.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtktextiter.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtktextmark.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtktexttag.sgml
Documented a bunch of functions in here (gtk_widget_realize): Warn if you
2000-11-21 02:06:21 +00:00
gtktexttagtable.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtktextview.sgml
Documented a bunch of functions in here (gtk_widget_realize): Warn if you
2000-11-21 02:06:21 +00:00
gtkthemes.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtktipsquery.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtktogglebutton.sgml
Fix to say that file_selection_complete() filters both files and
2000-12-05 20:50:24 +00:00
gtktoolbar.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtktooltips.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtktree.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtktreeitem.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtktreemodel.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtktreemodelsort.sgml
Add some new template files to cvs
2000-11-14 16:37:32 +00:00
gtktreeselection.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtktreestore.sgml
cd to srcdir before calling gtkdoc-fixref, distribute index.sgml.
2000-11-14 16:36:20 +00:00
gtktreeview.sgml
New function.
2000-10-30 23:21:38 +00:00
gtktreeviewcolumn.sgml
New function.
2000-10-30 23:21:38 +00:00
gtktypeutils.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkvbbox.sgml
Move gtk-reference files into GTK+ tree proper.
2000-09-07 18:17:06 +00:00
gtkvbox.sgml
fixed minor error - using <em>.
1999-11-16 00:33:10 +00:00
gtkviewport.sgml
Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little
2000-10-29 08:03:34 +00:00
gtkvpaned.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkvruler.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkvscale.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkvscrollbar.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkvseparator.sgml
ran make templates, to fix problems with structs.
1999-09-22 21:30:57 +00:00
gtkwidget.sgml
Added a bunch of stuff from unused
2000-11-04 16:31:37 +00:00
gtkwindow.sgml
Added a bunch of stuff from unused
2000-11-04 16:31:37 +00:00