pike.hubbe.net

[Top]
GTK
GTK.Button
previousGTK.Box()->set_spacing() GTK.Button()->clicked()next

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

Inherits

  • GTK.Container

Extracted from Pike v7.3 release 11 at 2001-11-03.