_gtkGetObjectType

Return the 'real' GTK type of any ObjGtk object.

Retourne le type GTK 'réel' de n'importe quel objet de type ObjGtk.

Type :

fun [ObjGtk] S

_object_ : ObjGtk : any ObjGtk object

Return : S : a comprehensive type name

Example :

	typeof win = ObjGtk;;
	typeof button = ObjGtk;;
	
	fun main()=
		_showconsole;
		set win = _gtkWindowNew _channel nil "window test" SGTK_POS_MOUSE;
		set button = _gtkButtonNewLabel _channel "Bouton";
		_fooS strcat "win type >>> " _gtkGetObjectType win;
		_fooS strcat "button type >>> " _gtkGetObjectType button;
		...

the console display :

	win type >>> GtkWindow
	button type >>> GtkButton

Back