Re: notebook issue ?

2005-09-24 Thread Freddie Unpenstein

> I would like to insert a close button, on the notebook tab, like
> gedit did, and i'm looking for an easy solution, or would one
> explain me how to do it ?

Personally, I much prefer to have one close button off to the side of the tabs 
like Mozilla lets me do, rather than wasting space within the tabs themselves.  
Anyone know a good way to do that instead?


Fredderic

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: notebook issue ?

2005-09-18 Thread Rss Reader
thanks it works...
--- Christian Neumair <[EMAIL PROTECTED]> a écrit :

> Am Sonntag, den 18.09.2005, 15:55 +0200 schrieb Rss
> Reader:
> > i did what he said, but got nothing on the tab ...
> > 
> > here's a snippet of what i do ...
> > p_tab_label = gtk_label_new ("TabName");
> > p_close_button = gtk_button_new_with_label(".");
> > 
> > hbox_tab = gtk_hbox_new(FALSE, 0);
> > gtk_box_pack_start (GTK_BOX (hbox_tab),
> p_close_button
> > , TRUE, TRUE, 0);
> > gtk_box_pack_start (GTK_BOX (hbox_tab),
> p_tab_label ,
> > TRUE, TRUE, 0);
> 
> gtk_widget_show_all (hbox_tab);
> 
> > gtk_notebook_append_page (
> >   GTK_NOTEBOOK(p_notebook),
> >   window,
> >   hbox_tab);
> 
> -- 
> Christian Neumair <[EMAIL PROTECTED]>
> 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: notebook issue ?

2005-09-18 Thread Christian Neumair
Am Sonntag, den 18.09.2005, 15:55 +0200 schrieb Rss Reader:
> i did what he said, but got nothing on the tab ...
> 
> here's a snippet of what i do ...
> p_tab_label = gtk_label_new ("TabName");
> p_close_button = gtk_button_new_with_label(".");
> 
> hbox_tab = gtk_hbox_new(FALSE, 0);
> gtk_box_pack_start (GTK_BOX (hbox_tab), p_close_button
> , TRUE, TRUE, 0);
> gtk_box_pack_start (GTK_BOX (hbox_tab), p_tab_label ,
> TRUE, TRUE, 0);

gtk_widget_show_all (hbox_tab);

> gtk_notebook_append_page (
>   GTK_NOTEBOOK(p_notebook),
>   window,
>   hbox_tab);

-- 
Christian Neumair <[EMAIL PROTECTED]>
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: notebook issue ?

2005-09-18 Thread Rss Reader
i did what he said, but got nothing on the tab ...

here's a snippet of what i do ...
p_tab_label = gtk_label_new ("TabName");
p_close_button = gtk_button_new_with_label(".");

hbox_tab = gtk_hbox_new(FALSE, 0);
gtk_box_pack_start (GTK_BOX (hbox_tab), p_close_button
, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (hbox_tab), p_tab_label ,
TRUE, TRUE, 0);
gtk_notebook_append_page (
  GTK_NOTEBOOK(p_notebook),
  window,
  hbox_tab);
--- Christian Neumair <[EMAIL PROTECTED]> a écrit :

> Am Sonntag, den 18.09.2005, 15:45 +0200 schrieb Rss
> Reader:
> > I would like to insert a close button, on the
> notebook
> > tab, like gedit did, and i'm looking for an easy
> > solution, or would one explain me how to do it ?
> 
> What was wrong with the answer you got under [1]?
> 
> [1]
>
http://mail.gnome.org/archives/gtk-devel-list/2005-September/msg00102.html
> 
> -- 
> Christian Neumair <[EMAIL PROTECTED]>
> 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: notebook issue ?

2005-09-18 Thread Christian Neumair
Am Sonntag, den 18.09.2005, 15:45 +0200 schrieb Rss Reader:
> I would like to insert a close button, on the notebook
> tab, like gedit did, and i'm looking for an easy
> solution, or would one explain me how to do it ?

What was wrong with the answer you got under [1]?

[1]
http://mail.gnome.org/archives/gtk-devel-list/2005-September/msg00102.html

-- 
Christian Neumair <[EMAIL PROTECTED]>
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list