Rick -
I am having a problem trying to integrate CSELF into RexxGTK. The problem
is not CSELF itself, but a side affect. Consider the following:
RexxMethod2(int, // Return type
GrxWidgetSetParentWindow, // Object_method name.
RexxObjectPtr, parent, // New parent widget
OSELF, self) // Self
{
GtkWidget *myWidget = (GtkWidget *)context->GetObjectVariable("CSELF")
GdkWindow *parentWidget = (GdkWindow *)context->functions->
GetObjectVariable(parent, "CSELF);
gtk_widget_set_parent_window(myWidget, parentWidget);
return 0;
}
Fetching the parent this way causes a compile problem since parent is not
an instance. How should I be fetching the CSELF of parent?
Thanks,
W. David Ashley
IBM Systems and Technology Group Lab Services
Open Object Rexx Team
Mobile Phone: 512-289-7506
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel