cschtml
- From: Colin Thomas <colin designresources co uk>
- To: gtk-app-devel-list gnome org
- Cc: colin designresources co uk
- Subject: cschtml
- Date: Wed, 11 Jul 2001 08:37:03 +0100 (BST)
Hi ,
I have managed to download and install cscHTML on my solaris machine.
I am now looking for some example code ;-) (there is none with the widget installation)
Is the Widget standalone (has its own window like a color selector) or can it be
embeded into a frame (for example) ? I have nothing to go on :-(
I have tried the following (attaching the widget to a frame) :
GtkWidget *cschtml;
cschtml = csc_html_new ();
gtk_widget_ref (cschtml);
gtk_object_set_data_full (GTK_OBJECT (window1), "cschtml", cschtml,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (cschtml);
gtk_container_add (GTK_CONTAINER (frame1), cschtml);
But I get a segmentation error when I try to show the widget ;-(
I have also tried to create the widget directly, and then show it - No segmentation
this time... in fact nothing at all ;-(
GtkWidget *cschtml;
cschtml = csc_html_new ();
gtk_widget_show (cschtml);
If anyone could spare some code snipets (or knows the reasons for the above behaviour,
i would be most grateful
I look forward to your thoughts.
Best regards
/colin.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]