helpme starting to develop applications with GTK+

2006-01-31 Thread i VS 미솔리
hi everyone. now i'm starting to develop application with GTK+ to support cross platform(unix-like system,mac-os,windows). so i will tend to use a mingw and msys on windows(xp-sp2). first, i try to build and compile GTK+(2.8.9) on msys. previously i unzip GTK+ source to '/sdk/gtk/' that i m

GtkImage redraw "issues"

2006-01-31 Thread Gravis Zero
problem: so im using a GdkPixmap as a backend for a GtkImage. the problem im having is that they are not redrawing. hell, i dont know if they are ever drawing. im not loading from an image file, the pixmap is created manually. additionally, the pixmap gets altered and the GtkImage needs to be

Re: GTK and threaded applications

2006-01-31 Thread Michael L Torrie
On Tue, 2006-01-31 at 18:28 +0100, kornelix wrote: > Following the guidelines in the FAQ, I constructed my application > threads as follows: > >gdk_threads_enter();// enter thread > (do some work, including GTK calls) >gdk_flush();// e

filechooserdialog

2006-01-31 Thread Alexander Nagel
Hi all, i use GtkFileChooserButton/GtkFileChooserDialog in my app and it seems that the user can choose only files OR directories. Is there a way to let the user select both? greets Alex ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: GTK and threaded applications

2006-01-31 Thread Tristan Van Berkom
kornelix wrote: Following the guidelines in the FAQ, I constructed my application threads as follows: gdk_threads_enter();// enter thread (do some work, including GTK calls) gdk_flush();// exit thread gdk_threads_leave(); return 0; N

Re: images inside labels

2006-01-31 Thread devel
You guys are going to kill me. I have figured it out, with the help of all of you. The biggest thing was not actually showing the hbox (thx Hazael, sorry Paul). I was figuring, I guess that doing gtk_widget_show_all(window) would be enough to show "everything". I was mistaken. Below is a snip of t

GTK and threaded applications

2006-01-31 Thread kornelix
Following the guidelines in the FAQ, I constructed my application threads as follows: gdk_threads_enter();// enter thread (do some work, including GTK calls) gdk_flush();// exit thread gdk_threads_leave(); return 0; Now my multi-thr

Re: images inside labels

2006-01-31 Thread Hazael Maldonado Torres
Hi there I had done something similar but adding a label+button. Below you can find the code I used. hbox2 = gtk_hbox_new (FALSE, 4); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 0), hbox2); label4 = gtk_label_new (_(

Re: images inside labels

2006-01-31 Thread devel
Ok, maybe I'll try just that. It'll have to wait though, going on with the more important details of the app. This is more of a cosmetic thing. But I still want to do it, more for the fact that I tried it and couldn't get it to work and I know it should, somehow. I'll post back when I try it aga

Re: images inside labels

2006-01-31 Thread Brian
On Mon, 2006-30-01 at 17:09 -0500, devel wrote: > Yes, I have been using gtk_widget_show_all(). However, I still haven't been > able to perform this even with an eventbox. Well, its monday, nothing works > right on the 1st day of the week anyway. Thanks. > > Travis > Well, I've done it over a y

Pango-1.11.3 released [unstable]

2006-01-31 Thread Behdad Esfahbod
Pango-1.11.3 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.9/ pango-1.11.3.tar.bz2md5sum: 2a73f535c07b187503e4610bb1b5a972 pango-1.11.3.tar.gz md5sum: 1f7d3b89355776d24cf33619dea5f1e2 This is a development release leading up to Pango-1.12.0, which will be released just

Re: images inside labels

2006-01-31 Thread Stefan Kost
Uhm, wrong, the event box is needed to have tooltips for tabs. The image+label works without too. sorry. Stefan Tristan Van Berkom wrote: Stefan Kost wrote: hi, you need to put in an event box first. the tab has no window. eventbox(hbox(icon,label)) Hmmm, are you certain of this ? I