Pike v8.0 release 1738

Class GTK1.HbuttonBox

Inheritance graph
Description

A HbuttonBox is very similar to a Hbox. The major diffference is that the button box is made to pack buttons in, and has a few convenience function for normal button layouts.

 GTK1.HbuttonBox()->add(GTK1.Button("Hello"))->add(GTK1.Button("World"))->set_usize(400,30)

 GTK1.HbuttonBox()->add(GTK1.Button("Hello"))->add(GTK1.Button("World"))->set_layout(GTK1.BUTTONBOX_SPREAD)->set_usize(400,30)

 GTK1.HbuttonBox()->add(GTK1.Button("Hello"))->add(GTK1.Button("World"))->set_layout(GTK1.BUTTONBOX_EDGE)->set_usize(400,30)

 GTK1.HbuttonBox()->add(GTK1.Button("Hello"))->add(GTK1.Button("World"))->set_layout(GTK1.BUTTONBOX_START)->set_usize(400,30)

 GTK1.HbuttonBox()->add(GTK1.Button("Hello"))->add(GTK1.Button("World"))->set_layout(GTK1.BUTTONBOX_END)->set_usize(400,30)


Inherit ButtonBox

inherit GTK1.ButtonBox : ButtonBox


Method create

GTK1.HbuttonBox GTK1.HbuttonBox()

Description

Create a new horizontal button box