Re: Callbacks and widgets

2006-03-28 Thread Stefan Kost
hi, Gonzalo Aguilar Delgado wrote: Yep, I know about some of them: 1.- Passing a data structure 2.- Using global variables (not good threading support) 3.- Passing window to gpointer and searching. 4.- Use GObjects for you UI In my apps I don't directly insert

Re: About gtk text view

2006-03-28 Thread Eduardo M KALINOWSKI
Jose Hevia wrote: Hello, I'm making a program that displays a text view, and I cant find the right keywords to find the solution on the archives: I need to know when the gtk_text_view window changes size(the user force that with the mouse), so I can redraw the screen. But seems the

Re: Callbacks and widgets

2006-03-28 Thread Gonzalo Aguilar Delgado
Hi, stefan. This looks also good but it's a pain to have to instanciate every widget. But for some special widgets may be a great solution... Thank you for your reply. hi, Gonzalo Aguilar Delgado wrote: Yep, I know about some of them: 1.- Passing a data structure 2.- Using

Display errors with labels

2006-03-28 Thread Hannes Mayr
Hello, I'm using GTK 2.0.9 over DirectFB on an embedded board. Runs without problems, except a bit slow, but at the moment my main problem is that sometimes my labels are displayed completly wrong. Almost every char of the label text is displayed in a different font size. Here a bad picture

Re: acces to a member of the principal widget

2006-03-28 Thread Jerome Le Saux
2006/3/28, Olexiy Avramchenko [EMAIL PROTECTED]: On 3/27/06, Jerome Le Saux [EMAIL PROTECTED] wrote: Hi, I looked for days my error, and I found it ;). in a menu bar I add item. This item open an gtk_file_chooser_dialog. In the callback of my main I give as argument the pointer of my

Re: acces to a member of the principal widget

2006-03-28 Thread Carlo Agrusti
Jerome Le Saux ha scritto lo scorso 27/03/2006 18:02: Hi, I looked for days my error, and I found it ;). in a menu bar I add item. This item open an gtk_file_chooser_dialog. In the callback of my main I give as argument the pointer of my mani widget pWindow. But how can I access to my

set iterator to last parent node

2006-03-28 Thread devel
Hey list, Is there a method/function to set an iterator to the last parent node in a gtktreestore? Thanks. Travis ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

runtime error

2006-03-28 Thread prabhakar kushwaha
hi can you explain reason for this run time error file.gtkpixmap.c:line 97 (gtk_pixmap_new) ' val ' !=NULL failed thanks! -- Prabhakar IV Year B.tech (Computer Science) I. E. T. Lucknow ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: runtime error

2006-03-28 Thread Justin Clift
prabhakar kushwaha wrote: hi can you explain reason for this run time error file.gtkpixmap.c:line 97 (gtk_pixmap_new) ' val ' !=NULL failed Are you using gtk_pixmap_new() directly in your code, or is it being called internally by something from your code? Regards and best wishes, Justin

building OpenGL under GTK+ using gtkgl

2006-03-28 Thread Dov B. Kruger
I have a framework that is working well under GTK+, but there are a number of problems. Most critical, I need to know how to continuously busy-wait and force redrawing. I am currently using gtk_main() which sleeps and refreshes only when the screen is resized. Instead I assume I should do

Re: Callbacks and widgets

2006-03-28 Thread Stefan Kost
Hi Gonzalo, I don't do that for *every* widget, just for logical groups. In my GUI application I do this for the window, the toolbar, the statusbar, the content area (a notebook) and for each content page. Likewise I subclass dialogs. Stefan Gonzalo Aguilar Delgado wrote: Hi, stefan. This