Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-13-2005, 05:45 PM   #1
LQ Newbie
Registered: Jan 2003
Distribution: Gentoo
Posts: 8

Rep: Reputation: 0
XID in Gtk APP

Does anybody know how to get XID from a GtkWidget ? I'm trying to wirte a GTK interface for MPlayer and this is the only thing that keeps it from beeing released.
Old 07-13-2005, 06:12 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Here's a guess: (At the moment, I can't confirm whether or not it's correct):


Depending on the context, you might also be able to use:

gdk_x11_drawable_get_xid ()

Last edited by paulsm4; 07-13-2005 at 06:18 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Port a GTK+ app to Windows anime4christ Linux - Software 10 11-21-2005 08:28 PM
Can't compile sample GTK app slackwarefan Linux - Software 5 07-26-2005 07:57 PM
gtk app problem emg Linux - Software 3 04-30-2005 01:22 PM
Multiplatform sound library for Gtk app Komakino Programming 1 03-20-2004 06:27 PM
In need of a good burning app (with perferably GTK frontend) bkeating Linux - Software 5 09-05-2003 04:15 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration