Menu

#2 Provide shadow class for FL_OBJECT*

open
nobody
None
5
2001-12-05
2001-12-05
No

Having a shadow class would allow direct manipulation
of the FL_OBJECT* members. Currently, you have
to write inline functions to return what you want!
For example:

%inline %{
char *FL_OBJECT_get_label(FL_OBJECT *obj) {
return obj->label;
}

int FL_OBJECT_get_objclass(FL_OBJECT *obj) {
return obj->objclass;
}
%}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.