GtkEntryCompletion on a GtkCellRendererText

2007-03-03 Thread Philip Withnall
on GtkCellRendererTexts. What's the obvious thing I've missed? :-P Cheers, Philip Withnall ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Getting maximum possible window size

2007-04-10 Thread Philip Withnall
Hi, I need to find the maximum possible size of a window (i.e. when it's maximised). So far I've come up with gdk_screen_get_width() and gdk_screen_get_height(), but I presume they don't take the panels into account (and thus return sizes which are too big). What else is there? Thanks, Philip

Re: How to display an animated pop-up when ever a certain event occur?

2007-04-12 Thread Philip Withnall
Hi, You probably want to look at libnotify, hosted on the Galago project's site: http://galago-project.org/news/index.php Regards, Philip Withnall On Thu, 2007-04-12 at 16:08 +0530, suman rapolu wrote: Hi, I want to develop a system tray application that checks for some events

Re: gtk_file_chooser_widget problem

2007-04-13 Thread Philip Withnall
Try looking at how evince does it: http://svn.gnome.org/viewcvs/evince/trunk/shell/ev-window.c?view=markup You want the ev_window_cmd_file_open function. Philip Withnall On Thu, 2007-04-12 at 08:03 -0700, bajone wrote: I have a problem when I call gtk_file_chooser_widget_new

Re: cairo pixmap

2007-05-19 Thread Philip Withnall
Hi, On Sat, 2007-05-19 at 13:41 +0200, control H wrote: Hi, I'm planning to make my app use cairo instead of GDK based functions. I'm using a drawing area, which draws into a pixmap when the configure event is emitted, and copies the relevant part of the pixmap back on the screen on the

Re: cairo pixmap

2007-05-19 Thread Philip Withnall
On Sat, 2007-05-19 at 14:12 +0200, control H wrote: The signal handler for the expose event is passed some parameters specifying which part of the screen has become invalidated. If you use these in a Cairo drawing mask, then redraw your canvas, it should be quite fast, as Cairo will ignore

Re: Is there any way to populate the treeview from glade3 WITHOUT going to coding

2007-07-08 Thread Philip Withnall
In short, there's no way of doing it from glade3 (or libglade at all), but with the new GtkBuilder code in GTK trunk, you can. It uses an XML format for describing UIs which is similar to glade's, but has some differences, and allows population of treeview models. I think there's some example XML

Re: Compiling GTK, GLIB,PANGO ???

2007-08-08 Thread Philip Withnall
Hi, You might want to use Jhbuild [1], which takes care of this automatically, and helps you build everything straight from SVN. [1] http://live.gnome.org/Jhbuild Philip On Wed, 2007-08-08 at 18:55 +0200, [EMAIL PROTECTED] wrote: Sorry I don't know if this is the right mailing list. I want

Re: Correct way to deallocate an unix signal source

2019-03-19 Thread Philip Withnall
On Mon, 2019-03-18 at 14:38 +0100, Enrico Mioso wrote: > Regarding the code, at exit I do the following: > if (my_state->mainloop) { > g_main_loop_unref(my_state->mainloop); > my_state->mainloop = NULL; > } > > if (my_state->ctx) { > g_main_context_unref(my_state->ctx); >

Re: Correct way to deallocate an unix signal source

2019-03-18 Thread Philip Withnall
Hi, On Thu, 2019-03-14 at 00:09 +0100, Enrico Mioso wrote: > I am facing an issue, where it seems I am not deallocating correctly > an UNIX signal source. I use > my_state->unix_signals_src = g_unix_signal_source_new(SIGINT); > g_source_set_callback(my_state->unix_signals_src, my_unix_signals_cb,