Re: Menuitem
- From: "Leandro A. F. Pereira" <leandro linuxmag com br>
- To: gtk-app-devel-list gnome org
- Subject: Re: Menuitem
- Date: Tue, 5 Aug 2003 11:21:14 -0300
Quoted by a cadre of crazed rats
For `mquezada nlxcorp com'
On Tuesday, 05 August 2003 (10:33):
in gtk+ 1.2.xx and without using the itemfactory, how does one go about
inerting a separator line/item into a menu?
Just create an empty GtkMenuItem:
GtkWidget *separator;
GtkWidget *menu;
(...)
separator = gtk_menu_item_new();
gtk_widget_show(separator);
gtk_menu_append(GTK_MENU(menu), separator);
--
Leandro Pereira (oO) <leandro linuxmag com br>
/||\ www.mindcrisis.tk
"O medo é uma coisa boa. Se você não tiver medo, pode
acabar pulando pela janela" --Keith Richards
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]