GdkPixmap to Bitmap

2005-05-04 Thread Dina
Hi, We are working on gtk+2.0/gnome libraries. We hv created a GdkPixmap object which is displayed in the window. Now, I need to convert the pixmap to a bitmap and store it in a file as .bmp . Can someone help in converting it and storing it as a file.? Thanks

Can't display image: fixed!

2005-05-04 Thread Paul Santa Maria
Hi - I just answered my own question: 1. I need to *keep* the GKT+ image I allocated when the program started 2. I simply need to call gtk_image_set_from_pixbuf () to assign it the new pixbuf from the new file. Everything is working fine now! ___

Can't get image to display!

2005-05-04 Thread Paul Santa Maria
Hi - I know this has a really, really simple answer, but... 1. I have a GTK+ file viewer application that needs to handle multiple different image file types (.jpg, .png, proprietary, etc etc) 2. When the user clicks the "File, Open" menu option, I pop up a GtkFileSelection dialog

using mark-up in a combobox

2005-05-04 Thread Ron Lockwood-Childs
Hello, I have an application in which it would be useful to display some entries within a combobox in bold type. I have figured out how to do this with toggle buttons (get the label and turn on markup with gtk_label_set_use_markup( label, TRUE )). However, I haven't found in the tutorials or

Re: help_focusRectangle

2005-05-04 Thread Antonio Gomes
Hi Ashok, One possible solution is to use a theme the already provides it ( draw a yellow rectangle around above the focused widget) or customize one. I can not give you more details , because i've never did anything related ... i did implement just switches between application themes using existi

Disable default popup menu in gtk_entry

2005-05-04 Thread Jérôme COUDERC
Hi, I've just a simple question : how can I remove the default popup menu attached to a gtk_entry_new? Indeed, in some cases I don't want to display it... Regards, Jerome ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.

GtkTreeView X GtkCTree

2005-05-04 Thread André Pedralho
Hi all, I'm updating my app code that used to use a GtkCtree implementation... So, how I said, I'm updating it and GtkCtree is deprecated. The solution finded was use GtkTreeView, GtkTreeModel, GtkTreeStore and GtkTreeSignal to do almost everything we used to do with GtkCTree... After a great battl

Re: GtkTreeView SIGNALS

2005-05-04 Thread André Pedralho
I was using this for selecting, but I need to use the same selected value in more than one functions and was getting a segmentation fault cause of that... (I don't know why...). Now I'm using the 'changed-cursor' signal and some functions of GtkTreeSelection to get the rows selected values, but I d

Re: GtkTreeView SIGNALS

2005-05-04 Thread Denis
André Pedralho wrote: I'm trying to use the single click on a GtkTreeView. Is there a way for me? The row-activated signal is activated with a double click... I'm needind one that is launched with just one click! Thanks in advance, What about using GtkTreeSelection ? For input on how to use it,

Re: What is "map-event"?

2005-05-04 Thread Tim Müller
On Wednesday 04 May 2005 09:20, ìëí wrote: Hi, > Would you explain what the âmap-eventâ is? > > When does it occur? http://developer.gnome.org/doc/GGAD/z57.html#SEC-REALIZINGSHOWING has a nice explanation. Cheers -Tim ___ gtk-app-devel-list mailing

What is "map-event"?

2005-05-04 Thread 윤민홍
Hello? Would you explain what the ‘map-event’ is? When does it occur? I’m watching a GPE application now. In the application, the event is used for making window transparent. --- Embedded S/W Research Division, ETRI Tel: +82-42

Re: opengl/sdl

2005-05-04 Thread Carsten Burstedde
> is there a way to map a sdl window or opengl window into a gtk object. > I am working on an mp3 player and want to put some graphics in my app > that change to the beats. You can use http://gtkglext.sourceforge.net/ then you do not even need SDL any more (besides, I do not know how to combine SD

Re: opengl/sdl

2005-05-04 Thread Luca Cappa
Hello Timoty, you could use http://gtkglext.sourceforge.net Greetings, Luca timothy johnson wrote: is there a way to map a sdl window or opengl window into a gtk object. I am working on an mp3 player and want to put some graphics in my app that change to the beats. _

opengl/sdl

2005-05-04 Thread timothy johnson
is there a way to map a sdl window or opengl window into a gtk object. I am working on an mp3 player and want to put some graphics in my app that change to the beats. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/m