Pixmap question?

2002-10-16 Thread anukeey
Hi all: I have two questions about pixmap usage: 1. How could I set a pixmap as background image of a window? I had tried it use GtkPixmap, but as I put some widget on it, the Glade will show error about it, how to do with this case? 2. As we know the widget size default is rectangle, so I usuall

Clist Titles - Pixmaps

2002-10-16 Thread David Swiston
Alright, so I have stuck a widget (pixmap) into my title, but it still has the annoying button background.  How do I get rid of that, is there function where I can give the Clist title shadow a property, say like GTK_SHADOW_NONE as you can w/labels and buttons?   I basically want to make a slick in

Re: g_object_get not get the string property?

2002-10-16 Thread German Poo Caaman~o
El mié, 16-10-2002 a las 15:02, German Poo Caaman~o escribió: > El mié, 16-10-2002 a las 05:53, hoyt escribió: > > [...] > > GtkWidget *window; > > GtkWidget *entry; > > gchar value[1024]; > > [...] > > g_object_get(G_OBJECT(window),"title",value,NULL); I forgot: gchar *tm

Re: g_object_get not get the string property?

2002-10-16 Thread German Poo Caaman~o
El mié, 16-10-2002 a las 05:53, hoyt escribió: > [...] > GtkWidget *window; > GtkWidget *entry; > gchar value[1024]; > [...] > g_object_get(G_OBJECT(window),"title",value,NULL); Try: gchar *value; [...] g_object_get(G_OBJECT(window), "title", &value

g_object_get not get the string property?

2002-10-16 Thread hoyt
hi gtk-list I have the following code, /** begin my code / #include int main(int argc,char **argv) { GtkWidget *window; GtkWidget *entry; gchar value[1024]; gtk_init(&argc,&argv); window = gtk_window_new(GTK_WINDOW_TOPL

Problem in installing gtk+-2.0.6 in Solari

2002-10-16 Thread vpdeguz
I have encountered a problem in installing gtk+ 2.0.6 in my system. My system is Sparc SunOS 5.5.1 with X11R5. The errors are: libgdk-x11-2.0.so: undefined reference to `XAddConnectionWatch' libgdk-x11-2.0.so: undefined reference to `XProcessInternalConnection' Upon looking in my X11R5 library,

Re: GTK+2.0 limit

2002-10-16 Thread Xavier Bestel
Le mar 15/10/2002 à 17:33, [EMAIL PROTECTED] a écrit : > On Tue, 15 Oct 2002 11:59:00 +0200, Xavier Bestel <[EMAIL PROTECTED]> said: > > is there a way to limit the API to the GTK+2.0 API subset ? Say I want > > to develop a GTK+2.0 compatible application, but my machine has a more > > recent ver

Re: "Wait" window doesn't appear!

2002-10-16 Thread Germano Rizzo
> and that should do the right thing. this has only been mentioned here > at least 4 dozen times ... :) Hm... sorry about this. It should be annoying, and I really should have known. Promise better for the future... ;-) mano PS: thanks for the advice! -- ~~~

Thread and create window

2002-10-16 Thread jlebra
Hi, I have read some FAQ to create a window with an other thread and I don't understand this problem: int main(int argc, char* argv[]) { poptContext pctx; g_thread_init(NULL); gnome_init_with_popt_table(PACKAGE, VERSION, argc, argv, options, 0, &pctx); app = avm_app_new(); gtk_widge

Re: "Wait" window doesn't appear!

2002-10-16 Thread Paul Davis
> I wrote the following code for a program of mine. It displays a "wait >till it's done" window, execute some operations, then destroy it. > >[...] > >wait = gtk_window_new (GTK_WINDOW_TOPLEVEL); >gtk_window_set_title (GTK_WINDOW (wait), _("Please wait...")); >gtk_window_set_transient_for (

g_thread_wait()

2002-10-16 Thread Germano Rizzo
in the documentation of g_thread_create () and g_thread_create_full () it's stated: "If joinable is TRUE, you can wait for this threads termination calling g_thread_wait(). Otherwise the thread will just disappear, when ready." Now, I can't find g_thread_wait anywhere; is it available?

"Wait" window doesn't appear!

2002-10-16 Thread Germano Rizzo
Hi! I wrote the following code for a program of mine. It displays a "wait till it's done" window, execute some operations, then destroy it. [...] wait = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_title (GTK_WINDOW (wait), _("Please wait...")); gtk_window_set_transient_for (GTK

Re: change text in button

2002-10-16 Thread calmar
Hi, Sven Neumann wrote: Hi, CAVEY GERARD <[EMAIL PROTECTED]> writes: Objet : change text in button something like this button->label ? Or maybe I need to create a new label, and 'give them the color and pack it' again into the button? @@ hi in fact the label of

Re: Problem with Thread to create a window

2002-10-16 Thread Paul Davis
>Hello, > >I have one problem with GTK+ : [ ... ] >What is the solution read the FAQ, and if thats not clear enough, search the archives of this list for the word "thread" and "problem". --p ___ gtk-list mailing list [EMAIL PROTECTED] http://m

Problem with Thread to create a window

2002-10-16 Thread jlebra
Hello, I have one problem with GTK+ : I have on application who run with different Threads. Every Thread read an input. I would like that: When a thread detect an error on input it appear a "MessageBox" to indicate this error. 1) But if I create the "MessageBox" with the thread, I have this e

Re: GdkPixmap and GtkDrawingarea

2002-10-16 Thread Sven Neumann
Hi, Olexiy Avramchenko <[EMAIL PROTECTED]> writes: > You have to be sure that your widget (GtkDrawingArea) was realized. > If not - all gdk stuff inside it is not allocated. > The simpliest way is to call gtk_widget_show(area) after area creation > (before all your drawlings). Olexiy is right h

Re: change text in button

2002-10-16 Thread Sven Neumann
Hi, CAVEY GERARD <[EMAIL PROTECTED]> writes: > Objet : change text in button > I can not change the color of the text (only when I click on the > butten..the 'markes' that the button is selected are 'red' then.) > How could I reach the label in the butten in order to change the color? > someth