added event handlers to SimplePlaylistManagementWindow:
* when the title is edited (also to create a new playlist if necessary) * when the playlist is changed from GLiveSupport::addToPlaylist(); a new signal is created for this purpose in GLiveSupport
This commit is contained in:
parent
0a1622e3cd
commit
19dd690732
5 changed files with 115 additions and 16 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
Author : $Author: fgerlits $
|
||||
Version : $Revision: 1.5 $
|
||||
Version : $Revision: 1.6 $
|
||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/include/LiveSupport/Widgets/EntryBin.h,v $
|
||||
|
||||
------------------------------------------------------------------------------*/
|
||||
|
@ -65,7 +65,7 @@ using namespace LiveSupport::Core;
|
|||
* A container, holding a Gtk::Entry as its only child.
|
||||
*
|
||||
* @author $Author: fgerlits $
|
||||
* @version $Revision: 1.5 $
|
||||
* @version $Revision: 1.6 $
|
||||
*/
|
||||
class EntryBin : public BlueBin
|
||||
{
|
||||
|
@ -115,6 +115,17 @@ class EntryBin : public BlueBin
|
|||
return getEntry()->get_text();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the text of the entry.
|
||||
*
|
||||
* @return the get_text() string of the Gtk::Entry.
|
||||
*/
|
||||
void
|
||||
set_text(const Glib::ustring & text) throw ()
|
||||
{
|
||||
getEntry()->set_text(text);
|
||||
}
|
||||
|
||||
/**
|
||||
* The signal proxy for pressing enter in the entry field.
|
||||
*
|
||||
|
@ -125,6 +136,17 @@ class EntryBin : public BlueBin
|
|||
{
|
||||
return getEntry()->signal_activate();
|
||||
}
|
||||
|
||||
/**
|
||||
* The signal proxy for the text having changed in the entry field.
|
||||
*
|
||||
* @return the signal_changed() proxy of the Gtk::Entry.
|
||||
*/
|
||||
Glib::SignalProxy0<void>
|
||||
signal_changed(void) throw ()
|
||||
{
|
||||
return getEntry()->signal_changed();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue