Posted: Thu Dec 19, 2002 10:40 pm
Restored from previous forum. Originally posted by turtle.
Hi,
Is it possible to have a multiline text gadget implemented? In Win32 for example the RichEdit widget can be used for that, in Linux GTK the "gtk_text_new" function might be used.
- Commands like "SetGadgetText" and "GetGadgetText" can be implemented to set/get the text.
- It should also be possible to set the foreground/background color of the entered text (GTK: gdk_color_alloc(gdk_colormap_get_system(), text_fg_color) and gdk_color_alloc(gdk_colormap_get_system(), text_bg_color)) so we can program a cool IDE for Linux as well.
- Finally it should be possible to set/get the cursor position within the multiline edit (gtk_text_set_point(GTK_TEXT(object),pos), gtk_text_get_point(GTK_TEXT(object),pos))
I have been programming a lot of GTK so in case of detailed information on the GTK API I can help you out.
I hope you are able to add this gadget.
Thanks,
Peter.
Hi,
Is it possible to have a multiline text gadget implemented? In Win32 for example the RichEdit widget can be used for that, in Linux GTK the "gtk_text_new" function might be used.
- Commands like "SetGadgetText" and "GetGadgetText" can be implemented to set/get the text.
- It should also be possible to set the foreground/background color of the entered text (GTK: gdk_color_alloc(gdk_colormap_get_system(), text_fg_color) and gdk_color_alloc(gdk_colormap_get_system(), text_bg_color)) so we can program a cool IDE for Linux as well.
- Finally it should be possible to set/get the cursor position within the multiline edit (gtk_text_set_point(GTK_TEXT(object),pos), gtk_text_get_point(GTK_TEXT(object),pos))
I have been programming a lot of GTK so in case of detailed information on the GTK API I can help you out.
I hope you are able to add this gadget.
Thanks,
Peter.