Don't draw with GTK_STATE_ACTIVE.
2001-09-18 Alex Larsson <alexl@redhat.com> * gtk/gtkcheckbutton.c: * gtk/gtkradiobutton.c: Don't draw with GTK_STATE_ACTIVE. * gtk/gtkclist.c: * gtk/gtkctree.c: Draw lines between rows with base_gc[GTK_STATE_NORMAL]. * gtk/gtktextdisplay.c: Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and unfocused with base_gc [GTK_STATE_ACTIVE]. * gtk/gtkentry.c: Add select all menu-item. Default cursor color is red. Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and unfocused with base_gc [GTK_STATE_ACTIVE]. * gtk/gtklabel.[ch]: Add keynav + menu to selectable lables. Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and unfocused with base_gc [GTK_STATE_ACTIVE]. * gtk/gtkfilesel.c: Add drag and drop support. * gtk/gtkstyle.c: (This was checked in earlier) New default values for text/base SELECTED and ACTIVE
This commit is contained in:
committed by
Alexander Larsson
parent
07fd245421
commit
1a46d3d534
@ -30,7 +30,7 @@
|
||||
#include <gdk/gdk.h>
|
||||
#include <gtk/gtkmisc.h>
|
||||
#include <gtk/gtkwindow.h>
|
||||
|
||||
#include <gtk/gtkmenu.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -78,6 +78,17 @@ struct _GtkLabel
|
||||
struct _GtkLabelClass
|
||||
{
|
||||
GtkMiscClass parent_class;
|
||||
|
||||
void (* move_cursor) (GtkLabel *label,
|
||||
GtkMovementStep step,
|
||||
gint count,
|
||||
gboolean extend_selection);
|
||||
void (* copy_clipboard) (GtkLabel *label);
|
||||
void (* select_all) (GtkLabel *label);
|
||||
|
||||
/* Hook to customize right-click popup for selectable labels */
|
||||
void (* populate_popup) (GtkLabel *label,
|
||||
GtkMenu *menu);
|
||||
};
|
||||
|
||||
GtkType gtk_label_get_type (void) G_GNUC_CONST;
|
||||
|
||||
Reference in New Issue
Block a user