473,473 Members | 1,469 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

c++ & GTK+ on Win32

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
3 1500
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jake | last post by:
Hello, Is the GTK+ plaf available on the windows 1.4.2 SDK ? Is it available for use on a win32 platform? Jake
0
by: Wil Koenen | last post by:
Hi, When importing (parts of) gtk, here's what I get: >>> import gobject Traceback (most recent call last): File "<pyshell#13>", line 1, in ? import gobject ImportError: DLL load failed:...
2
by: Dennis | last post by:
The setup: Windows XP Pro Python 2.3 GTK+ 2.2.1.2 and pyGTK 1.99.17 for Python 2.3 from http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ I've downloaded and installed per the instructions the...
10
by: Marco Terzuoli | last post by:
Hi, I use python under linux and would like to create some GUI applications. I have seen that Python can be used together woth some different graphic libraries and would like to have a suggestion...
12
by: Tom | last post by:
1) Portable to Windows, Unix-like platforms, and the Macintosh; 2) Powerful, GUI is very beautiful ; 3) Efficiency of development is high; What's the best, Tkinter, wxPython, QT, GTK or other? ...
65
by: perseus | last post by:
I think that everyone who told me that my question is irrelevant, in particular Mr. David White, is being absolutely ridiculous. Obviously, most of you up here behave like the owners of the C++...
1
*&
by: danny van elsen | last post by:
hello all, when a function has a '*&' parameter, as in Gtk::TreeView::get_cursor(Gtk::TreePath&, Gtk::TreeViewColumn*&) - what could be the reason for designing a function like this? - how do...
16
by: PyDenis | last post by:
Today, I found strange error while using py2exe: 1. I wrote simple program and save as 1.py: import win32ui import win32con win32ui.MessageBox('Test messageBox.' , 'Test', win32con.MB_OK |...
4
by: Darwin Lalo | last post by:
I have read a lot of document. But I can't find a little clue. I want get the text & event in a window of a running process. I have not the source code of the process,of course. It is like...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.