diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-01-26 08:08:54 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-01-26 08:08:54 +0800 |
commit | 9be603bebd3e4ecc52cd0e6b838ca6bd9b65d70c (patch) | |
tree | b510e137813b856c57e5f038dba23f773e942239 /HACKING | |
parent | 28f2aafc0a9e6909cb20f54af651165c49f6d67e (diff) | |
download | gsoc2013-evolution-9be603bebd3e4ecc52cd0e6b838ca6bd9b65d70c.tar gsoc2013-evolution-9be603bebd3e4ecc52cd0e6b838ca6bd9b65d70c.tar.gz gsoc2013-evolution-9be603bebd3e4ecc52cd0e6b838ca6bd9b65d70c.tar.bz2 gsoc2013-evolution-9be603bebd3e4ecc52cd0e6b838ca6bd9b65d70c.tar.lz gsoc2013-evolution-9be603bebd3e4ecc52cd0e6b838ca6bd9b65d70c.tar.xz gsoc2013-evolution-9be603bebd3e4ecc52cd0e6b838ca6bd9b65d70c.tar.zst gsoc2013-evolution-9be603bebd3e4ecc52cd0e6b838ca6bd9b65d70c.zip |
Set the GTK_CAN_FOCUS flag on the widget, since an ETable ought to be
2001-01-25 Federico Mena Quintero <federico@ximian.com>
* e-table.c (e_table_init): Set the GTK_CAN_FOCUS flag on the
widget, since an ETable ought to be focusable.
(e_table_class_init): Override ::grab_focus() and ::focus().
(et_grab_focus): Since people may do gtk_widget_grab_focus() on
the ETable, we have to proxy the request to the actual focusable
canvas.
(e_table_setup_header): Unset GTK_CAN_FOCUS for the header canvas.
(et_focus): Reject focus if our child canvas already had it.
* e-table-scrolled.c (e_table_scrolled_init): Set the
GTK_FOCUS_FLAG on the widget. This is just so that people can
easily do gtk_widget_grab_focus (my_e_table_scrolled) on their own
applications.
(e_table_scrolled_class_init): Override ::grab_focus() and
::focus().
(ets_grab_focus): Proxy the grab_focus to our child ETable.
(ets_focus): Proxy the request to the child ETable.
svn path=/trunk/; revision=7830
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions