 #endif
 #endif
   widgetReparent,
+#if GTK_CHECK_VERSION(2,18,0)
   widgetGetCanFocus,
   widgetSetCanFocus,
+  widgetGetAllocation,
+#endif
   widgetGetState,
   widgetGetSavedState,
   widgetGetSize,

--
widgetGetCanFocus :: WidgetClass self => self -> IO Bool
widgetGetCanFocus = objectGetPropertyBool "can_focus"

--------------------
-- Attributes

    (toWidget self)
    (toWidget newParent)

#if GTK_CHECK_VERSION(2,18,0)
-- | Set if this widget can receive keyboard input.
--
-- * To use the 'onKeyPress' event, the widget must be allowed
