Learn graphical programming?

Dee Ayy dee.ayy at gmail.com
Fri Mar 4 21:08:39 UTC 2005


On Fri, 4 Mar 2005 11:33:43 -0600, Dee Ayy <dee.ayy at gmail.com> wrote:
> Where should a Linux newbie start to learn 64 bit graphical
> programming for AMD64 Ubuntu for the soon to be released Hoary
> Hedgehog using X.org (for each of the following topics)?  Please
> provide the analogous Linux/Ubuntu/Gnome/X.org/XFree86/X11 names (as
> relevant) for the following topics as performed on MS Windows 32 bit
> API:
> 
> 1) Available languages (through Synaptic) that take advantage of 64
> bit (preferably C or C++, possibly Java or Python)
> 
> 2) Finding window handles (child window handles FindWindow FindWindowEx)
> 
> 3) Hooking a foreign "not programmed by me" application (or child
> component window) to monitor its messages/events (i.e. WM_PAINT - This
> would be programmed in my own application possibly with a DLL and
> verified via a utility such as Spy++) (SetWindowsHookEx
> CallNextHookEx)
> 
> 4) Writing a DLL if needed for hooking
> 
> 5) A Spy++ type of utility (preferably through Synaptic)
> 
> 6) Components/widgets and handling mouse and keyboard messages/events
> 
> 7) Subclassing a component/widget to Send/Post/or otherwise write a
> custom message handler (GetWindowLong, SetWindowLong, CallWindowProc,
> SendMessage, PostMessage)
> 
> 8a) Grab the pixel color data for the screen (or section of the
> screen) and place into a 2D array in memory and/or onto
> component/widget (BitBlt, GetPixel, SetPixel)
> 
> 8b) Same as 8a as applies to multi-monitor, multi-desktop, or
> multi-sessions/virtual terminals/logins.  Perhaps does not apply if
> pixels are not visible.
> 
> 8c) Not a programmer question: Is there a keyboard keystroke to change
> virtual desktops?  I think I just found one for switching virtual
> terminals (what I wrote in 8b as multi-sessions)
> http://ubuntuforums.org/showthread.php?t=5315 post #4  Ctrl + Alt + F4
> 
> 9) Multi-threading
> 
> I don't know where to start in terms of
> "Linux/Ubuntu/Gnome/X.org/XFree86/X11" nor the appropriate topic
> names.  I will probably start with Warty under XFree86 (if that makes
> a difference).
> 
> Regards.
> 

So far, it seems that http://www.gtk.org/ is the newbie's friend here
for 1,6,7,8a,9
http://www.gtk.org/faq/
http://www.gtk.org//turotial/
It doesn't seem like the newbie needs to worry about X.org versus
XFree86 versus X11.

Note: There exists a forum style for this list at http://www.ubuntuforums.org/
Ubuntu Users Mailing List Thread
http://www.ubuntuforums.org/forumdisplay.php?f=6

Regards,
DA
(Replied via ubuntu-users at lists.ubuntu.com through gmail --
intentional bottom post)




More information about the ubuntu-users mailing list