add_widget

@accepts(Gtk.Widget, RB.ShellPrefsUILocation, gboolean, gboolean)
@returns(none)
def add_widget(widget, location, expand, fill)

Adds a widget to the preferences window. See gtk_box_pack_start for details on how the expand and fill parameters work. This function can be used to add widgets to the 'general' and 'playback' pages.

widget :

the GtkWidget to insert into the preferences window

location :

the location at which to insert the widget

expand :

whether the widget should be given extra space

fill :

whether the widget should fill all space allocated to it