Synopsis
enum LumPlayerStatus;
#define LUM_TYPE_PLAYER_STATUS
#define LUM_PLAYER_CONST (obj)
struct LumPlayerPrivate;
GType lum_player_get_type (void);
void lum_player_playbackfinished (LumPlayer *self);
gboolean lum_player_update_timer (LumPlayer *self);
gboolean lum_player_update_position (LumPlayer *self);
void lum_player_set_config (LumPlayer *self,
LumConfig *config);
const gchar* lum_player_get_uri (LumPlayer *self);
gboolean lum_player_can_play (LumPlayer *self);
gboolean lum_player_open_file (LumPlayer *self,
const char *uri,
LumPlayerInfo *info);
gboolean lum_player_is_running (LumPlayer *self);
void lum_player_play_pause (LumPlayer *self);
void lum_player_stop (LumPlayer *self);
gint lum_player_get_stream_length (LumPlayer *self);
void lum_player_set_position (LumPlayer *self,
gdouble pos);
gboolean lum_player_get_position_time (LumPlayer *self,
gdouble *position,
gint *time);
void lum_player_set_volume (LumPlayer *self,
gdouble vol);
gdouble lum_player_get_volume (LumPlayer *self);
gboolean lum_player_is_seekable (LumPlayer *self);
#define lum_player_connect__playbackfinished(object,func,data)
#define lum_player_connect_after__playbackfinished(object,func,data)
#define lum_player_connect_data__playbackfinished(object,func,data,destroy_data,flags)
#define lum_player_connect__update_timer(object,func,data)
#define lum_player_connect_after__update_timer(object,func,data)
#define lum_player_connect_data__update_timer(object,func,data,destroy_data,flags)
#define lum_player_connect__update_position(object,func,data)
#define lum_player_connect_after__update_position(object,func,data)
#define lum_player_connect_data__update_position(object,func,data,destroy_data,flags)
#define LUM_PLAYER_PROP_CAN_FULLSCREEN (arg)
#define LUM_PLAYER_GET_PROP_CAN_FULLSCREEN(arg)
#define LUM_PLAYER_PROP_REPEAT (arg)
#define LUM_PLAYER_GET_PROP_REPEAT (arg)
Details
enum LumPlayerStatus
typedef enum {
PLAYER_NONE,
PLAYER_PLAYING,
PLAYER_PAUSED,
PLAYER_STOPPED
} LumPlayerStatus;
LUM_TYPE_PLAYER_STATUS
#define LUM_TYPE_PLAYER_STATUS lum_player_status_get_type()
LUM_PLAYER_CONST()
#define LUM_PLAYER_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), lum_player_get_type(), LumPlayer const)
struct LumPlayerPrivate
struct LumPlayerPrivate {
gchar * uri;
LumPlayerInfo * info;
GtkLabel * timer;
guint timerid;
GtkRange * position_range;
guint positionid;
gboolean position_pressed;
gboolean in_pos_timer;
GtkRange * volume_range;
gboolean volume_moving;
GtkWidget * popup_menu;
GtkWidget * play_pause_btn;
gulong play_pause_id;
GtkWidget * runtime;
ScreenSaver * scrsaver;
GtkWidget * fullscreen_btn;
GtkWidget * fullscreen_item;
gboolean can_fullscreen;
gboolean fullscreen;
GtkWidget * top;
GtkWidget * bottom;
guint hideid;
GTimer * gtimer;
gboolean can_hide_bars;
gboolean mute;
};
lum_player_get_type ()
GType lum_player_get_type (void);
lum_player_playbackfinished ()
void lum_player_playbackfinished (LumPlayer *self);
lum_player_update_timer ()
gboolean lum_player_update_timer (LumPlayer *self);
lum_player_update_position ()
gboolean lum_player_update_position (LumPlayer *self);
lum_player_get_uri ()
const gchar* lum_player_get_uri (LumPlayer *self);
lum_player_can_play ()
gboolean lum_player_can_play (LumPlayer *self);
lum_player_is_running ()
gboolean lum_player_is_running (LumPlayer *self);
lum_player_play_pause ()
void lum_player_play_pause (LumPlayer *self);
lum_player_stop ()
void lum_player_stop (LumPlayer *self);
lum_player_get_stream_length ()
gint lum_player_get_stream_length (LumPlayer *self);
lum_player_set_position ()
void lum_player_set_position (LumPlayer *self,
gdouble pos);
lum_player_get_position_time ()
gboolean lum_player_get_position_time (LumPlayer *self,
gdouble *position,
gint *time);
lum_player_set_volume ()
void lum_player_set_volume (LumPlayer *self,
gdouble vol);
lum_player_get_volume ()
gdouble lum_player_get_volume (LumPlayer *self);
lum_player_is_seekable ()
gboolean lum_player_is_seekable (LumPlayer *self);
lum_player_connect__playbackfinished()
#define lum_player_connect__playbackfinished(object,func,data)
lum_player_connect_after__playbackfinished()
#define lum_player_connect_after__playbackfinished(object,func,data)
lum_player_connect_data__playbackfinished()
#define lum_player_connect_data__playbackfinished(object,func,data,destroy_data,flags)
lum_player_connect__update_timer()
#define lum_player_connect__update_timer(object,func,data)
lum_player_connect_after__update_timer()
#define lum_player_connect_after__update_timer(object,func,data)
lum_player_connect_data__update_timer()
#define lum_player_connect_data__update_timer(object,func,data,destroy_data,flags)
lum_player_connect__update_position()
#define lum_player_connect__update_position(object,func,data)
lum_player_connect_after__update_position()
#define lum_player_connect_after__update_position(object,func,data)
lum_player_connect_data__update_position()
#define lum_player_connect_data__update_position(object,func,data,destroy_data,flags)
LUM_PLAYER_PROP_CAN_FULLSCREEN()
#define LUM_PLAYER_PROP_CAN_FULLSCREEN(arg)
LUM_PLAYER_GET_PROP_CAN_FULLSCREEN()
#define LUM_PLAYER_GET_PROP_CAN_FULLSCREEN(arg)
LUM_PLAYER_PROP_REPEAT()
#define LUM_PLAYER_PROP_REPEAT(arg)
LUM_PLAYER_GET_PROP_REPEAT()
#define LUM_PLAYER_GET_PROP_REPEAT(arg)