Re: How to work with WebControl (gtkmozembedmm) ?



>>>>> "Nir" == Nir Misgav <nirmisgav gmail com> writes:

Nir> Hello.  I'm trying to build a simple web browser with gtkmm.
Nir> I downloaded the gtkmozembedmm-1.4.2 tarball, extracted and
Nir> compiled it all successfully.  All the examples work just
Nir> fine.

Nir> Now, I want to build my program, I started a new project with
Nir> anjuta (gtkmm-2.4), (Like I read in some place, I opened a
Nir> gtkmm-2.0 project, and then changed it to gtkmm-2.4 in
Nir> configure.in).

Nir> What do I need to do to add the gtkmozembed to my project ?

I never worked with anjuta, so I don't know what exactly you need
to do. But in general:

1. In configure.in:
   PKG_CONFIG(gtkmozembedmm)

2. In you source files:
   #include <gtkmozembed/webcontrol.h>

There are examples in the tarball you've downloaded.

But there is no examples how to use it with glade/libglade :-(

Nir> so I can use webcontrol as a regular class ?

Yes. Like any other class from gtkmm.

Nir> I'm not very familiar at all with autotools, and I used to
Nir> add and remove files through the anjuta gui.

Nir> If all goes well, I plan to write a simple tutorial (of a
Nir> small browser) for newbies like available for Qt, and mono,
Nir> and others.

That would be nice.

Nir> And why all these autotools need to be so complicated ?

AFAIU to be portable across many many Unixes and not Unixes.

--
WBR, Max Vasin.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]