By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,949 Members | 1,345 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,949 IT Pros & Developers. It's quick & easy.

c++ & GTK+ on Win32

P: n/a
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
Jul 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
John wrote:
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?

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #2

P: n/a
Phlip wrote:
John wrote:

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.


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.
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?


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

Jul 22 '05 #3

P: n/a
John wrote:
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.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.