enum GtkStateType

Indicates the current state of a widget; the state determines how the widget is drawn. @https://developer.gnome.org/gtk3/3.2/gtk3-Standard-Enumerations.html#GtkStateType

Introduced properties

init active: GtkStateType

gtk :: GtkStateType :: active

State of a currently active widget, such as a depressed button.
init focused: GtkStateType

gtk :: GtkStateType :: focused

The widget has the keyboard focus.
init inconsistent: GtkStateType

gtk :: GtkStateType :: inconsistent

The widget is inconsistent, such as checkbuttons or radiobuttons that aren't either set to TRUE nor FALSE, or buttons requiring the user attention.
init insensitive: GtkStateType

gtk :: GtkStateType :: insensitive

State indicating that the widget is unresponsive to user actions.
init normal: GtkStateType

gtk :: GtkStateType :: normal

State during normal operation.
init prelight: GtkStateType

gtk :: GtkStateType :: prelight

State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.
init selected: GtkStateType

gtk :: GtkStateType :: selected

State of a selected item, such the selected row in a list.

Redefined properties

redef type SELF: GtkStateType

gtk $ GtkStateType :: SELF

Type of this instance, automatically specialized in every class

All properties

fun !=(other: nullable Object): Bool

core :: Object :: !=

Have self and other different values?
fun ==(other: nullable Object): Bool

core :: Object :: ==

Have self and other the same value?
type CLASS: Class[SELF]

core :: Object :: CLASS

The type of the class of self.
type SELF: Object

core :: Object :: SELF

Type of this instance, automatically specialized in every class
init active: GtkStateType

gtk :: GtkStateType :: active

State of a currently active widget, such as a depressed button.
fun address_is_null: Bool

core :: Pointer :: address_is_null

Is the address behind this Object at NULL?
protected fun class_factory(name: String): CLASS

core :: Object :: class_factory

Implementation used by get_class to create the specific class.
fun class_name: String

core :: Object :: class_name

The class name of the object.
init focused: GtkStateType

gtk :: GtkStateType :: focused

The widget has the keyboard focus.
fun free

core :: Pointer :: free

Free the memory pointed by this pointer
fun get_class: CLASS

core :: Object :: get_class

The meta-object representing the dynamic type of self.
fun hash: Int

core :: Object :: hash

The hash code of the object.
init inconsistent: GtkStateType

gtk :: GtkStateType :: inconsistent

The widget is inconsistent, such as checkbuttons or radiobuttons that aren't either set to TRUE nor FALSE, or buttons requiring the user attention.
init init

core :: Object :: init

init insensitive: GtkStateType

gtk :: GtkStateType :: insensitive

State indicating that the widget is unresponsive to user actions.
fun inspect: String

core :: Object :: inspect

Developer readable representation of self.
protected fun inspect_head: String

core :: Object :: inspect_head

Return "CLASSNAME:#OBJECTID".
intern fun is_same_instance(other: nullable Object): Bool

core :: Object :: is_same_instance

Return true if self and other are the same instance (i.e. same identity).
fun is_same_serialized(other: nullable Object): Bool

core :: Object :: is_same_serialized

Is self the same as other in a serialization context?
intern fun is_same_type(other: Object): Bool

core :: Object :: is_same_type

Return true if self and other have the same dynamic type.
init normal: GtkStateType

gtk :: GtkStateType :: normal

State during normal operation.
init nul: Pointer

core :: Pointer :: nul

C NULL pointer
intern fun object_id: Int

core :: Object :: object_id

An internal hash code for the object based on its identity.
fun output

core :: Object :: output

Display self on stdout (debug only).
intern fun output_class_name

core :: Object :: output_class_name

Display class name on stdout (debug only).
init prelight: GtkStateType

gtk :: GtkStateType :: prelight

State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.
init selected: GtkStateType

gtk :: GtkStateType :: selected

State of a selected item, such the selected row in a list.
fun serialization_hash: Int

core :: Object :: serialization_hash

Hash value use for serialization
intern fun sys: Sys

core :: Object :: sys

Return the global sys object, the only instance of the Sys class.
abstract fun to_jvalue(env: JniEnv): JValue

core :: Object :: to_jvalue

fun to_s: String

core :: Object :: to_s

User readable representation of self.
package_diagram gtk::GtkStateType GtkStateType core::Pointer Pointer gtk::GtkStateType->core::Pointer core::Object Object core::Pointer->core::Object ...core::Object ... ...core::Object->core::Object

Ancestors

interface Object

core :: Object

The root of the class hierarchy.

Parents

extern class Pointer

core :: Pointer

Pointer classes are used to manipulate extern C structures.

Class definitions

gtk $ GtkStateType
#enum GtkStateType
#Indicates the current state of a widget; the state determines how the widget is drawn.
#@https://developer.gnome.org/gtk3/3.2/gtk3-Standard-Enumerations.html#GtkStateType
extern class GtkStateType `{GtkStateType`}
	#State during normal operation.
	new normal `{ return GTK_STATE_NORMAL; `}

	#State of a currently active widget, such as a depressed button.
	new active `{ return GTK_STATE_ACTIVE; `}

	#State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.
	new prelight `{ return GTK_STATE_PRELIGHT; `}

	#State of a selected item, such the selected row in a list.
	new selected `{ return GTK_STATE_SELECTED; `}

	#State indicating that the widget is unresponsive to user actions.
	new insensitive `{ return GTK_STATE_INSENSITIVE; `}

	#The widget is inconsistent, such as checkbuttons or radiobuttons that aren't either set to TRUE nor FALSE, or buttons requiring the user attention.
	new inconsistent `{ return GTK_STATE_INCONSISTENT; `}

	#The widget has the keyboard focus.
	new focused `{ return GTK_STATE_FOCUSED; `}
end
lib/gtk/v3_4/gtk_enums.nit:256,1--280,3