add_button


Description:

[ CCode ( cname = "xapp_preferences_window_add_button" ) ]
public void add_button (Widget button, PackType pack_type)

Adds a button to the bottom action bar of the window.

Where the button is place will be determined by the PackType. The action bar will show automatically once at least one button is added.

Parameters:

this

a PreferencesWindow

button

a Widget to add

pack_type

a PackType to use