Johan Levin wrote:
> 
> Hi
> 
> I'm making an application for sound editing. I will want one
> window for each sample being edited. I guess I could create
> these windows by calling create_editing_window() multiple
> times (I haven't tried yet).
> 
> But then I wan't to access the auto created Adjustment of a
> HScrollBar in each of these windows. I'd usually do this with
> (something like):
> 
> GtkWidget *adjustment = GTK_RANGE(lookup_widget(window,
> "scrollbar"))->adjustment;
> 
> Now all my scrollbars will have the same name (if that's
> possible), so I have a problem.
> Is there a way to get around this with glade, or must I edit
> that code manually?

But the window, the first argument to lookup_widget(), will be
different. So it should still work OK, assuming you pass in the
correct window.


Damon



+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to