Gjsify LogoGjsify Logo

Tells about certain properties of the widget.

bitfield

Index

Enumeration Members

APP_PAINTABLE: number

Set and unset by gtk_widget_set_app_paintable(). Must be set on widgets whose window the application directly draws on, in order to keep GTK+ from overwriting the drawn stuff. See for a detailed description of this flag.

CAN_DEFAULT: number

The widget is allowed to receive the default action via gtk_widget_grab_default() and will reserve space to draw the default if possible

CAN_FOCUS: number

Determines whether a widget is able to handle focus grabs.

COMPOSITE_CHILD: number

Indicates that the widget is a composite child of its parent; see gtk_widget_push_composite_child(), gtk_widget_pop_composite_child().

DOUBLE_BUFFERED: number

Set and unset by gtk_widget_set_double_buffered(). Indicates that exposes done on the widget should be double-buffered. See for a detailed discussion of how double-buffering works in GTK+ and why you may want to disable it for special cases.

HAS_DEFAULT: number

The widget currently is receiving the default action and should be drawn appropriately if possible

HAS_FOCUS: number

Set by gtk_widget_grab_focus() for widgets that also have %GTK_CAN_FOCUS set. The flag will be unset once another widget grabs the focus.

HAS_GRAB: number

Set by gtk_grab_add(), unset by gtk_grab_remove(). It means that the widget is in the grab_widgets stack, and will be the preferred one for receiving events other than ones of cosmetic value.

MAPPED: number

Set by gtk_widget_map(), unset by gtk_widget_unmap(). Only realized widgets can be mapped. It means that gdk_window_show() has been called on the widgets window(s).

NO_REPARENT: number

Unused since before GTK+ 1.2, will be removed in a future version.

NO_SHOW_ALL: number
NO_WINDOW: number

Indicative for a widget that does not provide its own #GdkWindow. Visible action (e.g. drawing) is performed on the parent's #GdkWindow.

PARENT_SENSITIVE: number

Set and unset by gtk_widget_set_sensitive() operations on the parents of the widget. This is the second premise for the widget's sensitivity. Once it has %GTK_SENSITIVE and %GTK_PARENT_SENSITIVE set, its state is effectively sensitive. This is expressed (and can be examined) by the #GTK_WIDGET_IS_SENSITIVE macro.

RC_STYLE: number

Indicates that the widget's style has been looked up through the rc mechanism. It does not imply that the widget actually had a style defined through the rc mechanism.

REALIZED: number

Set by gtk_widget_realize(), unset by gtk_widget_unrealize(). A realized widget has an associated #GdkWindow.

RECEIVES_DEFAULT: number

The widget when focused will receive the default action and have %GTK_HAS_DEFAULT set even if there is a different widget set as default.

SENSITIVE: number

Set and unset by gtk_widget_set_sensitive(). The sensitivity of a widget determines whether it will receive certain events (e.g. button or key presses). One premise for the widget's sensitivity is to have this flag set.

TOPLEVEL: number

widgets without a real parent, as there are #GtkWindows and #GtkMenus have this flag set throughout their lifetime. Toplevel widgets always contain their own #GdkWindow.

VISIBLE: number

Set by gtk_widget_show(), unset by gtk_widget_hide(). Implies that a widget will be mapped as soon as its parent is mapped.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method