]> Pileus Git - ~andy/gtk/blobdiff - docs/reference/gtk/drawing-model.xml
Deprecate flag macros for toplevel, state, no window and composite child
[~andy/gtk] / docs / reference / gtk / drawing-model.xml
index 7c0d20ea6a9536c0e26d2e24a540ca291abd50f3..22307ce5731e2df829ccb8d76eeab0aef4eaec03 100644 (file)
        However, in practice it is convenient to have widgets which do
        not have a <classname>GdkWindow</classname> of their own, but
        rather share the one from their parent widget.  Such widgets
-       have the <constant>GTK_NO_WINDOW</constant> <link
-       linkend="GtkWidgetFlags">widget flag</link> turned on; this
-       can be tested easily with the <link
-       linkend="GTK-WIDGET-NO-WINDOW-CAPS"><function>GTK_WIDGET_NO_WINDOW()</function></link>
-       macro.  As such, these are called <firstterm>no-window
+       have called <function>gtk_widget_set_has_window</function> to
+       disable it; this can be tested easily with the <link
+       linkend="gtk-widget-get-has-window"><function>gtk_widget_get_has_window()</function></link>
+       function.  As such, these are called <firstterm>no-window
        widgets</firstterm>.
       </para>