Home
last modified time | relevance | path

Searched refs:gtk (Results 1 – 25 of 82) sorted by relevance

1234

/external/autotest/client/virt/
Dvirt_step_editor.py10 import pygtk, gtk, os, glob, shutil, sys, logging
43 keymap = gtk.gdk.keymap_get_default()
46 keyname = gtk.gdk.keyval_name(keyval)
99 if event.state & gtk.gdk.CONTROL_MASK:
101 if event.state & gtk.gdk.MOD1_MASK:
103 if event.state & gtk.gdk.SHIFT_MASK:
115 self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
122 self.menu_vbox = gtk.VBox()
126 frame = gtk.Frame()
128 frame.set_shadow_type(gtk.SHADOW_NONE)
[all …]
/external/selinux/policycoreutils/gui/
DsemanagePage.py20 import gtk
21 import gtk.glade
45 while gtk.events_pending():
46 gtk.main_iteration()
54 self.busy_cursor = gtk.gdk.Cursor(gtk.gdk.WATCH)
55 self.ready_cursor = gtk.gdk.Cursor(gtk.gdk.LEFT_PTR)
108 dlg = gtk.MessageDialog(None, 0, gtk.MESSAGE_INFO,
109 gtk.BUTTONS_YES_NO,
112 dlg.set_position(gtk.WIN_POS_MOUSE)
119 dlg = gtk.MessageDialog(None, 0, gtk.MESSAGE_ERROR,
[all …]
DbooleansPage.py22 import gtk
23 import gtk.glade
95 self.busy_cursor = gtk.gdk.Cursor(gtk.gdk.WATCH)
96 self.ready_cursor = gtk.gdk.Cursor(gtk.gdk.LEFT_PTR)
112 listStore = gtk.ListStore(gobject.TYPE_STRING)
113 cell = gtk.CellRendererText()
115 …self.store = gtk.ListStore(gobject.TYPE_BOOLEAN, gobject.TYPE_STRING, gobject.TYPE_STRING, gobject…
116 self.store.set_sort_column_id(1, gtk.SORT_ASCENDING)
119 checkbox = gtk.CellRendererToggle()
121 col = gtk.TreeViewColumn('Active', checkbox, active=ACTIVE)
[all …]
DmodulesPage.py20 import gtk
21 import gtk.glade
57 self.store = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING)
59 self.store.set_sort_column_id(0, gtk.SORT_ASCENDING)
60 col = gtk.TreeViewColumn(_("Module Name"), gtk.CellRendererText(), text=0)
64 self.store.set_sort_column_id(0, gtk.SORT_ASCENDING)
65 col = gtk.TreeViewColumn(_("Version"), gtk.CellRendererText(), text=1)
164 dialog = gtk.FileChooserDialog(_("Load Policy Module"),
166 gtk.FILE_CHOOSER_ACTION_OPEN,
167 (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
[all …]
Dpolgengui.py25 import gtk
26 import gtk.glade
91 xml = gtk.glade.XML("polgen.glade", domain=PROGNAME)
93 xml = gtk.glade.XML("/usr/share/system-config-selinux/polgen.glade", domain=PROGNAME)
272 self.boolean_store = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING)
274 self.boolean_store.set_sort_column_id(0, gtk.SORT_ASCENDING)
275 col = gtk.TreeViewColumn(_("Name"), gtk.CellRendererText(), text=0)
277 col = gtk.TreeViewColumn(_("Description"), gtk.CellRendererText(), text=1)
281 self.role_store = gtk.ListStore(gobject.TYPE_STRING)
283 self.role_treeview.get_selection().set_mode(gtk.SELECTION_MULTIPLE)
[all …]
Dsystem-config-selinux.py27 import gtk
33 import gtk.glade
74 xml = gtk.glade.XML("system-config-selinux.glade", domain=PROGNAME)
76 …xml = gtk.glade.XML("/usr/share/system-config-selinux/system-config-selinux.glade", domain=PROGNAM…
112 dlg = gtk.MessageDialog(None, 0, gtk.MESSAGE_ERROR,
113 gtk.BUTTONS_CLOSE,
115 dlg.set_position(gtk.WIN_POS_MOUSE)
147 gtk.main_quit()
169 self.store = gtk.ListStore(gobject.TYPE_STRING)
171 col = gtk.TreeViewColumn("", gtk.CellRendererText(), text=0)
[all …]
DusersPage.py20 import gtk
21 import gtk.glade
48 …self.store = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.…
50 self.store.set_sort_column_id(0, gtk.SORT_ASCENDING)
52 col = gtk.TreeViewColumn(_("SELinux\nUser"), gtk.CellRendererText(), text=0)
57 col = gtk.TreeViewColumn(_("MLS/\nMCS Range"), gtk.CellRendererText(), text=1)
61 col = gtk.TreeViewColumn(_("SELinux Roles"), gtk.CellRendererText(), text=2)
89 if semanagePage.delete(self) == gtk.RESPONSE_NO:
DdomainsPage.py20 import gtk
21 import gtk.glade
56 self.store = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING)
58 self.store.set_sort_column_id(0, gtk.SORT_ASCENDING)
59 col = gtk.TreeViewColumn(_("Domain Name"), gtk.CellRendererText(), text=0)
63 self.store.set_sort_column_id(0, gtk.SORT_ASCENDING)
64 col = gtk.TreeViewColumn(_("Mode"), gtk.CellRendererText(), text=1)
DloginsPage.py20 import gtk
21 import gtk.glade
51 self.store = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING)
53 self.store.set_sort_column_id(0, gtk.SORT_ASCENDING)
54 col = gtk.TreeViewColumn(_("Login\nName"), gtk.CellRendererText(), text=0)
58 col = gtk.TreeViewColumn(_("SELinux\nUser"), gtk.CellRendererText(), text=1)
61 col = gtk.TreeViewColumn(_("MLS/\nMCS Range"), gtk.CellRendererText(), text=2)
90 liststore = gtk.ListStore(gobject.TYPE_STRING)
92 cell = gtk.CellRendererText()
DfcontextPage.py19 import gtk
20 import gtk.glade
72 self.store = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING)
77 col = gtk.TreeViewColumn(_("File\nSpecification"), gtk.CellRendererText(), text=SPEC_COL)
78 col.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
84 col = gtk.TreeViewColumn(_("Selinux\nFile Type"), gtk.CellRendererText(), text=TYPE_COL)
86 col.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
91 col = gtk.TreeViewColumn(_("File\nType"), gtk.CellRendererText(), text=2)
96 self.store.set_sort_column_id(SPEC_COL, gtk.SORT_ASCENDING)
DstatusPage.py20 import gtk
21 import gtk.glade
122 dlg = gtk.MessageDialog(None, 0, gtk.MESSAGE_INFO,
123 gtk.BUTTONS_YES_NO,
125 dlg.set_position(gtk.WIN_POS_MOUSE)
135 …ong time depending on the size of the file system. Do you wish to continue?")) == gtk.RESPONSE_NO:
149 …licy. Permissive mode does not require a reboot Do you wish to continue?")) == gtk.RESPONSE_NO:
154 …ong time depending on the size of the file system. Do you wish to continue?")) == gtk.RESPONSE_NO:
DportsPage.py20 import gtk
21 import gtk.glade
82 …self.store = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.…
84 self.store.set_sort_column_id(0, gtk.SORT_ASCENDING)
87 col = gtk.TreeViewColumn(_("SELinux Port\nType"), gtk.CellRendererText(), text=TYPE_COL)
91 self.store.set_sort_column_id(TYPE_COL, gtk.SORT_ASCENDING)
93 col = gtk.TreeViewColumn(_("Protocol"), gtk.CellRendererText(), text=PROTOCOL_COL)
98 self.mls_col = gtk.TreeViewColumn(_("MLS/MCS\nLevel"), gtk.CellRendererText(), text=MLS_COL)
103 col = gtk.TreeViewColumn(_("Port"), gtk.CellRendererText(), text=PORT_COL)
DmappingsPage.py20 import gtk
21 import gtk.glade
49 self.store = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING)
50 self.store.set_sort_column_id(0, gtk.SORT_ASCENDING)
/external/autotest/client/site_tests/firmware_TouchMTB/
Dfirmware_window.py12 import gtk
13 import gtk.gdk
31 self.frame = gtk.AspectFrame() if aspect else gtk.Frame()
32 self.frame.set_shadow_type(gtk.SHADOW_ETCHED_OUT)
61 self.vbox = gtk.VBox(False, 0)
65 self.label_gesture = gtk.Label('Gesture Name')
66 self.label_gesture.set_justify(gtk.JUSTIFY_LEFT)
77 self.vbox.pack_start(gtk.HSeparator(), True, True, 0)
80 self.label_prompt = gtk.Label('Prompt')
81 self.label_prompt.set_justify(gtk.JUSTIFY_CENTER)
[all …]
/external/autotest/client/tests/kvm/tests/
Dstepmaker.py10 import pygtk, gtk, gobject, time, os, commands, logging
63 hbox = gtk.HBox(spacing=10)
67 self.button_break = gtk.Button("Break")
72 self.button_done = gtk.Button("Done")
255 gtk.gdk.pointer_grab(self.event_box.window, False,
256 gtk.gdk.BUTTON_PRESS_MASK |
257 gtk.gdk.BUTTON_RELEASE_MASK)
259 pix = gtk.gdk.Pixmap(self.event_box.window, 1, 1, 1)
260 color = gtk.gdk.Color()
261 cursor = gtk.gdk.Cursor(pix, pix, color, color, 0, 0)
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345/META-INF/
DMANIFEST.MF2 Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x8
5 Bundle-Localization: launcher.gtk.linux.x86
9 Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.linux.x86;single
14 agments/org.eclipse.equinox.launcher.gtk.linux.x86;tag=R36x_v20101019
22 Name: launcher.gtk.linux.x86.properties
/external/fonttools/Lib/fontTools/
Dinspect.py13 import gtk
162 class FontTreeModel(gtk.GenericTreeModel):
224 gtk.main_quit()
229 self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
234 self.scrolled_window = gtk.ScrolledWindow()
239 self.treeview = gtk.TreeView(self.treemodel)
244 col = gtk.TreeViewColumn(col_name)
248 cell = gtk.CellRendererText()
262 gtk.main()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/properties/
DfeedPublish.eclipse.properties67 0,linux,gtk,x86,UNKNOWN,\
68 0,linux,gtk,x86_64,UNKNOWN,\
69 0,linux,gtk,ppc,UNKNOWN,\
70 0,solaris8,gtk,x86,UNKNOWN,\
75 RHEL4-3GHz-2.5GB,linux,gtk,x86,UNKNOWN,\
77 RHEL3-3GHz-2GB,linux,gtk,x86,UNKNOWN,\
83 …32,win,SDK,eclipse-SDK-%%buildAlias%%-win32.zip,linux,gtk,SDK,eclipse-SDK-%%buildAlias%%-linux-gtk
86 linux,gtk,x86,SDK,eclipse-SDK-%%buildAlias%%-linux-gtk.tar.gz
/external/avahi/avahi-python/avahi-discover/
Davahi-discover.py23 import avahi, gettext, gtk, gobject, dbus, avahi.ServiceTypeDatabase
48 d = gtk.MessageDialog(parent=None, flags=gtk.DIALOG_MODAL,
49 type=gtk.MESSAGE_ERROR, buttons=gtk.BUTTONS_OK)
62 gtk.window_set_default_icon_name("network-wired")
63 self.ui = gtk.Builder()
243 …self.treemodel=gtk.TreeStore(gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING, gobjec…
248 renderer=gtk.CellRendererText()
249 column=gtk.TreeViewColumn("",renderer, text=0)
281 gtk.main_quit()
285 gtk.main()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/templates/packager/
Dpackager.properties15 # linux, gtk, ppc &\
16 # linux, gtk, x86 & \
17 # linux, gtk, x86_64 & \
20 # solaris, gtk, sparc & \
87 # linux, gtk, ppc - antZip &\
88 # linux, gtk, x86 - antZip& \
89 # linux, gtk, x86_64 - antZip& \
92 # solaris, gtk, sparc - antZip& \
Dpackaging.properties21 root.linux.gtk.x86=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
22 root.linux.gtk.x86_64=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
23 root.linux.gtk.ppc=eclipse
28 root.solaris.gtk.sparc=eclipse,Eclipse.l.pm,Eclipse.m.pm,Eclipse.s.pm,Eclipse.t.pm
/external/libexif/m4m/
Dgp-documentation.m472 dnl * determine presence of prerequisites (only gtk-doc for now)
82 # gtk-doc: We use gtk-doc for building our documentation. However, we
90 [Use gtk-doc to build documentation [default=no]])],[
101 gtkdoc_msg="no (http://www.gtk.org/rdp/download.html)"
105 GP_CONFIG_MSG([build API docs with gtk-doc],[$gtkdoc_msg])
/external/harfbuzz_ng/
DBUILD.md24 * sudo apt-get install autoconf automake libtool pkg-config ragel gtk-doc-tools
27 * sudo yum install autoconf automake libtool pkgconfig ragel gtk-doc
30 * sudo port install autoconf automake libtool pkgconfig ragel gtk-doc
33 * brew port install autoconf automake libtool pkgconfig ragel gtk-doc
DMakefile.am23 $(srcdir)/gtk-doc.make \
24 $(srcdir)/m4/gtk-doc.m4 \
54 --enable-gtk-doc \
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c705 u8 gtk[32]; member
714 const u8 *_gtk = gd->gtk; in wpa_supplicant_install_gtk()
717 wpa_hexdump_key(MSG_DEBUG, "WPA: Group Key", gd->gtk, gd->gtk_len); in wpa_supplicant_install_gtk()
724 os_memcpy(gtk_buf, gd->gtk, 16); in wpa_supplicant_install_gtk()
725 os_memcpy(gtk_buf + 16, gd->gtk + 24, 8); in wpa_supplicant_install_gtk()
726 os_memcpy(gtk_buf + 24, gd->gtk + 16, 8); in wpa_supplicant_install_gtk()
805 const u8 *gtk, size_t gtk_len, in wpa_supplicant_pairwise_gtk() argument
821 gtk, gtk_len); in wpa_supplicant_pairwise_gtk()
823 if (gtk_len < 2 || gtk_len - 2 > sizeof(gd.gtk)) in wpa_supplicant_pairwise_gtk()
826 gd.keyidx = gtk[0] & 0x3; in wpa_supplicant_pairwise_gtk()
[all …]

1234