Re: displaying html

2005-07-05 Thread Bob Caryl

John Taber wrote:

When I try to compile the gtkmozembedmm package, I get an error of not finding 
gtkmozembed - is it looking for the gtk program version?  Has anyone got this 
working in gtkmm and can help me with what dependencies were required and any 
special steps?  thks.

John

 


snip

Hey John,

Yeah, gtkmozembemm is the C++ wrapper for gtkmozembed.  And yes, you 
must have the gtk version installed.  As you can see from the string of 
posts I made about gtkmozembedmm, I never got it to work, even when I 
did have gtkmozembed installed properly.  Its --cflags pkg-config 
results always pointed at a file that did not exist:



Running pkg-config --cflags gtkmozembedmm at the command line specifies
-I/opt/gnome/include/gtkmozembedmm-0.1 as it's first pre-processor
instruction.  Examination of the /opt/gnome/include/gtkmozembedmm-0.1
directory reveals that in the gtkmozembedmm subdirectory there is NO
gtkmozembedmm.h file, but rather another directory called private that
contains a file called gtkmozembedmm_p.h


My attempts to figure out to where it should point were feckless, as 
were my attempts to get any answers to this particular question from 
anyone on the list.  I ended up using GtkHTML instead.


I hope you end up having better luck than I did.

Bob Caryl
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: displaying html

2005-07-05 Thread John Taber

Bob,
thks for the info - no, I'm not having too much luck with gtkmozembedmm. 
 Until I find a way to make it work, I can use gtkhtml - what steps did 
you follow to get this working (I actually started to use gtkhtml but 
got stuck in the wrap functions and then was told gtkmozembed would be 
the better alternative).  Now this would make a good wiki article!

John

Bob Caryl wrote:

John Taber wrote:

When I try to compile the gtkmozembedmm package, I get an error of not 
finding gtkmozembed - is it looking for the gtk program version?  Has 
anyone got this working in gtkmm and can help me with what 
dependencies were required and any special steps?  thks.

John

 


snip

Hey John,

Yeah, gtkmozembemm is the C++ wrapper for gtkmozembed.  And yes, you 
must have the gtk version installed.  As you can see from the string of 
posts I made about gtkmozembedmm, I never got it to work, even when I 
did have gtkmozembed installed properly.  Its --cflags pkg-config 
results always pointed at a file that did not exist:



Running pkg-config --cflags gtkmozembedmm at the command line specifies
-I/opt/gnome/include/gtkmozembedmm-0.1 as it's first pre-processor
instruction.  Examination of the /opt/gnome/include/gtkmozembedmm-0.1
directory reveals that in the gtkmozembedmm subdirectory there is NO
gtkmozembedmm.h file, but rather another directory called private that
contains a file called gtkmozembedmm_p.h



My attempts to figure out to where it should point were feckless, as 
were my attempts to get any answers to this particular question from 
anyone on the list.  I ended up using GtkHTML instead.


I hope you end up having better luck than I did.

Bob Caryl



___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: displaying html

2005-07-03 Thread John Taber
When I try to compile the gtkmozembedmm package, I get an error of not finding 
gtkmozembed - is it looking for the gtk program version?  Has anyone got this 
working in gtkmm and can help me with what dependencies were required and any 
special steps?  thks.
John

On Monday 06 June 2005 09:09 am, Bob Caryl wrote:
 Alan wrote:
  One downloads gtkmozembedmm from here:
  http://ftp.linux.org.uk/mirrors/ftp.gnome.org/sources/gtkmozembedmm/1.4/
  (linked from the gtkmm website), and if you do 'make docs' it will
  generate documentation for you. gtkmozembedmm is a Gtkmm wrapper of
  the gtkmozembed C library.
 
  Alan.
 
  Foster, Gareth wrote:
 Ok, fair enough.  I have also tried to find documentation on mozembed
 with no palpable success.  Can you point me at that
 information?  I hate
 to sound like a whiner, but I spent a lot of time over last
 weekend, and
 all day yesterday looking for information on how to implement both
 solutions to little avail.
 
 I think you use the C widget, and there is a special call that lets you
  use an instance of it within the GTKmm framework (i.e hands it over to
  GTKmm to manage), unless somebody did a pucker mm wrapper since I tried
  it, it works well once you get it going anyway.
 
 Google for wrap C widget gtk or something? I have a sneaking feeling
  there are mozembed docs, I think they might be on the Mozilla site,
  along with the download and some rant about GTK+ hackers not wanting to
  use C++ and the history behind the widget :)
 
 Sorry I couldn't be more specific, hopefully you can narrow your google
  work down a bit with this - or just wait until somebody posts who used
  this more recently.
 
 Cheers mate,
 
 Gaz
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtkmm-list

 Hey everyone,

 Since I didn't have gtkmozembedmm installed at all, I took Alan's advice
 and downloaded the gtkmozembedmm-1.4.0 package and installed it.  All
 went without incident.  The docs and examples made it pretty clear as to
 what should happen and how to use gtkmozembedmm.

 However, I have encountered a strange problem:

 In my makefile, I am using `pkg-config --cflags gtkmozembedmm` and
 `pkg-config --libs gtkmozembedmm` in my compile and link lines
 respectively.  I get the following compiler complaint when I try to
 compile my test case:

 /opt/gnome/include/gtkmozembedmm-0.1/gtkmozembedmm.h:1:41:
 gtkmozembedmm/gtkmozembedmm.h: No such file or directory

 Running pkg-config --cflags gtkmozembedmm at the command line specifies
 -I/opt/gnome/include/gtkmozembedmm-0.1 as it's first pre-processor
 instruction.  Examination of the /opt/gnome/include/gtkmozembedmm-0.1
 directory reveals that in the gtkmozembedmm subdirectory there is NO
 gtkmozembedmm.h file, but rather another directory called private that
 contains a file called gtkmozembedmm_p.h

 Any clue as to what I may have missed here?

 Bob
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtkmm-list

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: displaying html

2005-06-06 Thread Bob Caryl

Alan wrote:

One downloads gtkmozembedmm from here: 
http://ftp.linux.org.uk/mirrors/ftp.gnome.org/sources/gtkmozembedmm/1.4/ 
(linked from the gtkmm website), and if you do 'make docs' it will 
generate documentation for you. gtkmozembedmm is a Gtkmm wrapper of 
the gtkmozembed C library.


Alan.


Foster, Gareth wrote:

Ok, fair enough.  I have also tried to find documentation on mozembed 
with no palpable success.  Can you point me at that 
information?  I hate 
to sound like a whiner, but I spent a lot of time over last 
weekend, and 
all day yesterday looking for information on how to implement both 
solutions to little avail.


   



I think you use the C widget, and there is a special call that lets you use
an instance of it within the GTKmm framework (i.e hands it over to GTKmm to
manage), unless somebody did a pucker mm wrapper since I tried it, it works
well once you get it going anyway.

Google for wrap C widget gtk or something? I have a sneaking feeling there
are mozembed docs, I think they might be on the Mozilla site, along with the
download and some rant about GTK+ hackers not wanting to use C++ and the
history behind the widget :)

Sorry I couldn't be more specific, hopefully you can narrow your google work
down a bit with this - or just wait until somebody posts who used this more
recently.

Cheers mate,

Gaz
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


 




Hey everyone,

Since I didn't have gtkmozembedmm installed at all, I took Alan's advice 
and downloaded the gtkmozembedmm-1.4.0 package and installed it.  All 
went without incident.  The docs and examples made it pretty clear as to 
what should happen and how to use gtkmozembedmm.


However, I have encountered a strange problem:

In my makefile, I am using `pkg-config --cflags gtkmozembedmm` and 
`pkg-config --libs gtkmozembedmm` in my compile and link lines 
respectively.  I get the following compiler complaint when I try to 
compile my test case:


/opt/gnome/include/gtkmozembedmm-0.1/gtkmozembedmm.h:1:41: 
gtkmozembedmm/gtkmozembedmm.h: No such file or directory


Running pkg-config --cflags gtkmozembedmm at the command line specifies 
-I/opt/gnome/include/gtkmozembedmm-0.1 as it's first pre-processor 
instruction.  Examination of the /opt/gnome/include/gtkmozembedmm-0.1 
directory reveals that in the gtkmozembedmm subdirectory there is NO 
gtkmozembedmm.h file, but rather another directory called private that 
contains a file called gtkmozembedmm_p.h


Any clue as to what I may have missed here?

Bob
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


displaying html

2005-05-31 Thread Bob Caryl
Even I have not found anything as yet, I was wondering if gtkmm had 
wrapped anything for displaying html?


Thanks,
Bob Caryl
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: displaying html

2005-05-31 Thread John Taber
Not that I know - it is a real missing component.  However, about a month ago 
someone posted some comments about how he wrapped the C version of gtkhtml - 
you might search for it Displaying simple HTML... - I just have not had the 
time to work with the code pieces - maybe it can be turned into a 
well-documented how-to.  gtkhtml handles basic html - it is used by 
Evolution.  The other approach is to use mozembed - probably a more complete 
browser but that too needs to be wrapped and requires all the mozilla libs to 
be included.  
John

On Tuesday 31 May 2005 09:04 am, Bob Caryl wrote:
 Even I have not found anything as yet, I was wondering if gtkmm had
 wrapped anything for displaying html?

 Thanks,
 Bob Caryl
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtkmm-list

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: displaying html

2005-05-31 Thread Erik Ohrnberger
I contributed to the Displaying simple HTML . . . thread.

I started out using gtkhtml, but frankly, it was more difficult than
mozembed, and there are a lot of hooks between the C interface that it's
designed having and the Gtkmm interfaces to the Gtk underlying system.

Instead I went with mozembed, and it was pretty much a slam dunk.

On Tue, May 31, 2005 12:14, John Taber said:
 Not that I know - it is a real missing component.  However, about a month
 ago
 someone posted some comments about how he wrapped the C version of gtkhtml
 -
 you might search for it Displaying simple HTML... - I just have not had
 the
 time to work with the code pieces - maybe it can be turned into a
 well-documented how-to.  gtkhtml handles basic html - it is used by
 Evolution.  The other approach is to use mozembed - probably a more
 complete
 browser but that too needs to be wrapped and requires all the mozilla libs
 to
 be included.
 John

 On Tuesday 31 May 2005 09:04 am, Bob Caryl wrote:
 Even I have not found anything as yet, I was wondering if gtkmm had
 wrapped anything for displaying html?

 Thanks,
 Bob Caryl
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtkmm-list

 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtkmm-list



___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list