hello all,
can anyone tell me the list of methods to override in order to create a
custom TreeModel?
I currently have these:
virtual Gtk::TreeModelFlags get_flags_vfunc() const;
virtual int get_n_columns_vfunc() const;
virtual GType get_column_type_vfunc(int index) const;
virtual void
well, I was trying to come up with a good demo, because I have always
felt that people will like to fill a treeview directly from their own
data
it has been a while since I have worked woth gtkmm, so I adapted the
following from a working program against gtk-2:
the Gtk::Window* do_treeview_memor
indeed! that seems to get me on my way! thanks!
if/when I get this working: would you be interested in adding this to
the gtkmm demo programs?
regards, D.
*
From: Kjell Ahlstedt
Have you declared your custom TreeModel something like
class MyTreeModel : public Glib::O
l
Ahlstedt
Your custom TreeModel can perhaps be added either to the gtkmm
demo programs or to the gtkmm tutorial at
https://gitlab.gnome.org/GNOME/gtkmm-documentation. Let's decide
when you have a working program.
Have you noticed that there is a cust
gui in a separate structure.
Copying the data into the treeview model, as the existing demo programs
do, is obviously not the ideal solution.
the other example in gtkmm-documentation keeps is very helpful, but it
does not show subdirs...
regards, Danny.
On Mon, Dec 16, 2019 at 2:10 PM danny via gtkmm
in gtk.
Kjell
On 2019-12-22 11:06, danny via
gtkmm-list wrote:
>
> hello gtkmm,
>
>
>
> so how do I continue with this? I feel that it would be
> really handy to add an example such a
Hello all
a question about gstreamermm: I am trying to convert an old project of
mine to the current version of gtkmm and gstreamermm. And there is one
particular problem that I can not solve.
I have a piece of code that extracts a thumbnail picture from a video,
in order to give an idea of what t
I guess the key would be to find the equivalent of the following old
(Playbin2) code
Glib::RefPtr image_buf;(const guint8*)
image_buf→get_data(),
a Buffer is replaced I think by a Sample; but from the documentation I
can not understand how to get at its raw data, and then convert it
to(const guint8