[gtkmm: 1/2] Update object.h
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm: 1/2] Update object.h
- Date: Fri, 1 Oct 2021 09:19:18 +0000 (UTC)
commit c0e2cd09c0a42a6681e49c83024224ff796dcf95
Author: LI Daobing <lidaobing gmail com>
Date: Thu Sep 30 07:41:55 2021 +0000
Update object.h
gtk/gtkmm/object.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkmm/object.h b/gtk/gtkmm/object.h
index 07571666..e36007f3 100644
--- a/gtk/gtkmm/object.h
+++ b/gtk/gtkmm/object.h
@@ -32,7 +32,7 @@ class GTKMM_API Object;
* For instance,
* @code
* Gtk::Button* button = Gtk::manage( new Gtk::Button("Hello") );
- * vbox.pack_start(*button); //vbox will delete button when vbox is deleted.
+ * vbox.append(*button); //vbox will delete button when vbox is deleted.
* @endcode
*
* @param obj A Gtk::Object, such as a gtkmm widget.
@@ -52,7 +52,7 @@ T* manage(T* obj)
* For instance,
* @code
* auto button = Gtk::make_managed<Gtk::Button>("Hello");
- * vbox.pack_start(*button); //vbox will delete button when vbox is deleted.
+ * vbox.append(*button); //vbox will delete button when vbox is deleted.
* @endcode
*
* @param args Arguments to pass to the constructor of the given template type.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]