Re: how to modify the GnomeDbDataWidgetInfo?

2008-09-17 Thread Vivien Malerba
2008/9/17 paragasu [EMAIL PROTECTED]: by default, gnome_db_form/gnome_db_grid widget create a set of control (GnomeDbDataWidgetInfo). To add or manipulate data. For my application, i only need the update button, i do not need the insert, add or the next record button. How to remove all

Need to get the tree view from the model

2008-09-17 Thread dhk
What is the most direct way to get the tree view from the tree model? I don't see a function for doing this. Also, when I went to the source, GtkTreeModel is defined a follows: typedef struct _GtkTreeModel GtkTreeModel; /* Dummy typedef */ Why is it called a Dummy typedef and why can't I

Re: Need to get the tree view from the model

2008-09-17 Thread Emmanuele Bassi
On Wed, 2008-09-17 at 13:48 +, dhk wrote: What is the most direct way to get the tree view from the tree model? I don't see a function for doing this. it wouldn't make any sense. a model can be used as the data source for many TreeView widgets. Also, when I went to the source,

Re: Need to get the tree view from the model

2008-09-17 Thread rpoe
The answer to your second question: A dummy typedef means you can't find the structure for it. :-) The *.h file is merely saying that the typedef is a shorthand for a given structure. The actual structure is private, not intended to be seen by users of the *.h file. The intent is to force you to

Re: Need to get the tree view from the model

2008-09-17 Thread dhk
Emmanuele Bassi wrote: On Wed, 2008-09-17 at 13:48 +, dhk wrote: What is the most direct way to get the tree view from the tree model? I don't see a function for doing this. it wouldn't make any sense. a model can be used as the data source for many TreeView widgets. Also, when I went

Re: Need to get the tree view from the model

2008-09-17 Thread rpoe
dhk wrote: Emmanuele Bassi wrote: On Wed, 2008-09-17 at 13:48 +, dhk wrote: What is the most direct way to get the tree view from the tree model? I don't see a function for doing this. it wouldn't make any sense. a model can be used as the data source for many TreeView

Rgba widgets

2008-09-17 Thread Thomas Dybdahl Ahle
Hi, Can anybody point me to some info on how I implement rgba widgets? That is widgets with the gdk window being transparent. -- Best Regards, Med Venlig Hilsen, Thomas Bomb, Riksdagen, Regeringen, Död, Terror, Mord, Planer, Muslimska brödraskapet, Alluah akbar, Kärnkraft Stop the Swedish

Why is minimizing an app and switching the desktop resulting in the same window-event: ICONIFIED ?

2008-09-17 Thread Rorschach
Hi, I'm writing a trayicon (gtk-status-icon) in C for a linux-application. I created an event-handler for window-state-events. When the window gets minimized I wanna hide it to the tray. That means if the changed_mask and new_window_state become GDK_WINDOW_STATE_ICONIFIED. But my problem is

Key handling problems

2008-09-17 Thread Perriman
Hi all, I'm trying to check if a user press some keys. I want to check If the user press control+j. I'm having problems with it. I paste my code: guint key = self-priv-key; if ((event-state self-priv-mod) == self-priv-mod event-keyval == key) {

GLib 2.18.1 released

2008-09-17 Thread Matthias Clasen
GLib 2.18.1 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.18/ http://download.gnome.org/sources/glib/2.18/ glib-2.16.2.tar.bz2 md5sum: 662224ad0186183f64de98ef2183454b glib-2.16.2.tar.gzmd5sum: f1a75b1f89953e7d87484ceffd70eb86 This is a bug fix release in the 2.18

GLib 2.18.1 released

2008-09-17 Thread Matthias Clasen
(resending with correct checksums) GLib 2.18.1 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.18/ http://download.gnome.org/sources/glib/2.18/ glib-2.18.1.tar.bz2 md5sum: 51a9a33f49a4896d4d95d8e980666b9e glib-2.18.1.tar.gzmd5sum: d53836f7fdd9970d03e255e9d712bd83 This is

Re: Key handling problems

2008-09-17 Thread Allin Cottrell
On Thu, 18 Sep 2008, Perriman wrote: I'm trying to check if a user press some keys. I want to check If the user press control+j. I'm having problems with it. I paste my code: guint key = self-priv-key; if ((event-state self-priv-mod) == self-priv-mod

GTK+ 2.14.2 released

2008-09-17 Thread Matthias Clasen
GTK+ 2.14.2 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.14/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.14/ gtk+-2.14.2.tar.bz2 md5sum: b693a2c1c2dd95457b87d0d042aa5bba gtk+-2.14.2.tar.gzmd5sum: 45eb0991a8daf237eafb17330bbce6a5 This is a bug fix release in the 2.14

Re: g_spawn_* and Win32

2008-09-17 Thread Marcelo Vanzin
Here you go, with patches and all: http://bugzilla.gnome.org/show_bug.cgi?id=552733 On Sat, Sep 13, 2008 at 12:20 PM, Tor Lillqvist [EMAIL PROTECTED] wrote: One reason is that if you use CreateProcess(), then you have to use information that isn't publicly available with no strings attached to

GLib 2.18.1 released

2008-09-17 Thread Matthias Clasen
GLib 2.18.1 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.18/ http://download.gnome.org/sources/glib/2.18/ glib-2.16.2.tar.bz2 md5sum: 662224ad0186183f64de98ef2183454b glib-2.16.2.tar.gzmd5sum: f1a75b1f89953e7d87484ceffd70eb86 This is a bug fix release in the 2.18

GLib 2.18.1 released

2008-09-17 Thread Matthias Clasen
(resending with correct checksums) GLib 2.18.1 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.18/ http://download.gnome.org/sources/glib/2.18/ glib-2.18.1.tar.bz2 md5sum: 51a9a33f49a4896d4d95d8e980666b9e glib-2.18.1.tar.gzmd5sum: d53836f7fdd9970d03e255e9d712bd83 This is

Re: [cairo] gobject boxed types

2008-09-17 Thread Colin Walters
On Mon, Sep 15, 2008 at 12:49 AM, Behdad Esfahbod [EMAIL PROTECTED] wrote: I'm probably make it a separate .so. The intereface to use it is no different than having it in cairo.so. One simply brings in cairo-glib pkg-config dependencies. Where the actual code lives is implementation

Re: [cairo] gobject boxed types

2008-09-17 Thread Behdad Esfahbod
Colin Walters wrote: On Mon, Sep 15, 2008 at 12:49 AM, Behdad Esfahbod [EMAIL PROTECTED] wrote: I'm probably make it a separate .so. The intereface to use it is no different than having it in cairo.so. One simply brings in cairo-glib pkg-config dependencies. Where the actual code lives is

GLib 2.18.1 released

2008-09-17 Thread Matthias Clasen
GLib 2.18.1 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.18/ http://download.gnome.org/sources/glib/2.18/ glib-2.16.2.tar.bz2 md5sum: 662224ad0186183f64de98ef2183454b glib-2.16.2.tar.gzmd5sum: f1a75b1f89953e7d87484ceffd70eb86 This is a bug fix release in the 2.18

GLib 2.18.1 released

2008-09-17 Thread Matthias Clasen
(resending with correct checksums) GLib 2.18.1 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.18/ http://download.gnome.org/sources/glib/2.18/ glib-2.18.1.tar.bz2 md5sum: 51a9a33f49a4896d4d95d8e980666b9e glib-2.18.1.tar.gzmd5sum: d53836f7fdd9970d03e255e9d712bd83 This is

Memory usage

2008-09-17 Thread Diego Jacobi
Hi. I have writen (or copied) a simple example for a gtk trayicon. Looking it with gnome-system-monitor it shows 20.4Mb of virtual Memory. 5.9Mb of resident memory. 1.6 Mb of writable memory 4.4 Mb of writable memory. 1.7 Mb in the Memory Column The compiled size is only 8 kbytes. How can i

GTK+ 2.14.2 released

2008-09-17 Thread Matthias Clasen
GTK+ 2.14.2 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.14/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.14/ gtk+-2.14.2.tar.bz2 md5sum: b693a2c1c2dd95457b87d0d042aa5bba gtk+-2.14.2.tar.gzmd5sum: 45eb0991a8daf237eafb17330bbce6a5 This is a bug fix release in the 2.14