title: gtk composite widget focus
body: <p>I created a composite widget with webkit_webview widget stored in scrollwed window with a gtkvbox base widget. How do make to so the base gtkvbox widget is in focus whenever any of the contained widgets have focus? Specifically, I am trying to add accelerator that should only be active when the composite widget is in focus. To determine if the composite widget is in focus I call gtk_widget_get_focused(), and then traverse up the widget parents to to the fill find the base widget . It seems like there should be a better way. </p>