Thank you !!! Jol
On Wed, 26 Jan 2005 11:04:56 -0600, Nathan Ingersoll <[EMAIL PROTECTED]> wrote: > Animated icons can be done by creating your own edje and assigning a > widget to use it. Take a look at ewl_simple_test.c in the test > directory for an example. > > EWL has generic data attachment functions like ewl_widget_data_set. Or > you put a callback on the widget and that takes a user_data parameter > that gets passed when the callback occurs. > > > On Wed, 26 Jan 2005 17:19:41 +0100, joel vennin <[EMAIL PROTECTED]> wrote: > > Ok, it works great. > > > > But now i've another question or maybe a suggestion. In fact, ok i'm > > able to add something like i want inside a tree. But now when there is > > an event i'm able to get the selected row or something like that, the > > question is ! Is it possible to associate specific data to a row ? I > > think (but i'm not sure) that for now it's not possible to do this. A > > simple hack will be to add > > a field "void * user_data" to the ewl_tree_node structure and some > > function to manipulate this new field. If i've missed something can > > you tell me ? otherwise could you add this change inside the > > ewl_tree_node ? > > > > Thanks you > > > > Jol > > > > On Wed, 26 Jan 2005 16:38:15 +0100 (CET), Vincent Torri > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > On Wed, 26 Jan 2005, joel vennin wrote: > > > > > > > Hello, > > > > i'm using the ewl_tree and i try to get for each row something like > > > > this: > > > > > > > > + <icon> some text > > > > + <icon> some text > > > > .... > > > > + <icon> some text > > > > .... > > > > > > > > The problem is that i'm unable to get a row with an icon and a text. > > > > How can i do ? > > > > > > you create a hbox with the icon and the text packed in it > > > you create a row with ewl_tree_row_add with the last parameter set to the > > > pointer to this box (prow = ewl_tree_row_add(EWL_TREE(my_tree), > > > NULL, &hbox); for example) > > > > > > > > > > > Another question: Is there already something in ewl to display > > > > animated icon ? In this way i can put in a tree row an animated icon > > > > with some text. > > > > > > afaik, not yet. > > > > > > regards > > > > > > Vincent Torri > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > enlightenment-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
