dynamically changing the text of a GtkMenuItem
- From: Paul Davis <pbd Op Net>
- To: gtk-list gnome org
- Subject: dynamically changing the text of a GtkMenuItem
- Date: Thu, 21 Mar 2002 20:43:08 -0500
i have a menu which as 2 item that potentially need updating every
time it is displayed (its a submenu of a menubar). at the moment, i
connect to the map_event, remove (and delete) all the items, recreate
new items, and return FALSE. this works, but after a couple of rounds
of this, i start to messages about ref counts not being > 0, and
various other issues that make it clear that something has gone wrong.
what would be the preferred way of handling this?
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]