expose-event

2005-06-22 Thread abent
hi, first of all ... thanks for competend answers anytime! now my question: an expose-event signal works to a window widget. why does the expose-event activate 2 times when i resize my window. i wanna redraw a drawingarea after i resize the window. but in this case my drawing-function do her work,

Re: expose-event

2005-06-22 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: > resize my window. i wanna redraw a drawingarea after i resize > the window. but in this case my drawing-function do her work, > and after that the expose-event delete it. You must not do any drawing outside the expose event callback. Sven ___

what's GtkAnchorType or GtkAnchor intented to do ?

2005-06-22 Thread ztl_post
Hi, What is gtk Anchor intented to do ? I searches the reference manual, but no interpretation was found. What is a anchor ? May anyone explain it ? thanks. -- Try to relax and enjoy the crisis. -- Ashleigh Brilliant ___ gtk-list mail

Re: expose-event

2005-06-22 Thread richard boaz
hmm, not sure if i'm getting the wrong end of the stick, here, but in my drawing program i adhere 100% to the following algorithm: configure_event - responsible for all drawing code, drawing only to an internal pixmap buffer. expose_event - responsible for rendering the pixmap drawn in the co

Re: expose-event

2005-06-22 Thread Andreas Bentlage
thanks for that, i have fix it now. but here is another big problem i have. after (or before - i don't know) the expose-event of the drawingarea all my global variables are NULL! details: in a callback i select a filename with fileselectbox. gchar filename = gtk_file_selection_get_filename(GtkFil

TreeView row selection problem

2005-06-22 Thread David Kinyanjui
Good morning everyone; I have a treeview featured application that diplays data on different row with varied foreground color scheme. The foregrounds looks just fine upto/ until whenever a selection is done. For instance, let say the foreground color of a given row is red... when this particula

Re: expose-event

2005-06-22 Thread Tristan Van Berkom
Andreas Bentlage wrote: thanks for that, i have fix it now. but here is another big problem i have. after (or before - i don't know) the expose-event of the drawingarea all my global variables are NULL! details: in a callback i select a filename with fileselectbox. gchar filename = gtk_file_se

GTK app cannot find new fonts on KDrive/TinyX machine.

2005-06-22 Thread x nooby
Hi, I'm trying to add scalable font support to an application that uses wxWindows w/GTK. This app runs on a PC-based device using a Redhat 7.3 kernel and a highly custmized OS configuration. The PC-based device RPL-boots, so the OS is very streamlined and compressed. wxWindows has a 'font' sam

doubt compiling a first program

2005-06-22 Thread Adolfo Eloy
Hello, My name is Adolfo, from Brazil, and I'm newbie developing with GTK+. I've installed the devel packages in my house which comes with Fedora Core 3. I've exported the variable CPATH with the locations of libraries and I've compiled using the statement below: gcc -o base teste_gtk.c `pkg-con

crosscompile Gtk+ Glib atk pango for MIPS

2005-06-22 Thread Albrecht Ellinger
Hello!   I tried to mipsel-linux-gcc glib but with a _SSIZE_MAX define error in the file giounix.c  .   What do I have to do to avoid this error?   I tried to #include some <… .h> files but with no luck.   I think there is something POSIX specific missing on my system.   Thank you

no text output on win32

2005-06-22 Thread claude . pomalo
hello i am try to build a linux app on win32 with gtk2 i have made some change and build it without problem. the app run without error but i have no text drawing. the following function draw text. it work fine on linux. voiddraw_layout_text1(int x, int y, char *text, int fsmall) { GdkRect