Method GTK2.Widget()->set_flags() Method set_flags GTK2.Widget set_flags(int flags) Description Set certain flags, such as GTK2.CAN_DEFAULT.