GTK+ Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# Private Information

## Name

Private Information --

## Synopsis

    #include <gtk/gtkprivate.h>

    enum        GtkPrivateFlags;
    #define     GTK_PRIVATE_FLAGS               (wid)
    #define     GTK_WIDGET_USER_STYLE           (obj)
    #define     GTK_WIDGET_REDRAW_PENDING       (obj)
    #define     GTK_CONTAINER_RESIZE_PENDING    (obj)
    #define     GTK_WIDGET_RESIZE_NEEDED        (obj)
    #define     GTK_WIDGET_LEAVE_PENDING        (obj)
    #define     GTK_WIDGET_HAS_SHAPE_MASK       (obj)
    #define     GTK_WIDGET_IN_REPARENT          (obj)
    #define     GTK_WIDGET_IS_OFFSCREEN         (obj)
    #define     GTK_PRIVATE_SET_FLAG            (wid,flag)
    #define     GTK_PRIVATE_UNSET_FLAG          (wid,flag)

## Description

## Details

### enum GtkPrivateFlags

    typedef enum
    {
      PRIVATE_GTK_USER_STYLE	= 1 <<  0,
      PRIVATE_GTK_REDRAW_PENDING	= 1 <<  1,
      PRIVATE_GTK_RESIZE_PENDING	= 1 <<  2,
      PRIVATE_GTK_RESIZE_NEEDED	= 1 <<  3,
      PRIVATE_GTK_LEAVE_PENDING	= 1 <<  4,
      PRIVATE_GTK_HAS_SHAPE_MASK	= 1 <<  5,
      PRIVATE_GTK_IN_REPARENT       = 1 <<  6,
      PRIVATE_GTK_IS_OFFSCREEN      = 1 <<  7
    } GtkPrivateFlags;

### GTK_PRIVATE_FLAGS()

    #define GTK_PRIVATE_FLAGS(wid)            (GTK_WIDGET (wid)->private_flags)

`wid` : |

### GTK_WIDGET_USER_STYLE()

    #define GTK_WIDGET_USER_STYLE(obj)	  ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_USER_STYLE) != 0)

`obj` : |

### GTK_WIDGET_REDRAW_PENDING()

    #define GTK_WIDGET_REDRAW_PENDING(obj)	  ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_REDRAW_PENDING) != 0)

`obj` : |

### GTK_CONTAINER_RESIZE_PENDING()

    #define GTK_CONTAINER_RESIZE_PENDING(obj) ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_RESIZE_PENDING) != 0)

`obj` : |

### GTK_WIDGET_RESIZE_NEEDED()

    #define GTK_WIDGET_RESIZE_NEEDED(obj)	  ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_RESIZE_NEEDED) != 0)

`obj` : |

### GTK_WIDGET_LEAVE_PENDING()

    #define GTK_WIDGET_LEAVE_PENDING(obj)	  ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_LEAVE_PENDING) != 0)

`obj` : |

### GTK_WIDGET_HAS_SHAPE_MASK()

    #define GTK_WIDGET_HAS_SHAPE_MASK(obj)	  ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_HAS_SHAPE_MASK) != 0)

`obj` : |

### GTK_WIDGET_IN_REPARENT()

    #define GTK_WIDGET_IN_REPARENT(obj)	  ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_IN_REPARENT) != 0)

`obj` : |

### GTK_WIDGET_IS_OFFSCREEN()

    #define GTK_WIDGET_IS_OFFSCREEN(obj)	  ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_IS_OFFSCREEN) != 0)

`obj` : |

### GTK_PRIVATE_SET_FLAG()

    #define GTK_PRIVATE_SET_FLAG(wid,flag)    G_STMT_START{ (GTK_PRIVATE_FLAGS (wid) |= (PRIVATE_ ## flag)); }G_STMT_END

`wid` : |
`flag` : |

### GTK_PRIVATE_UNSET_FLAG()

    #define GTK_PRIVATE_UNSET_FLAG(wid,flag)  G_STMT_START{ (GTK_PRIVATE_FLAGS (wid) &= ~(PRIVATE_ ## flag)); }G_STMT_END

`wid` : |
`flag` : |

<<< Previous Page | Home | Up | Next Page >>>
Standard Enumerations | GTK+ Widgets and Objects