GTK.Button
 
   
[Top]
predef::
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


Insert any HTML comment here. You can use any HTML tags and containers. Use <phl> ... </phl> if you'd like to insert some Pike / C examples or code.
 
HTML OK CSS