GtkBuilder bug?

2008-02-27 Thread Pavel Syomin
Hi, all! I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora 8. I have found, that if there is reference to unknown type in UI-file, then application crashes. Is it a GtkBuilder bug? Test program: #include gtk/gtk.h gint main(gint argc, gchar **argv) { GtkBuilder

Re: GtkBuilder bug?

2008-02-27 Thread Pavel Syomin
No, application crashes on gtk_builder_add_from_file(). Mike Massonnet wrote: On Wed, Feb 27, 2008 at 12:04:10PM +0300, Pavel Syomin wrote: Hi, all! I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora 8. I have found, that if there is reference to unknown type in UI

Re: GtkBuilder bug?

2008-02-27 Thread Pavel Syomin
I have added a record into bugzilla - 519199. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Application launcher with GTK+

2008-02-13 Thread Pavel Syomin
Hello! I want to create custom application launcher for Maemo. Number of application, which it will run, are fixed. Launcher will look like grid, which items are icons with text under it. At first I used GtkGrid with custom buttons, in which packed GtkHBox, GtkImage and GtkLabel. It looks

Image loading and saving

2006-02-16 Thread Pavel Syomin
Hi all! I'm writing simple OCR library and want to load (and sometimes save) images in widely used formats (TIFF, PNG, JPEG and so on). My library manipulates grayscale images with 1 byte per pixel and up to this day I use libtiff for loading and saving tasks. Now I want to add support for

Re: gobjects, glists and arrays beginners question

2005-05-26 Thread Pavel Syomin
Hi! I think, that better way is (this is example only) : typedef struct _Machine Machine; struct _Machine { gint machine_number; gchar *machine_name; gchar *model; gchar *operator; /* ... */ }; Machine *machine_new(gint machine_number, const

Small question about GtkTextBuffer

2005-04-27 Thread Pavel Syomin
Hi! Can anybody suggest me how can I restrict cursor movement on GtkTextBuffer? Now I connect to key-press-event signal and handle key codes, but user can change cursor position with mouse. Any ideas? Thanks. ___ gtk-app-devel-list mailing list

Re: Something like console widget

2005-04-20 Thread Pavel Syomin
Eduardo M KALINOWSKI wrote: Pavel Syomin wrote: Hi, I am going to write GTK+ application, that will use something like console window as one of possible ways to interact with users. I looked on libvte, but it's require to have another application to run, but I need something looked as console

Something like console widget

2005-04-19 Thread Pavel Syomin
Hi, I am going to write GTK+ application, that will use something like console window as one of possible ways to interact with users. I looked on libvte, but it's require to have another application to run, but I need something looked as console widget to integrate it to my application. Can