Discussion:
[Dev-C++] GTK + step by step HOW-TO
Flávio de Souza
2003-04-10 20:33:04 UTC
Permalink
Dear Sirs:

I would like to use GTK+ with Dev-Cpp.

I downloaded the newest Dev-Cpp version, however I do
not know how to integrate GTK+ with Dev-Cpp.

In the following web site
http://www.gimp.org/~tml/gimp/win32/
I got many libs and files, I am completely lost!

I need help and directions on which files I have to
download.
Then I step by step procedure on how to integrate it.
compiler flags, etc.

I tried to browse this list files, but I could not get
clear information ( at least to me ) on how to do
that.

I promisse that If I could get through this, I will
place a HOW-TO on the web and I will sent it to
integrate to Dev-Cpp help.

Please, help me!

Regards,

Flávio.

=====
Flavio de Souza
***@yahoo.com.br
Sertãozinho - SP - Brasil
Yahoo! ID: flaviostz

_______________________________________________________________________
Yahoo! Mail
O melhor e-mail gratuito da internet: 6MB de espaço, antivírus, acesso POP3, filtro contra spam.
http://br.mail.yahoo.com/
Daniel K. O.
2003-04-11 01:08:32 UTC
Permalink
Post by Flávio de Souza
In the following web site
http://www.gimp.org/~tml/gimp/win32/
I got many libs and files, I am completely lost!
I need help and directions on which files I have to
download.
You need the dev files for GTK+ 2.2.1; this one requires glib, atk, pango,
zlib, libpng, libjpeg and libtiff (this is written on that page), so you
also need to download them (the dev version, if there's more than one).
Unzip everything on dev-cpp's directory (or under MinGW's directory, if you
have it installed somewhere else);
Post by Flávio de Souza
Then I step by step procedure on how to integrate it.
compiler flags, etc.
Download the pkg-config too; if you use a unix-like shell (like MSYS) you
can use it to compile your gtk programs, like on the Gtk documentation:

gcc program.c -o program.exe `pkg-config gtk+-2.0 --libs --cflags`


If you don't want to use a shell to compile your programs, you'll need to
copy/paste the output for:


C (or C++) Compiler Flags:

pkg-config gtk+-2.0 --cflags

(it will return something like:
-IC:/DEV-CPP/include/gtk-2.0
-IC:/DEV-CPP/lib/gtk-2.0/include
-IC:/DEV-CPP/include/atk-1.0
-IC:/DEV-CPP/include/pango-1.0
-IC:/DEV-CPP/include/glib-2.0
-IC:/DEV-CPP/lib/glib-2.0/include
)



Linker Options:

pkg-config gtk+-2.0 --libs

(will be something like:
-LC:/DEV-CPP/lib
-lgtk-win32-2.0
-lgdk-win32-2.0
-latk-1.0
-lgdk_pixbuf-2.0
-lpangowin32-1.0
-lgdi32
-lpango-1.0
-lgobject-2.0
-lgmodule-2.0
-lglib-2.0
-lintl
-liconv
)



So, you can copy/paste it on a GTK+ project on Dev-Cpp. Oh, one more thing:
add the "-mms-bitfields" to the C/C++ flags.


Optionally, you can use this as your GTK+ Template (I use this one):



- 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< -



[Template]
ver=1
Name=GTK
Icon=Gtk.ico
Description=Create a GUI using Gtk.
Catagory=GUI

[Unit0]
C=Gtk.txt
Cpp=Gtk.txt
CName=main.c
CppName=main.cpp

[Project]
UnitCount=1
Type=0
IsCpp=0
Compiler=-mms-bitfields_@@_-I"<INCLUDE>\glib-2.0"_@@_-I"<INCLUDE>\atk-1.0"_@
@_-I"<INCLUDE>\gtk-2.0"_@@_-I"<INCLUDE>\pango-1.0"_@@_-I"<LIB>\glib-2.0\incl
ude"_@@_-I"<LIB>\gtk-2.0\include"
CppCompiler=-mms-bitfields_@@_-I"<INCLUDE>\glib-2.0"_@@_-I"<INCLUDE>\atk-1.0
"_@@_-I"<INCLUDE>\gtk-2.0"_@@_-I"<INCLUDE>\pango-1.0"_@@_-I"<LIB>\glib-2.0\i
nclude"_@@_-I"<LIB>\gtk-2.0\include"
Linker=-lgtk-win32-2.0_@@_-lgdk-win32-2.0_@@_-latk-1.0_@@_-lgdk_pixbuf-2.0_@
@_-lpangowin32-1.0_@@_-lgdi32_@@_-lpango-1.0_@@_-lgobject-2.0_@@_-lgmodule-2
.0_@@_-lglib-2.0_@@_-lintl_@@_-liconv
Name=GTK+ Project
ProjectIcon=Gtk.ico



- >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 -


The "Gtk.txt" file contains a small sample, that I use for almost every GTK+
program:

----
#include <gtk/gtk.h>

GtkWidget *win;

int main(int argc, char *argv[])
{
gtk_init(&argc, &argv);

win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
g_signal_connect(G_OBJECT(win), "destroy",
G_CALLBACK(gtk_main_quit), NULL);
gtk_widget_show(win);

gtk_main();
}
---
Post by Flávio de Souza
I tried to browse this list files, but I could not get
clear information ( at least to me ) on how to do
that.
I answered this question a few times here, but I'll forgive you, the search
engine on SourceForge is broken... :)




Daniel K. O.


Only ask questions with yes/no answers if you want "yes" or "no" as the
answer.
http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-an
swers.html
Fernando Correa da Concei;áo
2003-04-19 04:21:03 UTC
Permalink
I used it, but i get some linker errors, this is the output, the program
is your sample

Compilador: Default compiler
Building Makefile: "C:\DEV-CPP\Makefile.win"
Finding dependencies for file: C:\DEV-CPP\arq.c
Executando make...
make.exe -f "C:\DEV-CPP\Makefile.win" all
g++.exe arq.o -o "Projeto1.exe" -L"C:/DEV-CPP/lib"
-I"C:/DEV-CPP/include" -I"C:/DEV-CPP/include"
-IC:/DEV-CPP/include/gtk-2.0 -IC:/DEV-CPP/lib/gtk-2.0/include
-IC:/DEV-CPP/include/atk-1.0 -IC:/DEV-CPP/include/pango-1.0
-LC:/DEV-CPP/lib -IC:/DEV-CPP/include/glib
-IC:/DEV-CPP/lib/glib-2.0/include

arq.o(.text+0x28):arq.c: undefined reference to `gtk_init_abi_check'
arq.o(.text+0x35):arq.c: undefined reference to `gtk_window_new'
arq.o(.text+0x4d):arq.c: undefined reference to `gtk_main_quit'
arq.o(.text+0x62):arq.c: undefined reference to `g_type_check_instance_cast'
arq.o(.text+0x6d):arq.c: undefined reference to `g_signal_connect_data'

arq.o(.text+0x7e):arq.c: undefined reference to `gtk_widget_show'
arq.o(.text+0x86):arq.c: undefined reference to `gtk_main'

Execução terminada

This is in linker options
-LC:/DEV-CPP/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
-lglib-2.0 -lintl -liconv

appear that it´s placing compiler options in linker options?
PS: sorry by my english!
Post by Daniel K. O.
Post by Flávio de Souza
In the following web site
http://www.gimp.org/~tml/gimp/win32/
I got many libs and files, I am completely lost!
I need help and directions on which files I have to
download.
You need the dev files for GTK+ 2.2.1; this one requires glib, atk, pango,
zlib, libpng, libjpeg and libtiff (this is written on that page), so you
also need to download them (the dev version, if there's more than one).
Unzip everything on dev-cpp's directory (or under MinGW's directory, if you
have it installed somewhere else);
Post by Flávio de Souza
Then I step by step procedure on how to integrate it.
compiler flags, etc.
Download the pkg-config too; if you use a unix-like shell (like MSYS) you
gcc program.c -o program.exe `pkg-config gtk+-2.0 --libs --cflags`
If you don't want to use a shell to compile your programs, you'll need to
pkg-config gtk+-2.0 --cflags
-IC:/DEV-CPP/include/gtk-2.0
-IC:/DEV-CPP/lib/gtk-2.0/include
-IC:/DEV-CPP/include/atk-1.0
-IC:/DEV-CPP/include/pango-1.0
-IC:/DEV-CPP/include/glib-2.0
-IC:/DEV-CPP/lib/glib-2.0/include
)
pkg-config gtk+-2.0 --libs
-LC:/DEV-CPP/lib
-lgtk-win32-2.0
-lgdk-win32-2.0
-latk-1.0
-lgdk_pixbuf-2.0
-lpangowin32-1.0
-lgdi32
-lpango-1.0
-lgobject-2.0
-lgmodule-2.0
-lglib-2.0
-lintl
-liconv
)
add the "-mms-bitfields" to the C/C++ flags.
- 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< -
[Template]
ver=1
Name=GTK
Icon=Gtk.ico
Description=Create a GUI using Gtk.
Catagory=GUI
[Unit0]
C=Gtk.txt
Cpp=Gtk.txt
CName=main.c
CppName=main.cpp
[Project]
UnitCount=1
Type=0
IsCpp=0
@_-I"<INCLUDE>\gtk-2.0"_@@_-I"<INCLUDE>\pango-1.0"_@@_-I"<LIB>\glib-2.0\incl
@_-lpangowin32-1.0_@@_-lgdi32_@@_-lpango-1.0_@@_-lgobject-2.0_@@_-lgmodule-2
Name=GTK+ Project
ProjectIcon=Gtk.ico
- >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 -
The "Gtk.txt" file contains a small sample, that I use for almost every GTK+
----
#include <gtk/gtk.h>
GtkWidget *win;
int main(int argc, char *argv[])
{
gtk_init(&argc, &argv);
win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
g_signal_connect(G_OBJECT(win), "destroy",
G_CALLBACK(gtk_main_quit), NULL);
gtk_widget_show(win);
gtk_main();
}
---
Post by Flávio de Souza
I tried to browse this list files, but I could not get
clear information ( at least to me ) on how to do
that.
I answered this question a few times here, but I'll forgive you, the search
engine on SourceForge is broken... :)
Daniel K. O.
Only ask questions with yes/no answers if you want "yes" or "no" as the
answer.
http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-an
swers.html
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Dev-cpp-users mailing list
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
.
David Matthews
2003-04-11 09:28:04 UTC
Permalink
Did you download the GTK+ devpak? You can get it on
http:\\www.bloodshed.net\dev\ in the package repository. It has a built in
template with all compiler flags, it also has all the correct libs and
headers.
Post by Flávio de Souza
I would like to use GTK+ with Dev-Cpp.
I downloaded the newest Dev-Cpp version, however I do
not know how to integrate GTK+ with Dev-Cpp.
In the following web site
http://www.gimp.org/~tml/gimp/win32/
I got many libs and files, I am completely lost!
I need help and directions on which files I have to
download.
Then I step by step procedure on how to integrate it.
compiler flags, etc.
I tried to browse this list files, but I could not get
clear information ( at least to me ) on how to do
that.
I promisse that If I could get through this, I will
place a HOW-TO on the web and I will sent it to
integrate to Dev-Cpp help.
Please, help me!
Regards,
Flávio.
=====
Flavio de Souza
Sertãozinho - SP - Brasil
Yahoo! ID: flaviostz
_______________________________________________________________________
Yahoo! Mail
O melhor e-mail gratuito da internet: 6MB de espaço, antivírus, acesso
POP3, filtro contra spam.
Post by Flávio de Souza
http://br.mail.yahoo.com/
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Dev-cpp-users mailing list
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
nada
2003-04-11 18:51:02 UTC
Permalink
Hello -

Awhile ago, someone here posted a link to a review about MS's upcoming OS,
"Paladion." This was info, it seemed, from a programmer's perspective as
to the effects this OS would have on current and future programs.

Does anyone have this? I would also appreciate any other references you
may have about this upcoming OS.

Thanks.



{rb}
--
nada
2003-04-11 21:27:06 UTC
Permalink
Post by Ioannis Vranos
The upcoming Windows version is code named "Longhorn". "Palladium" is the
code name of the upcoming OS secure architecture for application execution
(probably will be included in Longhorn).
Thanks to replying. Great info and links.

But I thought I read here something from a programmer's point of view that
stated that this new version would not be compatible with any previous
software....?


{rb}
Daniel K. O.
2003-04-11 12:34:01 UTC
Permalink
Just wondering, which version is in that DevPack? Still the 2.0.0? Or 2.2.1?



Daniel K. O.
-----Mensagem original-----
Matthews
Enviada em: quinta-feira, 10 de abril de 2003 23:36
Para: Flávio de Souza; Dev-Cpp
Assunto: Re: [Dev-C++] GTK + step by step HOW-TO
Did you download the GTK+ devpak? You can get it on
http:\\www.bloodshed.net\dev\ in the package repository. It
has a built in
template with all compiler flags, it also has all the correct libs and
headers.
Flávio de Souza
2003-04-11 16:57:04 UTC
Permalink
Thanks you very much for your detailed answer.

I will let you know the result.

Regards,

Flávio.

--- "Daniel K. O." <***@yahoo.com.br>
escreveu: >
Post by Daniel K. O.
Post by Flávio de Souza
In the following web site
http://www.gimp.org/~tml/gimp/win32/
I got many libs and files, I am completely lost!
I need help and directions on which files I have
to
Post by Flávio de Souza
download.
You need the dev files for GTK+ 2.2.1; this one
requires glib, atk, pango,
zlib, libpng, libjpeg and libtiff (this is written
on that page), so you
also need to download them (the dev version, if
there's more than one).
Unzip everything on dev-cpp's directory (or under
MinGW's directory, if you
have it installed somewhere else);
Post by Flávio de Souza
Then I step by step procedure on how to
integrate it.
Post by Flávio de Souza
compiler flags, etc.
Download the pkg-config too; if you use a unix-like
shell (like MSYS) you
can use it to compile your gtk programs, like on the
gcc program.c -o program.exe `pkg-config gtk+-2.0
--libs --cflags`
If you don't want to use a shell to compile your
programs, you'll need to
pkg-config gtk+-2.0 --cflags
-IC:/DEV-CPP/include/gtk-2.0
-IC:/DEV-CPP/lib/gtk-2.0/include
-IC:/DEV-CPP/include/atk-1.0
-IC:/DEV-CPP/include/pango-1.0
-IC:/DEV-CPP/include/glib-2.0
-IC:/DEV-CPP/lib/glib-2.0/include
)
pkg-config gtk+-2.0 --libs
-LC:/DEV-CPP/lib
-lgtk-win32-2.0
-lgdk-win32-2.0
-latk-1.0
-lgdk_pixbuf-2.0
-lpangowin32-1.0
-lgdi32
-lpango-1.0
-lgobject-2.0
-lgmodule-2.0
-lglib-2.0
-lintl
-liconv
)
So, you can copy/paste it on a GTK+ project on
add the "-mms-bitfields" to the C/C++ flags.
Optionally, you can use this as your GTK+ Template
- 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< -
8< - 8< -
[Template]
ver=1
Name=GTK
Icon=Gtk.ico
Description=Create a GUI using Gtk.
Catagory=GUI
[Unit0]
C=Gtk.txt
Cpp=Gtk.txt
CName=main.c
CppName=main.cpp
[Project]
UnitCount=1
Type=0
IsCpp=0
Compiler=-mms-bitfields_@@_-I"<INCLUDE>\glib-2.0"_@@_-I"<INCLUDE>\atk-1.0"_@
@_-I"<INCLUDE>\gtk-2.0"_@@_-I"<INCLUDE>\pango-1.0"_@@_-I"<LIB>\glib-2.0\incl
Linker=-lgtk-win32-2.0_@@_-lgdk-win32-2.0_@@_-latk-1.0_@@_-lgdk_pixbuf-2.0_@
@_-lpangowin32-1.0_@@_-lgdi32_@@_-lpango-1.0_@@_-lgobject-2.0_@@_-lgmodule-2
Post by Daniel K. O.
Name=GTK+ Project
ProjectIcon=Gtk.ico
- >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 -
Post by Flávio de Souza
8 - >8 -
The "Gtk.txt" file contains a small sample, that I
use for almost every GTK+
----
#include <gtk/gtk.h>
GtkWidget *win;
int main(int argc, char *argv[])
{
gtk_init(&argc, &argv);
win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
g_signal_connect(G_OBJECT(win), "destroy",
G_CALLBACK(gtk_main_quit), NULL);
gtk_widget_show(win);
gtk_main();
}
---
Post by Flávio de Souza
I tried to browse this list files, but I could
not get
Post by Flávio de Souza
clear information ( at least to me ) on how to
do
Post by Flávio de Souza
that.
I answered this question a few times here, but I'll
forgive you, the search
engine on SourceForge is broken... :)
Daniel K. O.
Only ask questions with yes/no answers if you want
"yes" or "no" as the
answer.
http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-an
Post by Daniel K. O.
swers.html
=====
Flavio de Souza
***@yahoo.com.br
Sertãozinho - SP - Brasil
Yahoo! ID: flaviostz

_______________________________________________________________________
Yahoo! Mail
O melhor e-mail gratuito da internet: 6MB de espaço, antivírus, acesso POP3, filtro contra spam.
http://br.mail.yahoo.com/
Ioannis Vranos
2003-04-11 20:24:05 UTC
Permalink
-----Original Message-----
Sent: Friday, April 11, 2003 11:50 PM
To: Dev-Cpp
Subject: [Dev-C++] Info on MS's upcoming OS?
Hello -
Awhile ago, someone here posted a link to a review about MS's
upcoming OS,
"Paladion." This was info, it seemed, from a programmer's
perspective as
to the effects this OS would have on current and future programs.
Does anyone have this? I would also appreciate any other
references you
may have about this upcoming OS.
Thanks.
The upcoming Windows version is code named "Longhorn". "Palladium" is the
code name of the upcoming OS secure architecture for application execution
(probably will be included in Longhorn).


"Palladium" has already an official name Nextt Generation something (I do
not recall it now) and the first demo/beta will be out this year.


Longhorn reportedly will only run .NET code (managed code). After all, all
new SDKs will be available for .NET. Longhron as it is known up to now, in
summary will include:


3D Video GUI (with new managed APIs (=.NET APIs))
A database like system named WinFS
and probably Palladium.



You can check these:

http://www.winsupersite.com/faq/longhorn.asp

http://www.winsupersite.com/reviews/longhorn_4008.asp



Longhorn is currently expected in 2005.



Ioannis Vranos

* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net


Anti-racism movement: http://www.positive-youthfoundation.org
Iraq Peace Pledge: http://www.peacepledge.org
Ioannis Vranos
2003-04-11 22:22:11 UTC
Permalink
-----Original Message-----
Sent: Saturday, April 12, 2003 2:27 AM
To: 'Dev-Cpp'
Subject: RE: [Dev-C++] Info on MS's upcoming OS?
Thanks to replying. Great info and links.
But I thought I read here something from a programmer's point
of view that
stated that this new version would not be compatible with any
previous
software....?
Longhorn reportedly will only run .NET code (managed code). After all, all
new SDKs are becoming available for .NET only.




Ioannis Vranos

* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net


Anti-racism movement: http://www.positive-youthfoundation.org
Iraq Peace Pledge: http://www.peacepledge.org
Flávio de Souza
2003-04-14 16:45:11 UTC
Permalink
Hi Daniel:

It worked !

I downloaded everything and put in Dev-Cpp folder.

Now my system is running GTk 2.2.1 and i don t need to
wait Dev-Cpp package updates anymore!

Thank you very much

Flávio.

--- "Daniel K. O." <***@yahoo.com.br>
escreveu: >
Post by Daniel K. O.
Post by Flávio de Souza
In the following web site
http://www.gimp.org/~tml/gimp/win32/
I got many libs and files, I am completely lost!
I need help and directions on which files I have
to
Post by Flávio de Souza
download.
You need the dev files for GTK+ 2.2.1; this one
requires glib, atk, pango,
zlib, libpng, libjpeg and libtiff (this is written
on that page), so you
also need to download them (the dev version, if
there's more than one).
Unzip everything on dev-cpp's directory (or under
MinGW's directory, if you
have it installed somewhere else);
Post by Flávio de Souza
Then I step by step procedure on how to
integrate it.
Post by Flávio de Souza
compiler flags, etc.
Download the pkg-config too; if you use a unix-like
shell (like MSYS) you
can use it to compile your gtk programs, like on the
gcc program.c -o program.exe `pkg-config gtk+-2.0
--libs --cflags`
If you don't want to use a shell to compile your
programs, you'll need to
pkg-config gtk+-2.0 --cflags
-IC:/DEV-CPP/include/gtk-2.0
-IC:/DEV-CPP/lib/gtk-2.0/include
-IC:/DEV-CPP/include/atk-1.0
-IC:/DEV-CPP/include/pango-1.0
-IC:/DEV-CPP/include/glib-2.0
-IC:/DEV-CPP/lib/glib-2.0/include
)
pkg-config gtk+-2.0 --libs
-LC:/DEV-CPP/lib
-lgtk-win32-2.0
-lgdk-win32-2.0
-latk-1.0
-lgdk_pixbuf-2.0
-lpangowin32-1.0
-lgdi32
-lpango-1.0
-lgobject-2.0
-lgmodule-2.0
-lglib-2.0
-lintl
-liconv
)
So, you can copy/paste it on a GTK+ project on
add the "-mms-bitfields" to the C/C++ flags.
Optionally, you can use this as your GTK+ Template
- 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< - 8< -
8< - 8< -
[Template]
ver=1
Name=GTK
Icon=Gtk.ico
Description=Create a GUI using Gtk.
Catagory=GUI
[Unit0]
C=Gtk.txt
Cpp=Gtk.txt
CName=main.c
CppName=main.cpp
[Project]
UnitCount=1
Type=0
IsCpp=0
Compiler=-mms-bitfields_@@_-I"<INCLUDE>\glib-2.0"_@@_-I"<INCLUDE>\atk-1.0"_@
@_-I"<INCLUDE>\gtk-2.0"_@@_-I"<INCLUDE>\pango-1.0"_@@_-I"<LIB>\glib-2.0\incl
Linker=-lgtk-win32-2.0_@@_-lgdk-win32-2.0_@@_-latk-1.0_@@_-lgdk_pixbuf-2.0_@
@_-lpangowin32-1.0_@@_-lgdi32_@@_-lpango-1.0_@@_-lgobject-2.0_@@_-lgmodule-2
Post by Daniel K. O.
Name=GTK+ Project
ProjectIcon=Gtk.ico
- >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 - >8 -
Post by Flávio de Souza
8 - >8 -
The "Gtk.txt" file contains a small sample, that I
use for almost every GTK+
----
#include <gtk/gtk.h>
GtkWidget *win;
int main(int argc, char *argv[])
{
gtk_init(&argc, &argv);
win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
g_signal_connect(G_OBJECT(win), "destroy",
G_CALLBACK(gtk_main_quit), NULL);
gtk_widget_show(win);
gtk_main();
}
---
Post by Flávio de Souza
I tried to browse this list files, but I could
not get
Post by Flávio de Souza
clear information ( at least to me ) on how to
do
Post by Flávio de Souza
that.
I answered this question a few times here, but I'll
forgive you, the search
engine on SourceForge is broken... :)
Daniel K. O.
Only ask questions with yes/no answers if you want
"yes" or "no" as the
answer.
http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-an
Post by Daniel K. O.
swers.html
=====
Flavio de Souza
***@yahoo.com.br
Sertãozinho - SP - Brasil
Yahoo! ID: flaviostz

_______________________________________________________________________
Yahoo! Mail
O melhor e-mail gratuito da internet: 6MB de espaço, antivírus, acesso POP3, filtro contra spam.
http://br.mail.yahoo.com/
Continue reading on narkive:
Loading...