Google Answers Logo
View Question
 
Q: Set the Gtk or Gnome window id ( No Answer,   1 Comment )
Question  
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 can’t be passed to the new function. But is
there a way to set it.

$window->set_id($id);
Answer  
There is no answer at this time.

Comments  
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.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

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 Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy