Fwd: gtkmm-list Digest, Vol 80, Issue 2



Here is the offending code in red:

  //Child widgets:
  Gtk::VBox m_VBox;
  Gtk::HBox m_HBox;
  Gtk::ComboBox m_ComboOrientation;
  Glib::RefPtr<Gtk::ListStore> m_refTreeModelOrientation;
  Gtk::ComboBox m_ComboStyle;
  Glib::RefPtr<Gtk::ListStore> m_refTreeModelStyle;
  Gtk::ToolPalette m_ToolPalette;
  Gtk::ScrolledWindow m_ScrolledWindowPalette;
  Gtk::ScrolledWindow m_ScrolledWindowCanvas;
  Canvas m_Canvas;

Thanks,
Chun

---------- Forwarded message ----------
From: <gtkmm-list-request gnome org>
Date: Thu, Dec 2, 2010 at 4:00 AM
Subject: gtkmm-list Digest, Vol 80, Issue 2
To: gtkmm-list gnome org


Send gtkmm-list mailing list submissions to
       gtkmm-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
       http://mail.gnome.org/mailman/listinfo/gtkmm-list
or, via email, send a message with subject or body 'help' to
       gtkmm-list-request gnome org

You can reach the person managing the list at
       gtkmm-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtkmm-list digest..."


Today's Topics:

  1. Help on gtkmm eeview drag and drop (Chun Yang)


----------------------------------------------------------------------

Message: 1
Date: Wed, 1 Dec 2010 23:20:17 -0800
From: Chun Yang <achunyang2010 gmail com>
To: gtkmm-list <gtkmm-list gnome org>
Subject: Help on gtkmm eeview drag and drop
Message-ID:
       <AANLkTi=R9oQ3rg510LhMTZHQS3g2eHtwR6WOSYDAoriB mail gmail com>
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

I am working on a project that has a treeview of items. The tree items can
be draged and dropped from one place to another. I got the tree view work by
following the examples.

Now I got one question:
In the process of drag&drop, I also want to operate on data structure
represented by the tree view. For example when one item is dragged and
dropped to another item, I want to remove the link to it from its old place
and add the link to its dropped place in a data structure behind the
treeview. How do I do this? What is the function to use? If you could point
me to some example that would be great.

Thank you very much!

Chun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.gnome.org/archives/gtkmm-list/attachments/20101201/95560e62/attachment.html>

------------------------------

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


End of gtkmm-list Digest, Vol 80, Issue 2
*****************************************



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]