QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1011|回复: 3

GtkFileSelection中那个entry是???

[复制链接]
发表于 2006-2-5 10:11:19 | 显示全部楼层 |阅读模式
The GtkFileSelection struct contains the following GtkWidget fields:

*fileop_dialog;        the dialog box used to display the GtkFileSelection. It can be customized by adding/removing widgets from it using the standard GtkDialog functions.
*dir_list, *file_list;        the two GtkCList widgets corresponding to directories and files.
*ok_button, *cancel_button;        the two main buttons that signals should be connected to in order to perform an action when the user hits either OK or Cancel.
*history_pulldown;        the GtkOptionMenu used to create the drop-down directory history.
*fileop_c_dir, *fileop_del_file, *fileop_ren_file;        the buttons that appear at the top of the file selection dialog. These "operation buttons" can be hidden and redisplayed with gtk_file_selection_hide_fileop_buttons() and gtk_file_selection_show_fileop_buttons() respectively.

没有 关于 那个entry(输入文件名称的)定义
我想实现自动显示要默认保存的文件名称?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| 发表于 2006-2-5 10:12:05 | 显示全部楼层
难道是在fileop_dialog中?
回复

使用道具 举报

发表于 2006-2-5 16:58:36 | 显示全部楼层
[code:1]
struct _GtkFileSelection
{
  /*< private >*/
  GtkDialog parent_instance;

  /*< public >*/
  GtkWidget *dir_list;
  GtkWidget *file_list;
  GtkWidget *selection_entry;
  GtkWidget *selection_text;
  GtkWidget *main_vbox;
  GtkWidget *ok_button;
  GtkWidget *cancel_button;
  GtkWidget *help_button;
  GtkWidget *history_pulldown;
  GtkWidget *history_menu;
  GList     *history_list;
  GtkWidget *fileop_dialog;
  GtkWidget *fileop_entry;
  gchar     *fileop_file;
  gpointer   cmpl_state;
  
  GtkWidget *fileop_c_dir;
  GtkWidget *fileop_del_file;
  GtkWidget *fileop_ren_file;
  
  GtkWidget *button_area;
  GtkWidget *action_area;

  /*< private >*/
  GPtrArray *selected_names;
  gchar     *last_selected;
};
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2006-2-5 18:49:03 | 显示全部楼层
看文档 不如看定义
谢谢mozilla,
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 22:35 , Processed in 0.067437 second(s), 17 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表