Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK
GTK.Button

Class GTK.Button

Description

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

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

 GTK.Button()->add(GTK.Image(GDK.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 GTK.Container : Container