Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2005-01-10 Thread Matthias Clasen
On Mon, 2005-01-10 at 01:17 -0600, Greg Breland wrote: Did a bug ever get filed on this? I can't seem to find it if there was. I have a pretty good usage scenario that is quite common with database applications. The combo control is the most common control used with DB apps and

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2005-01-09 Thread Greg Breland
Did a bug ever get filed on this? I can't seem to find it if there was. I have a pretty good usage scenario that is quite common with database applications. The combo control is the most common control used with DB apps and contains values pulled from a different database table than the data

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Jan-Marek Glogowski
Hi Egon This is a hack, but I it should work: static void combo_toggle_func( GtkToggleButton *togglebutton, gpointer user_data ) { // Do your menu stuff } static void scan_children( GtkWidget *w, gpointer data ) { if( GTK_IS_TOGGLE_BUTTON( w ) ) {

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Egon Andersen
Jan-Marek Glogowski wrote: Hi Egon This is a hack, but I it should work: static void combo_toggle_func( GtkToggleButton *togglebutton, gpointer user_data ) { // Do your menu stuff } static void scan_children( GtkWidget *w, gpointer data ) { if( GTK_IS_TOGGLE_BUTTON( w ) )

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Jan-Marek Glogowski
Just checked the source for 2.4.13 and 2.5.5. Both use a GtkToggleButton... Check the following scan function - should print a list of found object types: static void scan_children( GtkWidget *w, gpointer data ) { g_print( %s\n, G_OBJECT_TYPE_NAME( w ) ); } For me it finds:

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Egon Andersen
Jan-Marek Glogowski wrote: Just checked the source for 2.4.13 and 2.5.5. Both use a GtkToggleButton... Check the following scan function - should print a list of found object types: static void scan_children( GtkWidget *w, gpointer data ) { g_print( %s\n, G_OBJECT_TYPE_NAME( w ) ); } For

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Jan-Marek Glogowski
I checked my program with 2.5.5. And had a look at the ComboBox code: the toggle button is created when setting the style, so I think the box must be (at least) realized, maybe even shown. HTH Jan-Marek ___ gtk-list mailing list [EMAIL PROTECTED]

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Owen Taylor
On Sun, 2004-11-21 at 16:46 +0100, Egon Andersen wrote: Jan-Marek Glogowski wrote: I checked my program with 2.5.5. And had a look at the ComboBox code: the toggle button is created when setting the style, so I think the box must be (at least) realized, maybe even shown. Thanks!

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Jan-Marek Glogowski
Hi I added a patch for a popup event to my first reply. I wanted to file a bug report, but didn't really come up with a good case. There was a similar request a few days ago: Accessing GtkComboBoxEntry's toggle button. The patch is very simple - just two gtk_signal_emit, a return value to

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-21 Thread Egon Andersen
Jan-Marek Glogowski wrote: Hi I added a patch for a popup event to my first reply. I wanted to file a bug report, but didn't really come up with a good case. There was a similar request a few days ago: Accessing GtkComboBoxEntry's toggle button. The patch is very simple - just two gtk_signal_emit,

Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2004-11-19 Thread Egon Andersen
Hi, During my migration from GtkCombo() I experienced that I miss a signal when the 'arrow' at the right of the GtkComboBoxEntry() is pressed. I can't seem to find the relevant signal. When GtkCombo() was used I used set-focus-child, but that doesn't do the trick any more. I've searched and