mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
824b7198ea
1. My icons suck. 2. Keyboard handling is not finished. 3. Save current-mode, load current-mode is not implemented yet. 4. Listing mode is not working, as I have hardcoded the icon view for now. 5. Will finish this tomorrow. Not much is missing. 6. No, this is not the final implementation. 7. Yes, later I will put some scheme for using more icons as discussed in the ethernal "Re: Icons" thread. Miguel. 1998-05-07 Miguel de Icaza <miguel@nuclecu.unam.mx> * gscreen.c (panel_icon_list_realized): Add drag and drop support to the icon list view; 1998-05-06 Miguel de Icaza <miguel@nuclecu.unam.mx> * gscreen.c (panel_fill_panel_icons): New function: Fill up the icon list. (x_create_panel): Change in the approach: we create both of the widget views at creation time and we now carefully show every component. I attach everything to the table, but not necesarly show it.
41 lines
909 B
C
41 lines
909 B
C
#ifndef __MC_BLIST_H__
|
|
#define __MC_BLIST_H__
|
|
|
|
#include <gdk/gdk.h>
|
|
#include <gtk/gtksignal.h>
|
|
#include <gtk/gtkalignment.h>
|
|
#include <gtk/gtklabel.h>
|
|
#include <gtk/gtkbutton.h>
|
|
#include <gtk/gtkhscrollbar.h>
|
|
#include <gtk/gtkvscrollbar.h>
|
|
#include <gtk/gtkclist.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif /* __cplusplus */
|
|
|
|
#define GTK_BLIST(obj) (GTK_CHECK_CAST ((obj), gtk_blist_get_type (), GtkBList))
|
|
#define GTK_BLIST_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), gtk_blist_get_type (), GtkBListClass))
|
|
#define GTK_IS_BLIST(obj) (GTK_CHECK_TYPE ((obj), gtk_blist_get_type ()))
|
|
|
|
typedef struct
|
|
{
|
|
GtkCList clist;
|
|
} GtkBList;
|
|
|
|
typedef struct
|
|
{
|
|
GtkCListClass parent_class;
|
|
} GtkBListClass;
|
|
|
|
GtkType gtk_blist_get_type (void);
|
|
GtkWidget *gtk_blist_new_with_titles (gint columns, gchar * titles[]);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
#endif /* __GTK_CLIST_H__ */
|