Strange combo box

2005-06-17 Thread ramare
Dear all, I have a smmoth combo_box, created withthe_one = gtk_combo_box_new_text(); I fill it with gtk_combo_box_append_text( GTK_COMBO_BOX( the_one ), nom); And what I get is indeed a combo_box, but, but All items are on alist (that's normal) The background of this

Re: spanned table cell expansion

2005-06-17 Thread Karl H. Beckers
Aahh, so what you're suggesting is (in my case) remove the expand bits from the hscale and entry and put an invisible dummy widget in the middle column with expand set will try that. Karl. that works like a charm and will do nicely as a workaround, thanks. Karl.

Re: spanned table cell expansion

2005-06-17 Thread Karl H. Beckers
Alem Dain schrieb: On 6/17/05, Karl H. Beckers <[EMAIL PROTECTED]> wrote: ... that sounds promising ... though I can't quite claim to understand why this helps, yet. Well, my guess is that the table will grow any column that has a widget in it which has GTK_EXPAND set. So just make s

Re: (pango_shape): assertion failed: (glyph->num_glyphs > 0)

2005-06-17 Thread Mark Ivey
I saw a very similar error message when using PyGtk & py2exe on windows...perhaps it is something similar. I was using py2exe to package up all the files needed to run my PyGtk program, including DLLs. It was copying the Pango DLL from my Gtk installation but not some of the data files Pango need

Re: spanned table cell expansion

2005-06-17 Thread Alem Dain
On 6/17/05, Karl H. Beckers <[EMAIL PROTECTED]> wrote: > ... > that sounds promising ... though I can't quite claim to understand why > this helps, yet. Well, my guess is that the table will grow any column that has a widget in it which has GTK_EXPAND set. So just make sure that only the columns

Background Image for GtkFixed

2005-06-17 Thread Rodrigo Vaz
Hi folks, good afternoon (for who is in the afternoon :) I would like to know it does anyone know about set a background pixmap for a Fixed container , i'm trying to set this background using bg_pixmap for a specific name in the gtkrc that was set by gtk_widget_set_name. Using bg_pixmap for the w

Re: spanned table cell expansion

2005-06-17 Thread Karl H. Beckers
Christopher Anderson schrieb: Could you post a bit of code so we can get a better idea of what's going on? Chris Sure thing, you can find the glade stuff and the C code glade produces from it here: http://www.jarre-de-the.net/computing/gtk/ Thanks, Karl. __

Re: remove some of the buttons in the decoration of the window

2005-06-17 Thread Alem Dain
On 6/17/05, y g <[EMAIL PROTECTED]> wrote: > ... > Btw is it possible to "redirect" the destroy event to a hide event > when the X button in the decoration frame is clicked? I tried doing so > by using a signal handler to the object destroy signal but no luck. > Even setting the property of auto-d

Re: spanned table cell expansion

2005-06-17 Thread Alem Dain
Hmm. Well, if you didn't care about resizing the window/table, then I would suggest you use GTK_FILL for the xoptions. If you use GTK_EXPAND as an xoption for, say, the hscale, then the two columns containing the hscale will expand uniformly. Okay, that was me making sure I understand the questi

Re: gtkfilechooser buttons

2005-06-17 Thread Carlo Agrusti
Gyözö Both ha scritto lo scorso 17/06/2005 16:49: You can consider using a dinamically generated filechooser, instead of a statically generated one (i.e. that created by Glade) by means of gtk_file_chooser_dialog_new; in this way, you can select a GTK_FILE_CHOOSER_ACTION_OPEN behaviour or a GTK

Re: spanned table cell expansion

2005-06-17 Thread Christopher Anderson
Could you post a bit of code so we can get a better idea of what's going on? Chris On 6/17/05, Karl H. Beckers <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm having this effect where my table cells aren't expanding as I expect > them to. If somebody could shed some light here (perhaps provide a >

Re: how to assign full access rights to guest

2005-06-17 Thread John K Luebs
On Thu, Jun 16, 2005 at 02:38:24PM +0530, harshavardhanreddy mandeepala wrote: > hi > I am using Linux fedora core 3. > I want to shutdown the system from .bash_profile file using > cd /sbin > ./shutdown -g o > but when I run the file otherthan a superuser it is giving error message as >

[Fwd: RE: entry widget signal]

2005-06-17 Thread Claudio Saavedra
-- Claudio Saavedra <[EMAIL PROTECTED]> ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkListStore and Threads problems

2005-06-17 Thread Owen Taylor
On Fri, 2005-06-17 at 11:56 -0300, Lorena Salinas wrote: > gdk_threads_leave(); /* release GTK thread lock */ > pthread_mutex_unlock(&mutex); > > > while (valid) { > > gtk_tree_model_get (GTK_TREE_MODEL (model), &iter, > TEST_COL_5,&status, And it surprises you that this doesn't work? All

Re: GtkListStore and Threads problems

2005-06-17 Thread Lorena Salinas
Here is a test that I've run using gdb and had the following error: Gtk-ERROR **: file gtksequence.c: line 760 (_gtk_sequence_node_find_by_pos): assertion failed: (node->parent != NULL) aborting... any help? Regards, Lorena #include #include #include #include #include #define STATUS_NO

Background Image for GtkFixed

2005-06-17 Thread Rodrigo Vaz
Hi folks, good morning (for who is in the morning :) I would like to know it does anyone know about set a background pixmap for a Fixed container , i'm trying to set this background using bg_pixmap for a specific name in the gtkrc that was set by gtk_widget_set_name. Using bg_pixmap for the whole

remove some of the buttons in the decoration of the window

2005-06-17 Thread y g
Hello, I was looking the documentation of the GtkWindow and I cannot find anything on how to hide/insensitive the buttons on the decoration frame (min, max, destroy). However, the about dialog widget has only one destroy button so there should be a way of hiding them. Does anyone have a clue? Btw

Re: gtkfilechooser buttons

2005-06-17 Thread Gyözö Both
> You can consider using a dinamically generated filechooser, instead > of a statically generated one (i.e. that created by Glade) by means > of gtk_file_chooser_dialog_new; in this way, you can select a > GTK_FILE_CHOOSER_ACTION_OPEN behaviour or a > GTK_FILE_CHOOSER_ACTION_SAVE one, depending on

Re: GtkButton set pressed

2005-06-17 Thread y g
On 6/17/05, Jirka Pirko <[EMAIL PROTECTED]> wrote: > > it works fine to me - BUT if i have button in fixed contrainer i don see > (event handlers are called properly) the button pressed (only if i have > mouse over) - elsewhere it works ok > > Jirka has just described the problem. I wanted to "s

Re[2]: Global Hot Keys

2005-06-17 Thread Karl H. Beckers
Message: 2 Date: Fri, 17 Jun 2005 14:01:00 +0400 From: andrey <[EMAIL PROTECTED]> Subject: Re[2]: Global Hot Keys To: [EMAIL PROTECTED] Cc: gtk-app-devel-list@gnome.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=koi8-r Hi as i understood it will work only for *nix system

spanned table cell expansion

2005-06-17 Thread Karl H. Beckers
Hi all, I'm having this effect where my table cells aren't expanding as I expect them to. If somebody could shed some light here (perhaps provide a workaround) that would be most welcome. I have reduced this to the max. Let's say we have this table with 3 columns and 2 rows where in each row

RE: Problem with GTK

2005-06-17 Thread Simith Nambiar
Maybe you have some stale iconv.dll , that is what i realised after googling ! Try : http://www.google.co.in/search?hl=en &q=libiconv_set_relocation_prefix+&btnG=Google+Search&me

RE: Problem with GTK

2005-06-17 Thread Jagadish K , Bangalore
Hi, Any suggestion will be very much helpful to me. With Regards, Jagadish.K -Original Message- From: Jagadish K , Bangalore Sent: Thursday, June 16, 2005 10:00 PM To: '[EMAIL PROTECTED]' Subject: FW: Problem with GTK Hi, All files are in the lib directory, no file was missing.

Re: New computer

2005-06-17 Thread andrey
Hi at first may be c:/Gtk/lib does not contain gtk-win32-2.0.lib libgtk-win32-2.0.dll.a or something wrong with your path (sorry for my english) -Original Message- From: Alf Stockton <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Date: Fri, 17 Jun 2005 15:15:57 +0200 Subject: New

RE: radio button size

2005-06-17 Thread Boncek, John
So much for resizability. What about color control of the button? I have found by heavy experimentation that the color of the active dot can be set by gtk_widget_modify_text and the color of the background behind the dot by gtk_widget_modify_base. Is there any way to control the color of the cir

New computer

2005-06-17 Thread Alf Stockton
I have just switched machines on which to do my Windows GTK+ development on on copying an existing program and its environment and attempting to do a make I get the following error and obviously I have forgotten to do something, but cannot for the life of me think what has not been done. gcc

Saving RGB or Grayscale images from GdkPixBuf

2005-06-17 Thread Michal Porzuczek
Hi I was wondering if gdk_pixbuf_save supports saving RGB or Grayscale images. I have attempted to use the add_if_writiable function that is specified in the api reference but I just get gibberish so I don't think I'm doing it right. I have tried to save RGBs by making the type "RGB"but not know

example treeview of Thunderbird

2005-06-17 Thread Colossus
Hi, is there an example on the internet on how to create a treview like the one of thunderbird (I mean the left side that contains the local folder) ?? And what about the left side of the window that appears when you click on Edit/Preferences (always of Thunderbird) ?? Thank you, -- Colossus

Re[2]: Global Hot Keys

2005-06-17 Thread andrey
Hi as i understood it will work only for *nix systems, i.e. not win32. I want to make my programm cross-platform, for example on gtk-library. (sorry for my english) Thanks. -Original Message- From: "Alex Levin" <[EMAIL PROTECTED]> To: "Andrey K" <[EMAIL PROTECTED]>, Date: Thu, 16 Jun 200

Re: gtkfilechooser buttons

2005-06-17 Thread Carlo Agrusti
Gyözö Both ha scritto lo scorso 17/06/2005 09:15: hi, i've created a filechooserdialog with glade, the default mode is open. now i want to save files, too, so i create the window and set the mode to save. everything works fine, but the button that confirms things still reads 'open' (with the de

gtkfilechooser buttons

2005-06-17 Thread Gyözö Both
hi, i've created a filechooserdialog with glade, the default mode is open. now i want to save files, too, so i create the window and set the mode to save. everything works fine, but the button that confirms things still reads 'open' (with the default open pixmap, a folder image). shouldn't that b