![]() |
|
![]() | ||
|
Subject:
Set the Gtk or Gnome window id
Category: Computers > Programming Asked by: russ_man-ga List Price: $10.00 |
Posted:
17 Feb 2003 09:21 PST
Expires: 19 Mar 2003 09:21 PST Question ID: 162549 |
Hi, does anyone no if Gtk or Gnome can use a window id like Tk i.e. $id = "12345"; $window = Gtk::Window->new($id) I no that a window id cant be passed to the new function. But is there a way to set it. $window->set_id($id); |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: Set the Gtk or Gnome window id
From: murrayc-ga on 30 Oct 2003 06:20 PST |
You can use gtk_widget_set_name() http://developer.gnome.org/doc/API/gtk/gtkwidget.html#GTK-WIDGET-SET-NAME and this is what libglade uses, to allow you to instantiate a named widget. But the idea of an ID or name for each widget does not seem very useful. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |