[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: raw keyboard events (via callback)
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2004-09-16 20:48:40
Message-ID: 200409162248.41312.kevin.krammer () gmx ! at
[Download RAW message or body]

On Thursday 16 September 2004 03:38, P. George wrote:
> THE STORY BEHIND THE QUESTION:
>
> i am (as i mentioned in a previous post) porting a mac application to
> linux (well, from windows to mac to linux).  it's being built in
> realbasic (on the mac), which is a sort vb-like language.  the reason
> i'm moving to realbasic is solely because, your app can, in a single
> click, be cross-compiled for several operating systems, including
> linux.
>
> here's the catch:  if there are any library calls that need to be made,
> it basically has to be done per-os at the pre-processor stage:
>
> #IF TargetMacOS
> 	//mac-specific library calls here
> #ELSEIF TargetWin32
> 	//windows-specific library calls here
> #ELSEIF TargetLinux
> 	//linux-specific library calls here
> #ENDIF

If I remember correctly realbasic is using GTK+ as the toolkit on Linux.
You could use GTK+ calls instead of pure X11 calls, I am quite confident that 
this is a lot easier.

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
www.mrunix.de - Unix/Linux programming forum
www.qtforum.org - Qt programming forum
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic