![]() |
![]() |
![]() |
Rhythmbox Development Reference Manual | ![]() |
---|---|---|---|---|
RBSourceHeader; RBSourceHeaderClass; RBSourceHeader* rb_source_header_new (GtkUIManager *mgr, GtkActionGroup *actiongroup); void rb_source_header_set_source (RBSourceHeader *header, RBSource *source); void rb_source_header_clear_search (RBSourceHeader *header); void rb_source_header_sync_control_state (RBSourceHeader *header); void rb_source_header_focus_search_box (RBSourceHeader *header);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTable +----RBSourceHeader
"action-group" GtkActionGroup* : Read / Write / Construct Only "source" RBSource* : Read / Write "ui-manager" GtkUIManager* : Read / Write / Construct Only
The source header contains the search box and the search action toolbar. It remembers the search text and browser visibility state for each source, applying the stored state for the newly selected source when the source selection changes.
The search bar contains a set of actions determined by the selected source. The source is responsible for tracking which search action is active.
RBSourceHeader* rb_source_header_new (GtkUIManager *mgr, GtkActionGroup *actiongroup);
Creates the RBSourceHeader.
|
the GtkUIManager |
|
the GtkActionGroup to add actions to |
Returns : |
the RBSourceHeader instance |
void rb_source_header_set_source (RBSourceHeader *header, RBSource *source);
Updates the source header when a new source is selected.
|
the RBSourceHeader |
|
the new selected RBSource |
void rb_source_header_clear_search (RBSourceHeader *header);
Clears the search box and resets all search state for the current selected source.
|
the RBSourceHeader |
void rb_source_header_sync_control_state (RBSourceHeader *header);
Updates the sensitivity and active state of various actions related to the source header.
|
the RBSourceHeader |
void rb_source_header_focus_search_box (RBSourceHeader *header);
Grabs input focus for the search box.
|
the RBSourceHeader |
"action-group"
property"action-group" GtkActionGroup* : Read / Write / Construct Only
The GtkActionGroup to add actions to.
"ui-manager"
property"ui-manager" GtkUIManager* : Read / Write / Construct Only
The GtkUIManager instance.