diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2010-11-20 18:50:45 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2010-11-20 18:50:45 +0000 |
commit | 71ea71540ab637dbec6d715ed9a157542a9ff03f (patch) | |
tree | dd512a982be158e955357bb1f711bf6aef6a16f4 /framebuffer/fbtk.h | |
parent | 908da609e7ece5734ead083cc23cd84a8bd8d3e6 (diff) | |
download | netsurf-71ea71540ab637dbec6d715ed9a157542a9ff03f.tar.gz netsurf-71ea71540ab637dbec6d715ed9a157542a9ff03f.tar.bz2 |
Give the browser window widget input focus by defualt on startup.
svn path=/trunk/netsurf/; revision=10948
Diffstat (limited to 'framebuffer/fbtk.h')
-rw-r--r-- | framebuffer/fbtk.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/framebuffer/fbtk.h b/framebuffer/fbtk.h index 61050f46f..2098caf53 100644 --- a/framebuffer/fbtk.h +++ b/framebuffer/fbtk.h @@ -400,6 +400,13 @@ void fbtk_writable_text(fbtk_widget_t *widget, fbtk_enter_t enter, void *pw); void fbtk_set_text(fbtk_widget_t *widget, const char *text); +/** Give widget input focus. + * + * @param widget Widget to be given input focus. + */ +void fbtk_set_focus(fbtk_widget_t *widget); + + /** enable the on screen keyboard for input */ |