Re: How to make a button look like a treeview column title? [Was: How to use the treeview column title style for a button?]

2007-10-09 Thread Bastiaan Veelo
Kristian Rietveld wrote: On Mon, Oct 08, 2007 at 03:53:29PM +0200, Bastiaan Veelo wrote: Something like this seems to work for me: button = gtk_button_new_with_label (...); style = gtk_rc_get_style_by_paths (gtk_widget_get_settings (button),

Re: How to make a button look like a treeview column title? [Was: How to use the treeview column title style for a button?]

2007-10-09 Thread Bastiaan Veelo
Bastiaan Veelo wrote: The reason why this is not going to work (for the windows theme at least, GTK+ 2.10) is a hard-coded check on the type of widget-parent in draw_box() on line 1929 of msw_style.c: So I faked the parent widget through some evil hacking in the expose function below. It

Re: How to redraw the blanked section of a widget after a expose-event?

2007-10-09 Thread Arto Karppinen
krist misra wrote: Hi experts, I am using GTK+ and gstreamer to capture and show the video frames, I created a drawable widget using gtk_drawing_area_new() and using xvimage element of gstreamer to render the video, I also connected them by a gstreamer function

Re: timeout function not called

2007-10-09 Thread v_wishful
Thanks James, Sorry, I didn't mean to seem like I was ignoring you, but the code I am working on is part of a bigger application and I wasn't sure how to extract the bit I was working on into a usable piece. I was also looking into using GIOChannels to see if I could make that work. Thanks

GtkPageSetupUnixDialog and GtkPrintUnixDialog

2007-10-09 Thread Lance Dillon
GtkPageSetupUnixDialog and GtkPrintUnixDialog don't exist on my system, even though it seems that they should. Fedora 7 gtk2-2.10.14-3.fc7 gtk2-devel-2.10.14-3.fc7 Documentation (http://library.gnome.org/devel/gtk/unstable/GtkPageSetupUnixDialog.html) shows it was added in gtk+ 2.10.

glib delays using a monotonic timer

2007-10-09 Thread Cliff Brake
Is it possible to use a monotonic timer with glib delays -- for instance: g_async_queue_timed_pop g_timeout_add If I change the system time (Linux date command) in between when I call the above functions, and the timer is supposed to expire, the timer gets messed up by the system time change.

Re: GtkPageSetupUnixDialog and GtkPrintUnixDialog

2007-10-09 Thread Yeti
On Tue, Oct 09, 2007 at 10:26:30AM -0700, Lance Dillon wrote: GtkPageSetupUnixDialog and GtkPrintUnixDialog don't exist on my system, even though it seems that they should. They do. Fedora 7 gtk2-2.10.14-3.fc7 gtk2-devel-2.10.14-3.fc7 rpm -q gtk2-devel | grep unix should clarify things

Re: GtkPageSetupUnixDialog and GtkPrintUnixDialog

2007-10-09 Thread Lance Dillon
- Original Message From: David Nečas (Yeti) [EMAIL PROTECTED] To: gtk-app-devel-list@gnome.org Sent: Tuesday, October 9, 2007 1:36:55 PM Subject: Re: GtkPageSetupUnixDialog and GtkPrintUnixDialog On Tue, Oct 09, 2007 at 10:26:30AM -0700, Lance Dillon wrote: GtkPageSetupUnixDialog and

Re: GtkPageSetupUnixDialog and GtkPrintUnixDialog

2007-10-09 Thread Lance Dillon
WTF? If the Fedora 7 packages gtk2-2.10.14-3.fc7 gtk2-devel-2.10.14-3.fc7 *you* asked about are not provided by your Fedora 7, then at least one of us is confused. No, I meant the ones you referenced before: rpm -q gtk2-devel | grep unix [EMAIL PROTECTED] ~]# yum list|grep

Re: timeout function not called

2007-10-09 Thread JAMES SCOTT
Vicki, I though you might have been chopping something up, thats the reason for the quick samepl. I'm going to assume it worked for you and you understand why it works. As for GIOChannels, they are very handy and could be used in an elaborate scheme to get this simple thing done. James,

Re: using dbus in the platform

2007-10-09 Thread Havoc Pennington
Hi, Alp Toker wrote: 2) GTK+ has a dependency on dbus, on X11 only, for desktop integration features to work. (See list of examples above.) By dependency I mean specifically: - dbus.h is not included in gtk.h - gtk or gdk contains interfaces such as settings, notifications, single