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 ) ) {
g_pri
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 ) )
Hi
Look for the subject "Which signal is emitted when the arrow in
GtkComboBoxEntry() is pressed?" (21. Nov)
Jan-Marek
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Hi
GtkWindow *my_app ...
GtkWindow *my_about ...
gtk_window_set_transient_for( my_about, my_app );
gtk_window_set_position( my_about, GTK_WIN_POS_CENTER_ON_PARENT );
HTH
Jan-Marek
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailm
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:
GtkTogg
Hi
The idea is to "emulate" the mouse behaviour. If you have a large list you
can scroll with the mouse, without selecting an item. Same with the
cursor: you scroll the list (change focus) and then select an item (press
space).
To move the selection with the focus:
gtk_clist_set_selection_mode(
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 ) );
}
F
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]
http:
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!
I just made an extra callback function.
The callback function just contains
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.
> >
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
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_
Hello,
I would like to know whether the following behavior is reliable, since
it is not documented
in the API reference:
When I press a GtkToggleButton (suppose the button goes from being
pressed out to
pressed in), I notice that the "toggled" signal is emitted _AFTER_ the
button becomes
pressed
Hello,
Can I also rely on the fact that if a GtkToggleButton is active then a
function call
to set its active state to TRUE is not going to trigger a signal. In
general, is it true
that signal handlers are invoked when properties are CHANGED BY A FUNCTION
OR USER ACTION, and not when a function ca
On Sun, 2004-11-21 at 19:27 -0700, Neil Zanella wrote:
> Hello,
>
> I would like to know whether the following behavior is reliable, since
> it is not documented
> in the API reference:
>
> When I press a GtkToggleButton (suppose the button goes from being
> pressed out to
> pressed in), I notice
On Sun, 2004-11-21 at 19:49 -0700, Neil Zanella wrote:
> Hello,
>
> Can I also rely on the fact that if a GtkToggleButton is active then a
> function call
> to set its active state to TRUE is not going to trigger a signal. In
> general, is it true
> that signal handlers are invoked when properties
16 matches
Mail list logo