Beispiel #1
0
playerWindow::playerWindow
(
	BaseObjectType* cobject, 
	const Glib::RefPtr<Gtk::Builder>& refGlade
) 
	: 
		Gtk::Window(cobject),
		m_refGlade(refGlade)
{
	// To instanciate and initialize the player engine
	gst = new playerEngine();
	
	// To link the Glade references
	refGladeMenu(); // for menus
	refGladeButton(); // for buttons
	refGladeWidget(); // for any widgets;
	
	// To connect the signals
	connectSignalClicked(); // clicked 
	connectSignalActivate(); // activate
	connectSignalChangeValue(); // changeValue
	//connectSignalRealize(); // realize
	
	// To initialize all Gtk widgets and mediaplayer's variables
	initMPStates();
	
}
playlistWindow::playlistWindow(BaseObjectType* cobject, 
	const Glib::RefPtr<Gtk::Builder>& refGlade)
: Gtk::Window(cobject),
	m_refGlade(refGlade)
{
	refGladeButton(refGlade); // " " " " buttons
	refGladeWidgets(refGlade);// " " " " widgets
	connectSignalClicked(); // clicked buttons
	configureTreeview(); // configure the treeview
}
Beispiel #3
0
playlistWindow::playlistWindow
(
    BaseObjectType* cobject,
    const Glib::RefPtr<Gtk::Builder>& refGlade
)
    :
    Gtk::Window(cobject),
    m_refGlade(refGlade)
{
    refGladeButton(); // instantiates the buttons
    refGladeWidget();//  widgets
    connectSignalClicked(); // signal clicked buttons
    initPlaylistStates(); // initalize the playlistWindows states
}
mxfGeneratorWindow::mxfGeneratorWindow
	(
		BaseObjectType* cobject, 
		const Glib::RefPtr<Gtk::Builder>& refGlade
	) 
	: 
		Gtk::Window(cobject),
		m_refGlade(refGlade)
{
	// To link the Glade references
	refGladeButton(); // for buttons
	refGladeWidget(); // for any widgets;
	// To initialize all Gtk widgets and mediaplayer's variables
	initMXFGenStates();
	// To connect the signals
	connectSignalClicked(); // clicked 
}