From 71ea71540ab637dbec6d715ed9a157542a9ff03f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 20 Nov 2010 18:50:45 +0000 Subject: Give the browser window widget input focus by defualt on startup. svn path=/trunk/netsurf/; revision=10948 --- framebuffer/fbtk.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'framebuffer/fbtk.h') 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 */ -- cgit v1.2.3