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



Hi All,

Haven't received any feedback on my previous question. So I spent more time searching the web and found the palette example:
http://library.gnome.org/devel/gtkmm-tutorial/stable/toolpalette-example.html.en

But when I compile I got errors below:
[chun localhost pallette]$ make
g++ -o obj/Linux/main.o -c -Iinc `pkg-config gtkmm-2.4 --cflags` src/main.cpp
In file included from src/main.cpp:1:
inc/examplewindow.h:59: error: ‘ToolPalette’ in namespace ‘Gtk’ does not name a type
make: *** [obj/Linux/main.o] Error 1
[chun localhost pallette]$

Any ideas on what's going on?

For my previous question, what I want to do is when I drop the mouse-button, I want to get the tree item that received dragged data. Any function that I can use to get that infomation?

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]