Hot keys...

2004-08-17 Thread Andreas LÃ¥ng
Hello, Ihave a question regarding "hot keys" or what they should be called. I have created a menubar whitch contains a menuItem called Edit that is created like this: gtk_menu_item_new_with_mnemonic("_Edit");. Now I can acess this Edit menu by pressing e . Now I wonder if there is any way that I ca

Re: Transparent Borderless Window

2004-08-17 Thread srinivas
Hai Richard You can use gdk_window_set_decorations(window->window, 0), or gtk_widget_shape_combine_mask(window, mask, 0,0). first one will remove the border from the window. second one will mask oout everything excep for them image itself. For good example see the wheelbarrow.c example, I think it

GdkBitmap

2004-08-17 Thread Richard Plana
Hi, Could someone explain the GdkBitmap structure? I need to create a shaped window which requires a bitmap of the transparent and visible (0 and 1) pixels of a window as a GdkBitmap, but the API reference guide doc has nothing on its format. The only bit of info I've found on the Internet is a

Re: AIX glib compile error message "gettext not found"

2004-08-17 Thread Christer Palm
Salman Mohsin wrote: After doing what Daniel asked me to do (setting environment variables), configure went a few steps further but again gave the same error: ... configure:6318: checking for bindtextdomain in -lintl configure:6348: cc -o conftest -I/usr/local/include -I/usr/local/include -L/us

GTK+ email apps?

2004-08-17 Thread Kent Sandvik
Hi, I'm trying to find one or two GTK+ 2.x based email apps, open source, that have no GNOME dependencies (for cross-compilation). Also they should be GTK+ 2.x based. Looked at Freshmeat, but could not find anything suitable, gtkmail is gtkmm based... Any info appreciated, thx, Kent

Re: Ugly close tab buttons in many themes

2004-08-17 Thread Sven Neumann
Hi, Brad Griffith <[EMAIL PROTECTED]> writes: > With many GTK themes, the close button on tabs obscures the icon quite a > bit, which is a very ugly sight (see > http://ficusplanet.spymac.net/tabs.png). Does anyone know why this > happens and/or how I can fix it? Thanks for any help. Close butt

Re: AIX glib compile error message "gettext not found"

2004-08-17 Thread Salman Mohsin
After doing what Daniel asked me to do (setting environment variables), configure went a few steps further but again gave the same error:   checking for perl... /usr/bin/perlchecking for iconv_open... nochecking for libiconv_open in -liconv... nochecking for iconv_open in -liconv... yeschecking how

Unable to find GTK Libraries

2004-08-17 Thread Dilip Sundarraj
Hi, I'm trying to install gscanbus to test if my IEEE1394 camera has been setup properly in my Red Hat 8.0 box. Unfortunately, I'm getting the following error during the ./configure step. However, when I installed "coriander" which is another ieee1394 application, it passes this step successfully

Ugly close tab buttons in many themes

2004-08-17 Thread Brad Griffith
With many GTK themes, the close button on tabs obscures the icon quite a bit, which is a very ugly sight (see http://ficusplanet.spymac.net/tabs.png). Does anyone know why this happens and/or how I can fix it?  Thanks for any help. Cheers, Brad ___

Re: gtk_option_menu

2004-08-17 Thread Sven Neumann
Hi, Carine Andersson <[EMAIL PROTECTED]> writes: > Is there anyway to get a gtk_option_menu to show its contence (the > menu items) without clicking on it with a pointing device such as a > mouse? Focus the menu, press Space. Sven ___ gtk-list mailin

Re: AIX glib compile error message "gettext not found"

2004-08-17 Thread Daniel Nilsson
On Mon, Aug 16, 2004 at 08:59:37AM -0700, Salman Mohsin wrote: > Hi, > > I'm trying to compile glib on my AIX 4.3.3 machine. When I run "configure", it gives > an error message after a few checks, saying: > > checking for locale.h... yes > checking for LC_MESSAGES... yes > checking libintl.h u

[ Problem solved ] About GtkCurve

2004-08-17 Thread dupont durand
[...]>A loop is running in a separate thread and gets information given by an >external counter, in order to draw a curve on screen using a GtkCurve >object.>In fact I have some refresh problems. Considering T is current time, >gtk_curve_set_vector displays vector(T) two or three times >consecutive

Re: retrieve all entries from a GtkComboBox?

2004-08-17 Thread Jan-Marek Glogowski
> > You should be able to get the model (gtk_combo_box_get_model()) > > and iterate over that (gtk_tree_model_foreach()) > > Yes, but how does that give access to the lines of text that where > previously appended/inserted/etc. to the model? gchar* cell_string; gtk_tree_model_get (model, iter, 0,

AIX glib compile error message "gettext not found"

2004-08-17 Thread Salman Mohsin
Hi,   I'm trying to compile glib on my AIX 4.3.3 machine. When I run "configure", it gives an error message after a few checks, saying:   checking for locale.h... yeschecking for LC_MESSAGES... yeschecking libintl.h usability... nochecking libintl.h presence... nochecking for libintl.h... noconfigu

gtk_option_menu

2004-08-17 Thread Carine Andersson
Hello all, Is there anyway to get a gtk_option_menu to show its contence (the menu items) without clicking on it with a pointing device such as a mouse? I've tried to set focus to it in combination with pressing enter but nothing seems to help. It just looks like when you press a GtkButton but

Re: retrieve all entries from a GtkComboBox?

2004-08-17 Thread Franz Parzefall
On 2004.08.17 14:58 Matthias Clasen wrote: You should be able to get the model (gtk_combo_box_get_model()) and iterate over that (gtk_tree_model_foreach()) Yes, but how does that give access to the lines of text that where previously appended/inserted/etc. to the model? May be I'm a bit slowminde

retrieve all entries from a GtkComboBox?

2004-08-17 Thread Franz Parzefall
Hi, I have read any piece of doc I have found, but didn't find anything useful, so I finally choose to bug the list: Is there a way to retrieve the whole list of entries from a GtkComboBox that was created with gtk_combo_box_new_text()? If I did the creation myself it wouldn't be a problem to keep

gtk_widget_add_accelerator

2004-08-17 Thread Pramod Patangay
Hi All, I am having trouble with adding acclerators. I want the "Shift Ctrl Minus" key to map to some event. Here's what I am doing: gchar * label = ...; GtkWidget *menuItemWidget = gtk_menu_item_new_with_mnemonic(label); ... GdkAccelGroup *accel = ... ; AccelKey = 45; //for "-" key accelMod =

SDL and GTk: keycodes differents

2004-08-17 Thread Guillaume Desmottes
Hi! I'm making a GTK interface for a SDL program (GnomeBoyAdvance [1]). I get keycodes with GTK to configure the keys binding. The problem is that the GTK and SDL keycodes seem to be differents for a lot of keys. For exemple the directional arrows, numpad, ... I'm searching a way (a rules?) to con