The "page" property of GtkNotebook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!EveryOne..
I look the page of GtkNotebook — A tabbed notebook container.I found the "page" property.But when I use notebook->page,and compile has the error: structure has no member named `page
 
And I look the gtknotebook.h, i found :
struct _GtkNotebook
{
  GtkContainer container;
 
  GtkNotebookPage *cur_page;
  GList *children;
  GList *first_tab;  /* The first tab visible (for scrolling notebooks) */
  GList *focus_tab;
 
  GtkWidget *menu;
  GdkWindow *event_window;
 
  guint32 timer;
 
  guint16 tab_hborder;
  guint16 tab_vborder;
 
  guint show_tabs          : 1;
  guint homogeneous        : 1;
  guint show_border        : 1;
  guint tab_pos            : 2;
  guint scrollable         : 1;
  guint in_child           : 3;
  guint click_child        : 3;
  guint button             : 2;
  guint need_timer         : 1;
  guint child_has_focus    : 1;
  guint have_visible_child : 1;
  guint focus_out          : 1; /* Flag used by ::move-focus-out implementation */
  guint has_before_previous : 1;
  guint has_before_next     : 1;
  guint has_after_previous  : 1;
  guint has_after_next      : 1;
};
it have no page member,it confuses me.
Can anyone to teach me why?



訂閱 Bloglines profile.jpgㄚ琪

生活有問題?問大家,不如找知識+ ,還可抽MacBook Air - 馬上找知識
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux