>
> In message <[EMAIL PROTECTED]> Chuck Robey
>writes:
> : Uhhh? I've long since got the answer I wanted, but this seems a complete
> : mystery, so I'll bite, what's a OI_add_event? From some package? Can't
> : find a man page on it.
>
> OI was a native C++ toolkit that had a nice interface
In message <[EMAIL PROTECTED]> Chuck Robey writes:
: Uhhh? I've long since got the answer I wanted, but this seems a complete
: mystery, so I'll bite, what's a OI_add_event? From some package? Can't
: find a man page on it.
OI was a native C++ toolkit that had a nice interface and was ported
t
On Wed, 3 Nov 1999, Warner Losh wrote:
> In message <[EMAIL PROTECTED]> Chuck Robey
>writes:
> : Does anyone (anyone, that is, who's coded X11 applications) know how you
> : handle X11 callbacks to C++ object methods?
>
> OI_add_event(3OI) :-)
Uhhh? I've long since got the answer I wanted, bu
In message <[EMAIL PROTECTED]> Chuck Robey
writes:
: Does anyone (anyone, that is, who's coded X11 applications) know how you
: handle X11 callbacks to C++ object methods?
OI_add_event(3OI) :-)
Warner
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the bod
On Wed, 27 Oct 1999, Wes Peters wrote:
> Chuck Robey wrote:
> >
> > On Tue, 26 Oct 1999 [EMAIL PROTECTED] wrote:
> >
> > >
> > > Thomas David Rivers writes:
> > > > If you mean Xt (and possibly Motif) - the answer is "very carefully."
> > > [...]
> > >
> > > You're approach would probably wor
Chuck Robey wrote:
>
> On Tue, 26 Oct 1999 [EMAIL PROTECTED] wrote:
>
> >
> > Thomas David Rivers writes:
> > > If you mean Xt (and possibly Motif) - the answer is "very carefully."
> > [...]
> >
> > You're approach would probably work, but there's an easier way.
> > See topic 28 in the Xt FAQ
[EMAIL PROTECTED] (Chuck Robey) writes:
> Boy, I sure wish Java compiled and ran natively. I'd stop using C++
> forever.
gcc-2.95.1 + libgcj already works, at least for simple programs. On
FreeBSD 3.x programs seem to work as long as you use statically linked
libraries (shared libraries cause
hi,
>> Does anyone (anyone, that is, who's coded X11 applications) know how you
>> handle X11 callbacks to C++ object methods?
>>
>> Thanks,
TDR> If you mean Xt (and possibly Motif) - the answer is "very carefully."
TDR> The Xt callbacks are C based, so you typically can't directly call a
On Tue, 26 Oct 1999, Chris Costello wrote:
> On Tue, Oct 26, 1999, Thomas David Rivers wrote:
> > extern "C" {
> >
> > void
> > callback_function(arg1)
> > void *arg1;
> > {
> > /* Call the method */
> >myclass::mymethod(arg1);
>
>As f
On Tue, 26 Oct 1999, Bakul Shah wrote:
> Allow me add something to what the FAQ-Xt says.
>
> I find it more convenient to immediately call a non-static
> function as shown below (using a slightly modified example
> from the FAQ).
Just got out of the shower, where I was wondering why they didn't
Allow me add something to what the FAQ-Xt says.
I find it more convenient to immediately call a non-static
function as shown below (using a slightly modified example
from the FAQ).
class Icon {
public:
Icon(Widget*);
private:
static void static_callback(Icon*)
On Tue, 26 Oct 1999 [EMAIL PROTECTED] wrote:
>
> Thomas David Rivers writes:
> > If you mean Xt (and possibly Motif) - the answer is "very carefully."
> [...]
>
> You're approach would probably work, but there's an easier way.
> See topic 28 in the Xt FAQ.
>
> ftp://ftp.x.org/contrib/faqs/FA
> Then you just stick a C wrapper function around every C++ callback you
> want to register, is that it? Seems a bit inelegant, but I suppose, if
> the ultimate test of elegance is that "it's the only one that works", then
> it's perhaps elegant *enough*.
I believe someone posted a better solu
On Wed, 27 Oct 1999, Daniel O'Connor wrote:
>
> On 27-Oct-99 Thomas David Rivers wrote:
> > If you mean Xt (and possibly Motif) - the answer is "very carefully."
>
> Or you could just use a toolkit written for C++ or with C++ shims already.. ie
> Qt or GTK..
If I wanted to just get X11 done,
On Tue, 26 Oct 1999, Thomas David Rivers wrote:
> >
> > Does anyone (anyone, that is, who's coded X11 applications) know how you
> > handle X11 callbacks to C++ object methods?
> >
> > Thanks,
>
> If you mean Xt (and possibly Motif) - the answer is "very carefully."
>
> The Xt callbacks are
Thomas David Rivers writes:
> If you mean Xt (and possibly Motif) - the answer is "very carefully."
[...]
You're approach would probably work, but there's an easier way.
See topic 28 in the Xt FAQ.
ftp://ftp.x.org/contrib/faqs/FAQ-Xt
It's not name mangling causing problems, it's lack of "thi
On Tue, Oct 26, 1999, Thomas David Rivers wrote:
> extern "C" {
>
> void
> callback_function(arg1)
> void *arg1;
> {
> /* Call the method */
> myclass::mymethod(arg1);
As far as I've seen, you can't directly call a class method
withou
On 27-Oct-99 Thomas David Rivers wrote:
> And, wasn't there a freely available C++ shim for motif floating around
> at one time?
I don't know.. My X experience begins and ends with Tk :)
(Don't like Motif either ;)
---
Daniel O'Connor software and network engineer
for Genesis Software - http:
>
> On 27-Oct-99 Thomas David Rivers wrote:
> > If you mean Xt (and possibly Motif) - the answer is "very carefully."
>
> Or you could just use a toolkit written for C++ or with C++ shims already.. ie
> Qt or GTK..
>
Good point!
Also - I think there were some articles on how to do this in t
On 27-Oct-99 Thomas David Rivers wrote:
> If you mean Xt (and possibly Motif) - the answer is "very carefully."
Or you could just use a toolkit written for C++ or with C++ shims already.. ie
Qt or GTK..
---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.
>
> Does anyone (anyone, that is, who's coded X11 applications) know how you
> handle X11 callbacks to C++ object methods?
>
> Thanks,
If you mean Xt (and possibly Motif) - the answer is "very carefully."
The Xt callbacks are C based, so you typically can't directly call a
C++ method.
Bu
Does anyone (anyone, that is, who's coded X11 applications) know how you
handle X11 callbacks to C++ object methods?
Thanks,
Chuck Robey| Interests include C programming, Electronics,
213 Lakeside Dr. Ap
22 matches
Mail list logo