GTK scribble example

2005-05-09 Thread Alex Schultz
Hi, I'm making a small drawing program with GTK, and I'm having an issue that's also in the scribble example tutorial (using this as an example because people would likely know what I'm talking about that way). Anyways, the issue that I'm having is that the program doesn't receive mouse

selection_changed problem

2005-05-09 Thread poonam chokshi
hello I am using the GTKList widget on which i am having the selection_changed signal fired...Now i am using the lookup_widget() function in it It works till now...But when i try to close the window then my destroy event is fired and it gives me the fatal error dialog box saying the

RE: GTK scribble example

2005-05-09 Thread Freddie Unpenstein
I'm making a small drawing program with GTK, and I'm having an issue that's also in the scribble example tutorial (using this as an example because people would likely know what I'm talking about that way). Anyways, the issue that I'm having is that the program doesn't receive mouse movement

Re: GtkTextView horizontal seperators...

2005-05-09 Thread Paul Pogonyshev
Freddie Unpenstein wrote: Greetings people of the list... I was wondering if anyone knows how I could draw a horizontal red line across a GtkTextView buffer. I could probably throw in a GtkHSeperator widget, or something, but it's not a red line. Well, you can always use your own widget,

HELP!!!!!!!!!!!!!!!!!!!(html in gtk)

2005-05-09 Thread trupthi n t
Hi everybody, html in gtk Is it possible to embibe html scripts with 'C' functions in gtk? If it can be done,then how do v do it? Trupthi ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: HELP!!!!!!!!!!!!!!!!!!!(html in gtk)

2005-05-09 Thread Hubert Sokolowski
You have some options, two of which are: gtkmozembed (http://www.mozilla.org/unix/gtk-embedding.html) gtkhtml which gives you gtkhtml2 (does not support gnome printing) or gtkhtml3 (does not support CSS), your choice. hs ___ gtk-app-devel-list

Gnome_print problem

2005-05-09 Thread harshavardhanreddy mandeepala
hi, we are trying for gnome printing but we are unable to do that. we are now sending the error messages we got while running the Gnome printing . also we are sending sample program as attachment. (project1:5443): GLib-GObject-WARNING **: specified class size for type `GnomePrinterDialog' is

Re: Gnome_print problem

2005-05-09 Thread abhi rocks
hi, The printing problem is occuring because you have more than 1 libgnomeprint/ui folders in your include path. Do a search and make sure your application picks up the correct folder. Abhishek Samuel --- harshavardhanreddy mandeepala [EMAIL PROTECTED] wrote: hi, we are trying for gnome

Re: GTK scribble example

2005-05-09 Thread Alex Schultz
Richard Warren wrote: I'm making a small drawing program with GTK, and I'm having an issue that's also in the scribble example tutorial (using this as an example because people would likely know what I'm talking about that way). Anyways, the issue that I'm having is that the program doesn't

simple example of using gdk_pixbuf_new_from_file

2005-05-09 Thread Dehua Zhao
#includegtk/gtk.h #includegdk-pixbuf/gdk-pixbuf.h #include stdlib.h #includestring.h #includestdio.h #includestring.h int main(int argc, char *argv[]) { GError *gerror; GdkPixbuf *originalpb, *pb; GdkPixbuf *rpb, *ipb; char filename[20]; gtk_set_locale (); gtk_init (argc, argv);

Re: GtkTextView horizontal seperators...

2005-05-09 Thread Markus Lausser
On Mon, 2005-05-09 at 05:35, Freddie Unpenstein wrote: Greetings people of the list... I was wondering if anyone knows how I could draw a horizontal red line across a GtkTextView buffer. I could probably throw in a GtkHSeperator widget, or something, but it's not a red line. I could

Re: GdkPixmap to Bitmap

2005-05-09 Thread Antonio Gomes
Hi Dina, I don't know exactually to implement this, but you can try to take a look at some application's source code the implement it for specific purposes, like GIMP ! It's the open source philosophy main idea ;) regards On 5/5/05, Dina [EMAIL PROTECTED] wrote: Hi, We are working on

Re: how to implement a modal window

2005-05-09 Thread Antonio Gomes
Hi Neo, as far as I understand, this piece of code can used to create an new window inside the main window. is it what you want ?! void button_click_cb (GtkWindow *button, GPointer *user_pointer) { GtkWidget *Dialog = gtk_dialog_new (); gtk_widget_set_size_request (Dialog, 240,

Re: GtkTextView horizontal seperators...

2005-05-09 Thread Freddie Unpenstein
I was wondering if anyone knows how I could draw a horizontal red line across a GtkTextView buffer. I could probably throw in a GtkHSeperator widget, or something, but it's not a red line. Well, you can always use your own widget, which can be whatever you wish, for instance a red