Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkGrid ╰── PhoshMediaPlayer
PhoshMediaPlayer implements AtkImplementorIface, GtkBuildable and GtkOrientable.
The PhoshMediaPlayer widget interfaces with org.mpris.MediaPlayer2 based players allowing to skip through music and raising the player.
Whenever a player is found on the bus the “attached”
property is set to TRUE
. This can e.g. be used with
to toggle the widget's visibility.g_object_bind_property()
“attached”
property“attached” gboolean
Whether a player is attached.
Flags: Read
Default value: FALSE
“playable”
property“playable” gboolean
Whether the player has a playable track. This is mostly useful to ignore states where the player does not know about any track and so no sensible information can be shown.
Flags: Read
Default value: FALSE
“player-raised”
signalvoid user_function (PhoshMediaPlayer *phoshmediaplayer, gpointer user_data)
The player was raised to the user
Flags: Run Last