Well, later I'll still try to do it with a PB Windows, it's perhaps possible
Critical: OpenGL API access in linux
Polo: that's just insane, if you don't have GTK on linux your a console user, just about 99% of all linux installs will have GTK installed by default, without it GNOME would not exist, GIMP wouldn't have a line of code to it's name, XChat would be just that 'X' as in history, basically without GTK linux as a desktop is nothing useless, of course there are others like QT,KDE etc. etc. but GTK is considered the standard, more or less the same as you can't run windows without it's gui.
I don't know... Purebasic could have been an exception 
BTW, freak, could you tell me what exactly return WindowID() ? Is it a pointer to GtkWidget, GdkWidget, GtkWindow, ... ???
I'm getting lost
PB's Linux documentation is sometime too much copied from the Pb"s Windows documentation : "ID which identifie the current window in the operating system" doesn't mean anything on Linux, especially in this case, because we don't know exactly what identification it is
BTW, freak, could you tell me what exactly return WindowID() ? Is it a pointer to GtkWidget, GdkWidget, GtkWindow, ... ???
I'm getting lost
PB's Linux documentation is sometime too much copied from the Pb"s Windows documentation : "ID which identifie the current window in the operating system" doesn't mean anything on Linux, especially in this case, because we don't know exactly what identification it is
-
dracflamloc
- Addict

- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
Polo : yes it is one of the draw backs on linux dependancy dep.dep--> tree 44 sub deps deep, and maybe you'll get an error compiling making all that dep fixing a waste of time, that said linux is all about choice, choice of gnome/kde/enlightenment and so on, choice of QT/GTK etc. funny though that's no longer a choice it's more or less manadotory.
Never the less, PB's documentation on linux leaves a lot to be desired, in the effort to cross compile with out or very little modification, the manual has been some what side lined, due to the fact that it requires major modifications to make it apply to the linux envorment, it's not all that bad, but it could be much better, be thankful you've not HAD to use a GTK1/2 function that isn't in the libs yet!.
The way I would implyment GL in pb might be to build my own lib, with simplified functions.
Never the less, PB's documentation on linux leaves a lot to be desired, in the effort to cross compile with out or very little modification, the manual has been some what side lined, due to the fact that it requires major modifications to make it apply to the linux envorment, it's not all that bad, but it could be much better, be thankful you've not HAD to use a GTK1/2 function that isn't in the libs yet!.
The way I would implyment GL in pb might be to build my own lib, with simplified functions.
-
dracflamloc
- Addict

- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
But as I said, I've managed to do it, when PB doesn't create the window, so with az simple XWindow. Unfortunately the problem is I want PB to create the window, just to be able to handle the event easily with PBInner wrote:it's possiable just don't have PB create the window in the first place
It's of course possible to get the event with Linux API, but I don't want to use that way
but of course no one, wants to use the 'hardcore' way but that's just the way it is, we can't expect Fred to do all these things for us that is asking way to much, however! we can say.. make an easier path and stanadard methods to accessing infomation, like for example; opening a window if the standard API call to open that window without PB basically wrapper, then that is EXACTALLY what is returned from the PB command wrapper not some mangled pointer to some custom thing, which is useless. ( can you tell I've been down this simular road before? )
