c++ & GTK+ on Win32

J

John

Greetings,

I am a new C++ developer looking at creating a new application with a
portable Gui library. I would like to be able to simply take source from
Windows to Linux and compile, and visa versa. I have decided to use GTK+
2.0 for the Gui (still open to others though). My question is :

Does anyone know of a good entry tutorial on using the
GTKWidget::gtk_widget_shape_combine_mask function to construct a
non-rectangular window?


Thanks!

-John
 
P

Phlip

John said:
I am a new C++ developer looking at creating a new application with a
portable Gui library. I would like to be able to simply take source from
Windows to Linux and compile, and visa versa. I have decided to use GTK+
2.0 for the Gui (still open to others though). My question is :

GTK+ uses a roughly Object Oriented under C. Yes, there are C++ wrappers for
it, but using GTK in general is a remarkably unpleasant experience.

wxWindows and Qt are both much healthier, as are Tk and FOX. And may I ask
why you picked C++? The answer "because everyone else was doing it" isn't
enough.
Does anyone know of a good entry tutorial on using the
GTKWidget::gtk_widget_shape_combine_mask function to construct a
non-rectangular window?

And Google told you what about that?

And could you find a GTK+ forum where these questions are on topic?
 
J

John

Phlip said:
John wrote:




GTK+ uses a roughly Object Oriented under C. Yes, there are C++ wrappers for
it, but using GTK in general is a remarkably unpleasant experience.

I see. Can you elaborate
wxWindows and Qt are both much healthier, as are Tk and FOX. And may I ask
why you picked C++? The answer "because everyone else was doing it" isn't
enough.

Yes you may ask. I am fluent in Java and C# and wanted to venture out
into the C++ world. Also, I am planning on open-sourcing this
application and most of the projects I have seen on Sourceforge that I
follow (Gaim for example) use C++. Also I am doing some development on
the FireFox code base.
And Google told you what about that?

And could you find a GTK+ forum where these questions are on topic?

Probably, however the GTK+ forum I found had about 12 posts on how to
work from home and nothing related to what I needed. Why don't you
lighten up on the attitude and try to be less condenscending. You don't
know anything about me.

-John
 
P

Phlip

John said:
Probably, however the GTK+ forum I found had about 12 posts on how to
work from home and nothing related to what I needed. Why don't you
lighten up on the attitude and try to be less condenscending. You don't
know anything about me.

I was just about to research for >30 minutes to write you an erudite and
detailed reply comparing various GUI toolkits, and recommending the best one
for cross-platform C++ work. But suddenly I don't feel like it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,947
Members
47,498
Latest member
yelene6679

Latest Threads

Top