Gtk widgets don't retain the transparency, as far as I've tested. Transparent backgrounds turn to grey ones, resulting in every icon having a grey rectangle around it instead of a transparent...
Type: Posts; User: Sotos
Gtk widgets don't retain the transparency, as far as I've tested. Transparent backgrounds turn to grey ones, resulting in every icon having a grey rectangle around it instead of a transparent...
Another update, on the transparency I was looking for, I believe that the gdk_window_shape_combine_mask command is what I was looking for. If I can get a mask in the shape of a non rectangular image,...
For some reason I can't edit my post a second time, so, yeah, apparently it was just the wrap option, way easier than I thought. That was fixed easily.
That worked like a charm, I didn't even know the gtk_widget_hide and gtk_widget_show functions existed. Thank you for putting up with me :D
Of course, I have yet another problem. I asked about it on...
I worked the struct out (haven't bothered with Enter yet, but I'll keep your advice in mind).
I'm facing a really weird problem though. I've managed to locate it, but it's so odd that I must be...
Thanks again, I've started focusing more intently on GTK and I actually have a sample output already!
Nothing much, but it's something.
14245
The one box isn't editable by the player, while the...
Well, here I am again, I was on vacation for a while.
While the game was proceeding rapidly, this last month I've been at a standstill regarding the UI and how I'd produce one. I really want to...
Well, this
14228
is the image I used, and this
14227
is what I got.
I actually searched online, and I could find no way to make part of a window transparent. In this case, I'd like everything...
I'm actually sad I didn't get to you faster on that, I just solved it before I saw your response. Instead of tampering with the compiler and linker settings, I added the libraries immediately to the...
I get the same error a lot of times when trying to compile, though everything should be set up correctly.
It says, for every library and header,
"Skipping incompatible C:/GTK/lib/libwhatever.dll.a...
Well, you've helped me a lot so far, I'll take your word and try to get a bit familiar with the command line before I move any further.
I managed to get basic compiling down, but I have a...
Oh, you're awesome. Thanks a lot :D
I managed to get gtk_window_set_decorated() to work quite easily, and it has no issues in Windows, which is great.
About the sound libraries, I'll take a look...
Hello everyone!
As one or two of you may remember, I was trying to learn GTK+ a while ago, so as to develop a text-based game. I gave it up for a while due to my finals, but I'm back on it now and...
The problem is that every tutorial assumes familiarity with the command line, and I've almost never used it...
I'll have to look this up as well, I guess. Any relevant tutorials from you guys?
Gaaah, I want to use version 3, but I keep getting the same error...
It doesn't seem to find gdk-pixbuf.h, though it's installed.
Migration from CodeLite to Code::Blocks successful. Now, I assume I have to create separate GTK+ files for every project I am planning to use.
EDIT: Managed to link Code::Blocks with GTK+, though,...
Read up on the fscanf and fprintf functions, these read and write to files.
After that, it shouldn't be too hard to set up the program with some basic programming knowledge. I don't want to do all...
You should really mention the errors you're getting. From a quick overview, I see that your main function is empty. It should be
int main()
{
//all the code here
}
aka, include your code in...
I have already downloaded Code::Blocks. I'm just a bit hesitant because I've no idea how to transfer all my work from CodeLite to Code::Blocks. The former, being a small project, has really...
So, a few threads ago, I decided to get to know GTK+, as I'm trying to develop a text based game. It'll probably be a long way, and here's my first question.
All documentation on compilation with...
Thank you both, I will try to make some headway. Is it futile to develop my normal code meanwhile? Should I first get GTK+ installed, set up and familarised and then continue with my project?
Thanks for the consideration. However, I am familiar, albeit a beginner, with pointers and a quick internet search proved that I know about callback functions and opaque data types, though I didn't...
I see. That's about the result I ended up with as well, after searching for some tutorials for both SDL and GTK+.
You guys were all so helpful, I'm really grateful :3
I'll probably be downloading...
That's a bit too much for a guy that only followed a simple C class. In terms of terminology, that is.
I think I'll find out how to install and set up the third party libraries eventually. If...
One final question, and I'll bother you no more.
What are the drawbacks of GTK+ versus Qt? Why would I pick one above the other?
Thanks a lot for all your help, it's really invaluable!