[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    Re: notebook issue ?
From:       Emmanuele Bassi <ebassi () gmail ! com>
Date:       2005-09-17 18:44:30
Message-ID: 1126982671.6978.19.camel () localhost ! localdomain
[Download RAW message or body]

Hi,

On Sat, 2005-09-17 at 19:57 +0200, Rss Reader wrote:
> 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 ?

This list is intended for developing GTK, not developing *with* GTK;
that is the goal of the gtk-app-devel list.

Anyway, you can pack any widget you like into a notebook tab; usually,
in order to have a "close" button near a label containing the nam eof
the tab, you should create a GtkHBox, pack into it a GtkButton and a
GtkLabel, and then pass it as the "tab_label" parameter of the
gtk_notebook_*_page functions.

Ciao,
 Emmanuele.

-- 
Emmanuele Bassi - <ebassi@gmail.com>
Log: http://log.emmanuelebassi.net

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic