Re: how to process only some GTK events and leave the others in the queue

2008-12-28 Thread Francesco Montorsi
Tristan Van Berkom ha scritto: On Sun, Dec 28, 2008 at 6:45 AM, Francesco Montorsi Is it possible? Hi, for some odd cases you can use: http://library.gnome.org/devel/gdk/stable/gdk-Events.html#gdk-event-put i.e. by pumping the events out of the event queue yourself, and putting the ones

how to process only some GTK events and leave the others in the queue

2008-12-28 Thread Francesco Montorsi
Hi, is it possible to process only some specific events from the GTK/GDK event queue and leave the others in the queue so they can be processed later by the main loop? I'll try to explain it better: I have a GTK-based app which runs the gtk_main() in its void main(). However at a certain p

Create a gtk_message_dialog parent-less but focused

2007-04-17 Thread Francesco Montorsi
Hi, I need to create a gtk_message_dialog with a NULL parent and then run it with gtk_dialog_run(). Unfortunately the result is a message dialog _without_ the focus (the WM draws the decorations with the "non-focused" window color)... how can I force the focus on that message dialog?

How to make sure a symbol is present in the library used at run-time

2007-04-17 Thread Francesco Montorsi
sure which lib is being used by my application? The only solution I can think of is parsing the /proc/self/maps resource and look at it... do you know a better solution? Thanks, Francesco Montorsi -- ___ gtk-app-devel-list mailing list gtk-app-

Re: GTK+ CVS access FAQ out of date

2007-04-09 Thread Francesco Montorsi
Hi, Tristan Van Berkom ha scritto: > IIRC it was discontinued recently (the cvs repo /was/ around > for a few months following the migration though). > > http://live.gnome.org/SubversionFAQ thanks! it would be nice to update also the FAQ on the www.gtk.org website :) Francesco -- __

GTK+ CVS access FAQ out of date

2007-04-09 Thread Francesco Montorsi
Hi, the only document I could find for checking out the CVS repo of GTK+ is this: http://www.gtk.org/faq/#AEN325 and it seems out of date since if I follow the istructions I get: [EMAIL PROTECTED]:~/work$ CVSROOT=':pserver:[EMAIL PROTECTED]:/cvs/gnome' [EMAIL PROTECTED]:~/work$ export CVSRO

Link and visited link colours for GtkLinkButton

2007-02-16 Thread Francesco Montorsi
Hi all, I'd like to change the GtkWidget::link-color and GtkWidget::visited-link-color colours for a particular GtkLinkButton... how do I do it? Thanks! Francesco -- Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ___

Re: cannot set tooltips over a picker widget?

2007-01-15 Thread Francesco Montorsi
Jim George ha scritto: >> If you know how to make it work automatically for >> GTK_NO_WINDOW widgets... > > I read that GtkLabel widgets don't have backing windows, for > performance reasons. I haven't read any such comment about, say, > GtkComboBoxEntry widgets. Maybe the documentation needs to b

reply-to for gtk-app-devel list (was Re: cannot set tooltips over a picker widget?)

2007-01-14 Thread Francesco Montorsi
Hi, Jim George ha scritto: > PS, sorry the mail didn't get sent to the mailing list last time. I > think the mailing list should set a "Reply-To" header pointing to > itself. Replying to the sender, rather than the list seems like too > common a mistake. I completely agree - for a development list

Re: cannot set tooltips over a picker widget?

2007-01-14 Thread Francesco Montorsi
Hi George, Jim George ha scritto: > I know that glade doesn't let you set tooltips for many different > controls (such as a GtkComboBoxEntry -- is this a bug?). My fix is to > put the combobox inside an event box and assign the event box a > tooltip. thanks for the advice - however I think that

cannot set tooltips over a picker widget?

2007-01-14 Thread Francesco Montorsi
GTK+ 2.10.3 Hi, I'm trying to set a tooltip on a GtkFileChooserButton widget without success... maybe it's simply not possible? I've done a minimal change to the attached pickers.c file of the "gtk-demo" app in order to show it... just drop it over your original one and recompile the gtk

How to resize a message dialog?

2006-11-01 Thread Francesco Montorsi
Hi, I need to display a GtkMessageDialog with some long string in it but they get all wrapped and so result in being almost unreadable. How can I disable line wrapping on a GtkMessageDialog? or alternatively: how can I make a GtkMessageDialog be bigger (horizontally)? I've tried to use gt

how to force a top level window to shrink

2006-10-28 Thread Francesco Montorsi
t_default_size() but there's no way to shrink programmatically that dialog window... I can just shrink it manually using the mouse. Any hint? Thanks a lot, Francesco Montorsi Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ___

how to set a plain colour in a GtkImage

2006-10-02 Thread Francesco Montorsi
Hi, I have a GtkImage which, in some cases, I need to set to the to a plain colour (e.g. set it entirely to yellow). I couldn't find any function in GdkPixbuf & GTK API to do it... What's the smartest way to do it ? Thanks! Francesco Chiacchiera con i tuoi amici in tempo reale! http://i

Re: runtime version symbols (was Re: gdkpixbuf-animation: how to play without looping)

2006-09-28 Thread Francesco Montorsi
[EMAIL PROTECTED] ha scritto: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, Sep 28, 2006 at 12:13:03PM +0200, Francesco Montorsi wrote: >> [EMAIL PROTECTED] ha scritto: > [...] >> yes, right. However GdkPixbufAnimation and its iter_advance() function &g

runtime version symbols (was Re: gdkpixbuf-animation: how to play without looping)

2006-09-28 Thread Francesco Montorsi
[EMAIL PROTECTED] ha scritto: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tue, Sep 26, 2006 at 06:45:22PM +0200, Francesco Montorsi wrote: >> Hi, >> I need to play a GdkPixbufAnimation without looping it. I.e. after >> the last frame is displayed,

gdkpixbuf-animation: how to play without looping

2006-09-26 Thread Francesco Montorsi
tion won't let me know that. How can I do ? Thanks a lot, Francesco Montorsi Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ___ gtk-app-devel-list mailing list gtk-app-devel-list

animated formats supported by gdk-pixbuf

2006-09-24 Thread Francesco Montorsi
Hi all, I couldn't find a list of image formats supported by gdk-pixbuf; in particular I'm interested to the animation formats it supports. Does anyone knows how can I find such list? Thanks, Francesco Montorsi Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.c

gtk_notebook_set_current_page and the switch-page signal

2006-09-06 Thread Francesco Montorsi
Hi all, I'd like to know how to change the currently selected page in a GtkNotebook *without* generating a switch-page signal. My switch-page handler in fact performs some code which should be executed only on user-actions, not on selection changes by GTK. Thanks! Francesco PS: is there

[pango] How to draw underlined spaces

2006-06-11 Thread Francesco Montorsi
Hi all, I know this list is devoted to GTK but I couldn't find any pango-specific list so I'm sending this here... Rendering a PangoLayout through gdk_draw_layout(), which contains a string with leading and/or trailing spaces, with an underlined font results in text correctly underlined exc

GtkFileChooserButton on grabbed windows

2006-05-10 Thread Francesco Montorsi
Hi, I'm using GtkFileChooserButton and I've found that if I call gtk_grab_add on the toplevel window containing that button, then the dialog shown by the button will be un-responsive while the main window will continue to handle user events (i.e. the dialog created by the dialog is not modal

GTK+ 2.8.17 and background colours

2006-04-21 Thread Francesco Montorsi
Hi, I'm struggling with my GTK+ (2.8.17 - coming with ubuntu dapper) to be able to set the background colour of a button. I've googled and searched the archives of this mailing list and I have found exactly same questions with attached test programs. I'm attaching two short, simple test pro