![]() |
![]() |
![]() |
RhythmCat Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Signals |
#include <rc-ui-window.h> struct RCUiMainWindow; struct RCUiMainWindowClass; gboolean rc_ui_main_window_cover_image_get_visible (); void rc_ui_main_window_cover_image_set_visible (gboolean visible
); GdkPixbuf * rc_ui_main_window_get_default_cover_image (); GtkWidget * rc_ui_main_window_get_widget (); gboolean rc_ui_main_window_lyric_labels_get_visible (); void rc_ui_main_window_lyric_labels_set_visible (gboolean visible
); void rc_ui_main_window_playlist_scrolled_window_set_horizontal_policy (gboolean state
); void rc_ui_main_window_present_main_window (); void rc_ui_main_window_set_keep_above_state (gboolean state
); void rc_ui_main_window_show (); gboolean rc_ui_main_window_spectrum_get_visible (); void rc_ui_main_window_spectrum_set_style (guint style
); void rc_ui_main_window_spectrum_set_visible (gboolean visible
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----RCUiMainWindow
This module implements the main window class RCUiMainWindow, which implements the main window of the player.
gboolean rc_ui_main_window_cover_image_get_visible ();
Get the visibilty of the spectrum show widget.
Returns : |
Whether the widget is visible. |
void rc_ui_main_window_cover_image_set_visible
(gboolean visible
);
Set the visibilty of the cover image widget.
|
whether the widget is visible |
GdkPixbuf * rc_ui_main_window_get_default_cover_image ();
Get the default cover image of the player.
Returns : |
The default cover image. [transfer none] |
GtkWidget * rc_ui_main_window_get_widget ();
Get the main window widget. If the widget is not initialized yet, it will be initialized.
Returns : |
The main window widget. [transfer none] |
gboolean rc_ui_main_window_lyric_labels_get_visible ();
Get the visibilty of the lyric label widgets.
Returns : |
Whether the widget is visible. |
void rc_ui_main_window_lyric_labels_set_visible
(gboolean visible
);
Set the visibilty of the lyric label widgets.
|
whether the widget is visible |
void rc_ui_main_window_playlist_scrolled_window_set_horizontal_policy
(gboolean state
);
Set the horizontal policy state of the playlist scrolled window.
|
the policy state |
void rc_ui_main_window_present_main_window
();
Present the main window, if it is hided.
void rc_ui_main_window_set_keep_above_state
(gboolean state
);
Keep the player above the other windows. Notice that it depends on the Window Manager, in some WMs, it may has no effect.
|
the new state |
void rc_ui_main_window_spectrum_set_style
(guint style
);
Set the visualize style of the spectrum widget in the player.
|
the visualize style |
void rc_ui_main_window_spectrum_set_visible
(gboolean visible
);
Set the visibilty of the spectrum show widget.
|
whether the widget is visible |
"keep-above-changed"
signalvoid user_function (RCUiMainWindow *window,
gboolean state,
gpointer user_data) : Run First
The ::keep-above-changed signal is emitted when the keep above state of the main window changed.
|
the RCUiMainWindow that received the signal |
|
the state |
|
user data set when the signal handler was connected. |