Customizing GtkFileChooserDialog

2007-05-28 Thread Olivier Guilyardi
Hi, I need to add some extra saving options to a GtkFileChooserDialog. In this purpose I'm trying to access its vbox with: GtkWidget *label = gtk_button_new_with_label ("test"); gtk_container_add (GTK_CONTAINER (GTK_DIALOG (file_chooser_dialog)->vbox), label); But it has no effect and produces

Re: Customizing GtkFileChooserDialog

2007-05-28 Thread Olivier Guilyardi
Emmanuele Bassi wrote: > On Mon, 2007-05-28 at 17:51 +0200, Olivier Guilyardi wrote: >> >> I need to add some extra saving options to a GtkFileChooserDialog. In this >> purpose I'm trying to access its vbox with: >> >> GtkWidget *label = gtk_button_new_wit

Re: How to create unique widget when reusing widget id's from a GladeXML object.

2008-08-12 Thread Olivier Guilyardi
rmance, from the liblglade manual : "the XML parse tree is cached to speed up creating another GladeXML object for the same file". Regards, -- Olivier Guilyardi / Samalyse ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Drawing widget parts off-screen

2008-08-28 Thread Olivier Guilyardi
Window instead of my GdkPixmap. This should work, since all the gdk drawing functions I use expect a GdkDrawable. Is it the right way to do this? Isn't drawing on a GdkWindow heavier, because it implies interactions with X11 (or Quartz, whatever)? Regards, -- Olivier Guilyardi / Samalyse _

Size negotiation and initial top-window size

2008-09-09 Thread Olivier Guilyardi
quite good result on X11, but is a bit hackish, and doesn't work very well on Gtk+-Quartz. Isn't there a way for a widget to say "I would like this size, but I can shrink" during the size negotiation process ? Regards, -- Olivier Guilyardi / Samalyse _

Re: Size negotiation and initial top-window size

2008-09-11 Thread Olivier Guilyardi
Nikolaj Thygesen wrote: > Olivier Guilyardi wrote: >> Hi all, >> >> Isn't there a way for a widget to say "I would like this size, but I >> can shrink" >> during the size negotiation process ? >> >> Regards, &g

Single letter accelerator and GtkEntry

2009-04-28 Thread Olivier Guilyardi
o and hack something... When the GtkEntry is focused, wouldn't there be a clean way to make it handle the keys and stop event propagation? -- Olivier Guilyardi / Samalyse ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http:/

Re: Single letter accelerator and GtkEntry

2009-04-28 Thread Olivier Guilyardi
Tristan Van Berkom wrote: > On Tue, Apr 28, 2009 at 10:34 AM, Olivier Guilyardi wrote: >> Hi, >> >> I'm working on an audio app. In my menu I have single letters accelerators >> such >> as Z or space, which are 100% needed for consistency with other aud

Re: GTK clipboard on OS X

2009-07-18 Thread Olivier Guilyardi
On 07/18/2009 05:01 AM, Allin Cottrell wrote: > In some contexts my GTK app offers the user the opportunity to > copy chunks of output to the clipboard as RTF. This is primarily > intended for use on MS Windows, but it also works fine for pasting > into (e.g.) an OpenOffice text document on Linux.

Re: GTK clipboard on OS X

2009-07-18 Thread Olivier Guilyardi
On 07/18/2009 10:39 PM, Olivier Guilyardi wrote: > On 07/18/2009 05:01 AM, Allin Cottrell wrote: >> In some contexts my GTK app offers the user the opportunity to >> copy chunks of output to the clipboard as RTF. This is primarily >> intended for use on MS Windows, but i

Re: Copying widgets

2009-07-18 Thread Olivier Guilyardi
On 07/13/2009 04:00 AM, Jim George wrote: > On Sun, Jul 12, 2009 at 3:46 PM, Tristan Van Berkom wrote: >> On Sun, Jul 12, 2009 at 3:27 PM, Jim George wrote: >>> Hi all, >>> I'm writing a program that, like gimp, has a control window, from >>> which users can open one or more viewer windows that pre

Re: GTK clipboard on OS X

2009-07-20 Thread Olivier Guilyardi
On 07/20/2009 02:48 AM, Allin Cottrell wrote: > I can report a bit more about GTK, RTF and the clipboard on OS X. > The main limitation on what I have to say is that I'm relying on > the "gtk2-framework" distribution prepared by I-don't-know-who, > available at http://r.research.att.com/ , which i

Spin buttons stepping by random value

2005-03-15 Thread Olivier Guilyardi
Hi, I'm the developer of Jackbeat, an Audio Sequencer at http://xung.org/jackbeat I'm having a problem with spin buttons which I use for resizing the sequence structure Jackbeat relies on. When for example, I want to increase the tracks number by clicking my spin buttons (there's a screenshot at

Fancy progress bar

2005-03-25 Thread Olivier Guilyardi
Hi, Is there any reusable widgets out there, for displaying progress status in an original/fancy/funny way ? -- og ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list