_gtkButtonNewLabel

Create a new button object with a specific label (name)

Crée un nouvel objet bouton possédant une étiquette.

Type :

fun [Chn S] ObjGtk

_channel_ : Chn : channel

_label_ : S : the label of the button (any string)

Return : ObjGtk : this object if success or nil if an error occurs

Example :

	typeof button = ObjGtk;;
	fun main()=
		_showconsole;
		set button = _gtkButtonNewLabel _channel "Bouton";
		...

Back