[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk
Subject: [gtk-list] Re: Question about GtkTypeInfo
From: Juan Pablo Romero <jpablo () netservice ! com ! mx>
Date: 1999-07-18 5:59:45
[Download RAW message or body]
I am trying to set the button's shadow of the combo widget to
GTK_SHADOW_NONE, but I think the only place one can do that is in
'gtk_combo_init' :(
------------------------------------------
static void
gtk_combo_init (GtkCombo * combo)
{
GtkWidget *arrow;
GtkWidget *frame;
GtkWidget *event_box;
GdkCursor *cursor;
combo->case_sensitive = 0;
combo->value_in_list = 0;
combo->ok_if_empty = 1;
combo->use_arrows = 1;
combo->use_arrows_always = 0;
combo->entry = gtk_entry_new ();
combo->button = gtk_button_new ();
combo->current_button = 0;
arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_OUT);
/* here */
gtk_button_set_relief (GTK_BUTTON(combo->button), GTK_RELIEF_NONE);
.....
.....
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic