Re: Packaging a theme with an App

2008-05-23 Thread Christophe Dehais
I don't have any specific answer to that, but maybe you could check how Ardour [1] does that. cheers, Christophe [1] http://ardour.org/ On Thu, May 22, 2008 at 4:11 PM, Aron Rubin <[EMAIL PROTECTED]> wrote: > I have a win32 Gtk app and I would like to package a theme with the installer. > Is th

Re: Button from an image (round Button)

2008-02-29 Thread Christophe Dehais
2008/2/29 Demetris Zavorotnichenko <[EMAIL PROTECTED]>: > > I want to create a keypad with 34 buttons > > So I create the buttons in a loop. > > And assign a callback function to the button > > But I have only 1 callback function and 34 buttons so how do I know which > button has been pressed in th

Re: Tags that are links in a GtkTextView

2007-03-23 Thread Christophe Dehais
notified of all motion events. Christophe On 3/23/07, Christophe Dehais <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to make some GtkTextTag behave like links (as Tomboy does) > in a GtkTextView. > > I understand that tags are forwarded various events via the &qu

Tags that are links in a GtkTextView

2007-03-22 Thread Christophe Dehais
Hello, I'm trying to make some GtkTextTag behave like links (as Tomboy does) in a GtkTextView. I understand that tags are forwarded various events via the "event" signal, but I can't get how to make the mouse cursor change. I have looked at Tomboy code, I can't see this being made explicitely any

Re: GtkScale widget mouse events on thumb

2007-02-05 Thread Christophe Dehais
I thought of recomputing the thumb shape and position based on the style information and then comparing to the event coordinates. Christophe. On 2/5/07, Tristan Van Berkom <[EMAIL PROTECTED]> wrote: > On Wed, 2007-01-31 at 20:54 +0100, Christophe Dehais wrote: > > Hi list! >

GtkScale widget mouse events on thumb

2007-01-31 Thread Christophe Dehais
Hi list! Does someone know if it is possible to receive (or filter) button pressed events received on a GtkScale thumb only ? Thanks for any help, Christophe ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: ComboBox using multi columns TreeModel

2006-09-25 Thread Christophe Dehais
); gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo), text_renderer, "text", NAME_COLUMN, NULL); Christophe On 9/24/06, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote: > On Sun, Sep 24, 2006 at 03:36:31PM +0200, Christophe Dehais wrote:

Re: ComboBox using multi columns TreeModel

2006-09-24 Thread Christophe Dehais
(sorry for the previous incomplete message) So, is this possible ? I can't see anything equivalent to the gtk_combo_box_entry_set_text_column () function for a simple gtk_combo_box widget. Thanks Christophe. On 9/24/06, Christophe Dehais <[EMAIL PROTECTED]> wrote: > H

ComboBox using multi columns TreeModel

2006-09-24 Thread Christophe Dehais
Hi, Is this possible ? I can't see something equivalent to the ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

gdk_pixbuf_composite issues

2006-09-02 Thread Christophe Dehais
Salut! I'm trying to reproduce a very popular image effect these days, where the image seems to levitate above a reflective ground. So I build a GdkPixbuf and I first render my image on it (which is scaled to fit inside). Then I have to draw the reflection, which is the same image but flipped ver

Where are the pixels ?

2006-08-07 Thread Christophe Dehais
hi list!So in gtk, a UI is a hierarchy of nested widgets, and the nodes of this "tree" are container elements. Some widgets have an associated GdkWindow, some don't.What is not clear to me is whether or not a GdkWindow contains the real pixels in some way. Let's assume this scenario: a window is cr

Re: Small app for previewing gtk widgets

2006-04-16 Thread Christophe Dehais
uca Cavalli wrote:> On Sat, 2006-04-15 at 17:34 +0200, Christophe Dehais wrote: > > hello everyone,> >> > It seem that there exists a small app that shows all the main GTK+> > widgets> > in a single window, but I can't find it and none of my google searches > >

Small app for previewing gtk widgets

2006-04-15 Thread Christophe Dehais
hello everyone,It seem that there exists a small app that shows all the main GTK+ widgetsin a single window, but I can't find it and none of my google searches helped.Is anyone as a link for this ? thanks,Christophe ___ gtk-list mailing list gtk-list@gnom