2 // C++ Interface: channelview
7 // Author: James Spahlinger <eagle@nixeagle.org>, (C) 2008
9 // Copyright: See COPYING file that comes with this distribution
12 #ifndef GUICHANNELVIEW_H
13 #define GUICHANNELVIEW_H
19 @author James Spahlinger <eagle@nixeagle.org>
21 class ChannelView
: public Gtk::VBox
{
27 void set_buffer(const Glib::RefPtr
<Gtk::TextBuffer
>& buffer
);
28 void adjust_view(int value
);
30 Gtk::ScrolledWindow scroll_window
;///text view goes here.
32 * We store the text view, but do not store the buffer in this object.
33 * The reason for this is that views can show multiple buffers, depending
34 * on what channel the user wishes to display in any particular view.
36 Gtk::TextView text_view
;
39 * Each channel view is going to have to have its own input box. Not doing
40 * so would probably be confusing to users.
41 * @todo Possibly make this configurable, either one text entry for the
42 * whole application, or one per view. Default to one per view.
44 Gtk::Entry user_input
;
46 //non-gui related items, these may eventually be associated with the
48 Glib::ustring channel
;