Re: How do I add a separator bar to a menu item?
| From: | Rich Payne | Date: | Thu, 06 Sep 2001 12:00:20 +0000 |
| Subject: | Re: How do I add a separator bar to a menu item? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-55@lists.php.net to get a copy of this message | ||
You just add a new GtkMenuItem with no text...something
like:
$m = &new GtkMenu();
$mi_sep = &new GtkMenuItem();
$m->add($mi_sep);
--rdp
On Thu, 6 Sep 2001, Jared wrote:
> Hello,
>
> I just started working with php-gtk for win32, so bear with me if I sound
> dumb. I am able to creat a menubar and occupy it with menu item. However, on
> a submenu, for a menu item, how do I add a separator bar? I am assuming I
> somehow attach a GtkHSeparator widget to the submenu... But I can't figure
> out how to do this. Does anyone know how to do this or could you provide a
> like to some sample code that displays how to do this?
>
> Thanks,
> Jared
>
>
>
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org