Re: Tree using wxEuphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
EUWX said...
mattlewis said...

You mean the way that item is initialized? 0 was used just as a placeholder to create the sequence. That gets replaced with the wxTreeItem ids. IIRC, they're not really pointers.

They must be integer values of ids. From the values, would there be a way of idetifying and relating them with the corresponding text item?

Yes, take a look at the event handler I posted before:

procedure on_right_click(atom this, atom event_type, atom id, atom event ) 
	atom item = get_tree_event_item( event ) 
	message_box( get_tree_text( tree, item ), "right click", wxOK ) 
end procedure 

The call to get_tree_text() fetches the text of the item.

EUWX said...

Considering Kubuntu uses KDE and Ubuntu uses Gnome and something called Unity, also considering that wxEuphoria is essentially graphical in nature, I will be inclined to use Kubuntu. What is working NOW is what counts.
It also can be downloaded as disk image and hopefully be used under Windows XP as a virtual CD/DVD.

In fact, wxWidgets is slightly more at home on Ubuntu, since Gnome and wxWidgets both use GTK. It still works fine on KDE, though. I just personally prefer KDE.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu