Pike v8.0 release 1738

Class GTK1.Button

Inheritance graph
Description

A container that can only contain one child, and accepts events. draws a bevelbox around itself.  GTK1.Button("A button")

 GTK1.Button("A button\nwith multiple lines\nof text")

 GTK1.Button()->add(GTK1.Image(GDK1.Image(0)->set(Image.Image(100,40)->test())))

Signals: clicked Called when the button is pressed, and then released

enter Called when the mouse enters the button

leave Called when the mouse leaves the button

pressed Called when the button is pressed

released Called when the button is released


Inherit Container

inherit GTK1.Container : Container


Method create

GTK1.Button GTK1.Button(string|void label_text)

Description

If a string is supplied, a W(Label) is created and added to the button.